-
Notifications
You must be signed in to change notification settings - Fork 744
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add arista eos show ip mroute detail template #2009
Changes from 3 commits
e9badf1
c9a74f2
9350b72
5368057
d7c487b
239dabe
7fbc5db
cd57f4b
db5fade
6bf1507
90575f5
238db30
5a8e4fe
e44b48f
8eee804
e2e23c7
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
Value Filldown VRF (\S+) | ||
Value Filldown MULTICAST_GROUP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) | ||
Value Required RPF_SOURCE (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) | ||
Value RP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) | ||
Value UPTIME (\d+d\d+h|\d+:\d+:\d+) | ||
Value FLAGS (\S+) | ||
Value INCOMING_INTERFACE (\S+) | ||
Value UPSTREAM_JOINED_STATE (\S+) | ||
Value UPSTREAM_RPT_JOINED_STATE (\S+) | ||
Value List OUTGOING_INTERFACE_LIST (\S+) | ||
|
||
Start | ||
^VRF:${VRF} | ||
^PIM | ||
^RPF | ||
^\s+M\s- | ||
^Flags | ||
^\s{4}[RWIHZANTVF]\s- | ||
^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -> Continue.Record | ||
^${MULTICAST_GROUP} | ||
^\s+[RWIHZANTVF]\s- | ||
^(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -> Continue.Record | ||
^${MULTICAST_GROUP} | ||
^\s+(\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -> Continue.Record | ||
brandomando marked this conversation as resolved.
Show resolved
Hide resolved
|
||
^\s+${RPF_SOURCE},\s+${UPTIME},\s+(RP\s+${RP},\s+)?flags:\s+${FLAGS} | ||
^\s+Incoming\s+interface:\s+${INCOMING_INTERFACE} | ||
^\s+Outgoing\s+interface\s+list: | ||
^\s+${OUTGOING_INTERFACE_LIST}$$ | ||
^\s+Interfaces\s+not\s+in\s+OIL | ||
^\s+\S+ | ||
^\s+\S -> Continue | ||
^\s+Upstream\s+joined\s+state:\s+${UPSTREAM_JOINED_STATE} | ||
^\s+Upstream\s+RPT\s+joined\s+state:\s+${UPSTREAM_RPT_JOINED_STATE} -> Record | ||
^\s+State\s+summarization\s+macros: | ||
^\s+Could | ||
^\s+Register | ||
^\s+Join | ||
^\s+RPT\s+join\s+desired | ||
^\s+Prune | ||
^\s+No\s+interfaces\s+in\s+(inherited|immediate)\s+olist | ||
^.* -> Error | ||
|
||
EOF |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,129 @@ | ||
VRF:default | ||
PIM Bidirectional Mode Multicast Routing Table | ||
RPF route: U - From unicast routing table | ||
M - From multicast routing table | ||
PIM Sparse Mode Multicast Routing Table | ||
Flags: E - Entry forwarding on the RPT, J - Joining to the SPT | ||
R - RPT bit is set, S - SPT bit is set, L - Source is attached | ||
W - Wildcard entry, X - External component interest | ||
I - SG Include Join alert rcvd, P - Programmed in hardware | ||
H - Joining SPT due to policy, D - Joining SPT due to protocol | ||
Z - Entry marked for deletion, C - Learned from a DR via a register | ||
A - Learned via Anycast RP Router, M - Learned via MSDP | ||
N - May notify MSDP, K - Keepalive timer not running | ||
T - Switching Incoming Interface, B - Learned via Border Router | ||
V - Source is reachable via Evpn Tenant Domain | ||
F - Learned via MVPN | ||
RPF route: U - From unicast routing table | ||
M - From multicast routing table | ||
224.0.1.129 | ||
169.254.132.172, 118d18h, flags: PE | ||
Incoming interface: Null | ||
Upstream joined state: upNotJoined | ||
Upstream RPT joined state: upRptNotJoined | ||
State summarization macros: | ||
Could register (S,G): False | ||
Register stop (S,G): True | ||
Join desired (S,G): False | ||
Prune desired (S,G,Rpt): False | ||
No interfaces in immediate olist (S,G): True | ||
No interfaces in inherited olist (S,G): True | ||
224.0.23.192 | ||
0.0.0.0, 38d14h, RP 204.14.0.136, flags: W | ||
Incoming interface: Register | ||
Outgoing interface list: | ||
Ethernet2/1 | ||
Ethernet2/2 | ||
Upstream joined state: upJoined | ||
Upstream RPT joined state: upRptNotJoined | ||
State summarization macros: | ||
Join desired (*,G): True | ||
Join desired (*,*,RP): False | ||
RPT join desired (*,G): True | ||
No interfaces in immediate olist (*,G): False | ||
No interfaces in immediate olist (*,*,G): True | ||
192.26.98.17, 8:57:21, flags: PE | ||
Incoming interface: Register | ||
Outgoing interface list: | ||
Ethernet2/1 | ||
Upstream joined state: upNotJoined | ||
Upstream RPT joined state: upRptNotPruned | ||
State summarization macros: | ||
Could register (S,G): False | ||
Register stop (S,G): False | ||
Join desired (S,G): False | ||
Prune desired (S,G,Rpt): False | ||
No interfaces in immediate olist (S,G): True | ||
No interfaces in inherited olist (S,G): False | ||
224.0.23.190 | ||
0.0.0.0, 38d14h, RP 204.14.0.136, flags: W | ||
Incoming interface: Register | ||
Outgoing interface list: | ||
Ethernet0/1 | ||
Upstream joined state: upJoined | ||
Upstream RPT joined state: upRptNotJoined | ||
State summarization macros: | ||
Join desired (*,G): True | ||
Join desired (*,*,RP): False | ||
RPT join desired (*,G): True | ||
No interfaces in immediate olist (*,G): False | ||
No interfaces in immediate olist (*,*,G): True | ||
10.205.227.165, 38d14h, flags: SBNP | ||
Incoming interface: Ethernet32 | ||
Outgoing interface list: | ||
Ethernet2/1 | ||
Interfaces not in OIL: | ||
Ethernet0/1: Not DR, RPT Pruned | ||
Upstream joined state: upJoined | ||
Upstream RPT joined state: upRptNotPruned | ||
State summarization macros: | ||
Could register (S,G): True | ||
Register stop (S,G): True | ||
Join desired (S,G): True | ||
Prune desired (S,G,Rpt): False | ||
No interfaces in immediate olist (S,G): False | ||
No interfaces in inherited olist (S,G): False | ||
10.205.227.166, 18d7h, RP 204.14.0.136, flags: SBNP | ||
Incoming interface: Ethernet32 | ||
Outgoing interface list: | ||
Ethernet0/1 | ||
Ethernet2/1 | ||
Upstream joined state: upJoined | ||
Upstream RPT joined state: upRptNotPruned | ||
State summarization macros: | ||
Could register (S,G): True | ||
Register stop (S,G): True | ||
Join desired (S,G): True | ||
Prune desired (S,G,Rpt): False | ||
No interfaces in immediate olist (S,G): False | ||
No interfaces in inherited olist (S,G): False | ||
VRF:FOO | ||
PIM Bidirectional Mode Multicast Routing Table | ||
RPF route: U - From unicast routing table | ||
M - From multicast routing table | ||
PIM Sparse Mode Multicast Routing Table | ||
Flags: E - Entry forwarding on the RPT, J - Joining to the SPT | ||
R - RPT bit is set, S - SPT bit is set, L - Source is attached | ||
W - Wildcard entry, X - External component interest | ||
I - SG Include Join alert rcvd, P - Programmed in hardware | ||
H - Joining SPT due to policy, D - Joining SPT due to protocol | ||
Z - Entry marked for deletion, C - Learned from a DR via a register | ||
A - Learned via Anycast RP Router, M - Learned via MSDP | ||
N - May notify MSDP, K - Keepalive timer not running | ||
T - Switching Incoming Interface, B - Learned via Border Router | ||
V - Source is reachable via Evpn Tenant Domain | ||
F - Learned via MVPN | ||
RPF route: U - From unicast routing table | ||
M - From multicast routing table | ||
224.0.1.130 | ||
169.254.132.173, 1d18h, flags: PE | ||
Incoming interface: Null | ||
Upstream joined state: upNotJoined | ||
Upstream RPT joined state: upRptNotJoined | ||
State summarization macros: | ||
Could register (S,G): False | ||
Register stop (S,G): True | ||
Join desired (S,G): False | ||
Prune desired (S,G,Rpt): False | ||
No interfaces in immediate olist (S,G): True | ||
No interfaces in inherited olist (S,G): True |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If this YAML test data was regenerated with the helper scripts the keys would be in alphabetical order. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sorry... Friday afternoon, so I missed that one trying to get out the door ;-) |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
--- | ||
parsed_sample: | ||
- vrf: "default" | ||
multicast_group: "224.0.1.129" | ||
rpf_source: "169.254.132.172" | ||
rp: "" | ||
uptime: "118d18h" | ||
flags: "PE" | ||
incoming_interface: "Null" | ||
outgoing_interface_list: [] | ||
upstream_joined_state: "upNotJoined" | ||
upstream_rpt_joined_state: "upRptNotJoined" | ||
|
||
- vrf: "default" | ||
multicast_group: "224.0.23.192" | ||
rpf_source: "0.0.0.0" | ||
rp: "204.14.0.136" | ||
uptime: "38d14h" | ||
flags: "W" | ||
incoming_interface: "Register" | ||
upstream_joined_state: "upJoined" | ||
upstream_rpt_joined_state: "upRptNotJoined" | ||
outgoing_interface_list: | ||
- "Ethernet2/1" | ||
- "Ethernet2/2" | ||
|
||
- vrf: "default" | ||
multicast_group: "224.0.23.192" | ||
rpf_source: "192.26.98.17" | ||
rp: "" | ||
uptime: "8:57:21" | ||
flags: "PE" | ||
incoming_interface: "Register" | ||
outgoing_interface_list: | ||
- "Ethernet2/1" | ||
upstream_joined_state: "upNotJoined" | ||
upstream_rpt_joined_state: "upRptNotPruned" | ||
|
||
- vrf: "default" | ||
multicast_group: "224.0.23.190" | ||
rpf_source: "0.0.0.0" | ||
rp: "204.14.0.136" | ||
uptime: "38d14h" | ||
flags: "W" | ||
incoming_interface: "Register" | ||
outgoing_interface_list: | ||
- "Ethernet0/1" | ||
upstream_joined_state: "upJoined" | ||
upstream_rpt_joined_state: "upRptNotJoined" | ||
|
||
- vrf: "default" | ||
multicast_group: "224.0.23.190" | ||
rpf_source: "10.205.227.165" | ||
rp: "" | ||
uptime: "38d14h" | ||
flags: "SBNP" | ||
incoming_interface: "Ethernet32" | ||
outgoing_interface_list: | ||
- "Ethernet2/1" | ||
upstream_joined_state: "upJoined" | ||
upstream_rpt_joined_state: "upRptNotPruned" | ||
|
||
- vrf: "default" | ||
multicast_group: "224.0.23.190" | ||
rpf_source: "10.205.227.166" | ||
rp: "204.14.0.136" | ||
uptime: "18d7h" | ||
flags: "SBNP" | ||
incoming_interface: "Ethernet32" | ||
outgoing_interface_list: | ||
- "Ethernet0/1" | ||
- "Ethernet2/1" | ||
upstream_joined_state: "upJoined" | ||
upstream_rpt_joined_state: "upRptNotPruned" | ||
|
||
- vrf: "FOO" | ||
multicast_group: "224.0.1.130" | ||
rpf_source: "169.254.132.173" | ||
rp: "" | ||
uptime: "1d18h" | ||
flags: "PE" | ||
incoming_interface: "Null" | ||
outgoing_interface_list: [] | ||
upstream_joined_state: "upNotJoined" | ||
upstream_rpt_joined_state: "upRptNotJoined" |
This comment was marked as outdated.
Sorry, something went wrong.