forked from tdorssers/confparser
-
Notifications
You must be signed in to change notification settings - Fork 0
/
nxos.yaml
104 lines (104 loc) · 3.01 KB
/
nxos.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
- match: hostname (?P<hostname>\S+)
- match: (?:no )?feature lldp
name: lldp_run
action: bool
- match: ip domain name (?P<domain>\S+)
- match: ip name-server (?P<name_server>\S+)
- match: vrf context (\S+)
parent: vrf
child:
- match: description (?P<description>.*)
- match: ip route (\S+) (?P<nexthop>\S+)
parent: route
- match: rd (?P<rd>\S+)
- match: address-family (\S+)
child:
- match: route-target export (?P<export>\S+)
- match: route-target import (?P<import>\S+)
- match: vlan configuration (\S+)
parent: vlan_conf
action: expand
child:
match: (?:no )?ip igmp snooping
name: igmp_snoop
action: bool
- match: vlan ([0-9-,]+)
parent: vlan
action: expand
- match: vlan (\d+)$
parent: vlan
child:
match: name (?P<name>.*)
- match: (?:no )?cdp enable
name: cdp_run
action: bool
- match: interface (\S+)
parent: interface
child:
- match: description (?P<description>.*)
- match: (?:no )?switchport$
name: switchport
action: bool
- match: switchport mode (?P<mode>\S+)
- match: switchport trunk allowed vlan (?!add)(.*)
name: allowed_vlan
action: expand
- match: switchport trunk allowed vlan add (.*)
name: allowed_vlan
action: expand
- match: switchport trunk native vlan (?P<native_vlan>\d+)
- match: switchport access vlan (?P<access_vlan>\d+)
- match: channel-group (?P<id>\d+) mode (?P<mode>\S+)
parent: channel
- match: vpc (?P<vpc>\S+)
- match: fex associate (?P<fex>\d+)
- match: spanning-tree port type (?P<stp_port_type>.*)
- match: speed (?P<speed>\d+)
- match: duplex (?P<duplex>\S+)
- match: encapsulation dot1q (?P<dot1q>\d+)
- match: ip address (?P<ipv4>\S+)
- match: vrf member (?P<vrf>\S+)
- match: (?:no )?ip redirects
name: ipv4_redirects
action: bool
- match: hsrp (\d+)
name: hsrp
child:
- match: ip (?P<ipv4>\S+)
- match: priority (?P<priority>\d+)
- match: preempt$
- match: preempt delay minimum (?P<delay_min>\d+)
parent: preempt
- match: timers (?P<hello>\d+) (?P<dead>\d+)
parent: timers
- match: ip directed-broadcast ?(?P<ipv4_dir_bcast>.*)
- match: ip dhcp relay address (\S+)
action: list
name: ipv4_dhcp_relay
- match: ip pim (?P<ip_pim>.*-mode)
- match: mtu (?P<mtu>\d+)
- match: ip access-group (?P<ingress>\S+) in
parent: ipv4_acl
- match: ip access-group (?P<egress>\S+) out
parent: ipv4_acl
- match: (?:no )?shutdown
name: shutdown
action: bool
- match: (?:no )?cdp enable
name: cdp_enable
action: bool
- match: (?:no )?lldp transmit
name: lldp_tx
action: bool
- match: (?:no )?lldp receive
name: lldp_rx
action: bool
- match: ip router ospf (\S+) area (?P<area>\S+)
parent: ospf
- match: ip ospf network (?P<network>\S+)
parent: ospf
- match: ip ospf authentication (?P<auth>\S+)
- match: (?:no )?ip ospf passive-interface
name: passive
action: bool
parent: ospf