-
Notifications
You must be signed in to change notification settings - Fork 13
/
hpe.yaml
32 lines (32 loc) · 997 Bytes
/
hpe.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
- search: sysname (?P<hostname>\S+)
- match: vlan (\d+)
parent: vlan
child:
- match: name (?P<name>\S+)
- match: arp detection enable
name: arp_inspect
value: true
- match: igmp-snooping enable
name: igmp_snooping
value: true
- match: interface (\S+)
parent: interface
child:
- match: description (?P<description>.*)
- match: ip address (?P<ipv4>[0-9.]+ [0-9.]+)
actionall: cidr
- match: port access vlan (?P<access_vlan>\d+)
- match: shutdown
name: shutdown
value: true
- match: port link-type (?P<mode>\S+)
- match: (?<!undo )port trunk permit vlan (?P<allowed_vlan>.*)
actionall: expand_h
- match: port trunk pvid vlan (?P<native_vlan>.*)
- match: voice vlan (?P<voice_vlan>.*) enable
- match: speed (?P<speed>.*)
- match: duplex (?P<duplex>\S+)
- match: stp edged-port (?P<stp_edge_port>enable)
- search: ip route-static (\S+ \S+) (?P<nexthop>\S+)
parent: route
action: cidr