forked from netenglabs/suzieq
-
Notifications
You must be signed in to change notification settings - Fork 0
/
evpnVni.yml
113 lines (102 loc) · 3.66 KB
/
evpnVni.yml
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
105
106
107
108
109
110
111
112
113
service: evpnVni
keys:
- vni
show-fields:
- vni
- vlan
- type
- remoteVtepList
- priVtepIp
- secVtepIp
apply:
cumulus:
version: all
command: sudo vtysh -c "show evpn vni detail json"
normalize: '*/[
"vni: vni",
"type: type",
"numMacs: numMacs?|0",
"numArpNd: numArpNd?|0",
"numRemoteVteps: remoteVtepList?|[]",
"l2Vnis: l2VniList?|[]",
"advertiseGatewayMacIp: advGateway?|False",
"vtepIp: priVtepIp?|",
"localVtepIp: priVtepIp?|priVtepIp",
"vniFilter: vniFilter?|",
"state: state?|up",
"vxlanInterface: ifname?|",
"routerMac: routerMac?|",
"mcastGroup: mcastGroup?|",
"vrf: vrf",
"vxlanIntf: ifname?|ifname",
]'
linux:
copy: cumulus
sonic:
copy: cumulus
junos-qfx:
version: all
command:
- command: show evpn instance extensive | display json
normalize: 'evpn-instance-information/[0]/evpn-instance/[
"evpn-instance-name/[0]/data: vni?|0",
"bridge-domain-status-table/[0]/bridge-domain/[*]/vlan-id/[0]/data: _vlanList",
"bridge-domain-status-table/[0]/bridge-domain/[*]/domain-id/[0]/data: _vniList",
"bridge-domain-status-table/[0]/bridge-domain/[*]/irb-interface/[0]/data: _irbList",
"irb-interface-status-table/[0]/irb-interface/[*]/irb-interface-name/[0]/data: _irbIfList",
"irb-interface-status-table/[0]/irb-interface/[*]/irb-interface-l3-context/[0]/data: _vrfList",
"bridge-domain-status-table/[0]/bridge-domain/[*]/irb-interface/[0]/data: _irbList",
"evpn-neighbor/[0]/evpn-neighbor-route-information/[*]/evpn-neighbor-address/[0]/data: remoteVtepList",
"_entryType: _entryType?|instance",
]'
- command: show evpn l3-context extensive | display json
normalize: 'evpn-l3-context-information/[0]/evpn-l3-context/*/[
"context-name/[0]/data: vrf",
"context-vni/[0]/data: vni?|0",
"context-source-vtep/[0]/vtep-address/[0]/data: priVtepIp?|",
"context-router-mac/[0]/data: routerMac",
"_entryType: _entryType?|l3",
]'
- command: show ethernet-switching vxlan-tunnel-end-point remote | display json
normalize: 'vxlan-source-vtep-information/[0]/svtep-format/*:source-vtep-address:priVtepIp|vxlan-remote-vtep-information/*/[
"remote-vtep-address/[0]/data: _floodVtepList",
"remote-vtep-mode: _mode",
"remote-vtep-interface-name/[0]/data: vni?|0",
"vxlan-dynamic-information/[0]/vxlan-format/[*]/vn-id/[0]/data: _vniList",
"vxlan-dynamic-information/[0]/vxlan-format/[*]/multicast-address/[0]/data: replicationType",
"_entryType: _entryType?|remote",
]'
junos-ex:
copy: junos-qfx
nxos:
version: all
command:
- command: show nve vni all detail | json
normalize: 'TABLE_nve_vni/ROW_nve_vni/*?/[
"if-name: ifname",
"vni: vni",
"type: type",
"vni-state: state",
"vlan-bd: vlan?|0",
"svi-state: _sviState",
"mcast: replicationType",
"_entryType: _entryType?|VNI",
]'
- command: show nve interface nve 1 | json
normalize: 'TABLE_nve_if/ROW_nve_if/*?/[
"primary-ip: priVtepIp",
"encap-type: encapType",
"source-if: vni",
"if-name: ifname",
"vpc-capability: _vpcCap?|",
"secondary-ip: secVtepIp?|",
"local-rmac: routerMac",
"_entryType: _entryType?|iface",
]'
- command: show nve peers detail | json
normalize: 'TABLE_nve_peers/ROW_nve_peers/*?/[
"peer-ip: vni",
"config-vnis: _configVnis",
"cp-vni: _vniList?|",
"_entryType: _entryType?|peers",
]'