[j-nsp] Commit script paths

Phil Shafer phil at juniper.net
Tue Apr 17 17:15:11 EDT 2007


Richard A Steenbergen writes:
>After much trial and error (lots of error) I found a way to fudge it by 
>doing "//policy-options", but strangely enough it doesn't work for just 
>"//", or "//groups/something/policy-options". Not sure if that is fully 
>supported, but I figure it's worth noting for the mailing list archives 
>incase someone else is trying the same thing I am. :)

//foo will get you every foo (including logical-routers,
routing-instances, groups, etc);  this may not be what you want.

Also groups are encoded as groups/group, so the xpath to get them is:

   groups/group[name == "something]/policy-options

Thanks,
 Phil


More information about the juniper-nsp mailing list