Skip to content

Instantly share code, notes, and snippets.

@ollyg
Last active August 22, 2022 08:03
Show Gist options
  • Save ollyg/0b29fd67c2294efd77fd5759983cee2d to your computer and use it in GitHub Desktop.
Save ollyg/0b29fd67c2294efd77fd5759983cee2d to your computer and use it in GitHub Desktop.
netdisco ignore interfaces revision
ignore_deviceports:
'group:__ANY__':
- 'port:EOBC'
- 'port:unrouted VLAN(?: \d+)?'
# etc...
'vendor:juniper':
- '128.0.0.0/2'
- 'port:.+\.1638[3456]'
- 'port:.+\.3276[789]'
# TODO make sure that deivce_port without device_ip gets empty ip column
host_groups:
'__LOOPBACK_NO_IP__':
- 'op:and'
- 'ip:'
- 'type:softwareLoopback'
hide_interfaces:
'vendor:juniper':
- 'port:.*\.0'
- 'group:__LOOPBACK_NO_IP__'
- 'port:irb(?:\.\d+)?'
- 'port:lsi(?:\.\d+)?'
- 'port:vtep(?:\.\d+)?'
- 'type:other'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment