Created
June 23, 2017 14:30
-
-
Save jeffbrl/72cc6c6e2f709e946c7550983949cd3c to your computer and use it in GitHub Desktop.
xpath expression for obtaining primary loopback address in junos
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//logical-interface[name='lo0.0']/address-family[address-family-name='inet']/interface-address[ifa-flags/ifaf-current-primary]/ifa-local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment