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
_______________________________________________
juniper-nsp mailing list [email protected]
https://puck.nether.net/mailman/listinfo/juniper-nsp

Reply via email to