Created
October 11, 2018 21:38
-
-
Save kecorbin/0c423bcca41a99ccdf20b1dafcd9fbdf to your computer and use it in GitHub Desktop.
Sample NSO Policies
This file contains 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
policy rule EnabledInterfacesRequireDescription | |
foreach /devices/device/config/nx:interface/Ethernet[not(shutdown)] | |
expr ./description | |
warning-message "Interface {./name} on {../../../name} needs description" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment