Skip to content

Commit 64367c1

Browse files
committed
Added cisco_ios_show_sdwan_omp_peers
1 parent f65f2c0 commit 64367c1

File tree

4 files changed

+59
-0
lines changed

4 files changed

+59
-0
lines changed
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Value TENANT (\d+)
2+
Value PEER (\S+)
3+
Value TYPE (\S+)
4+
Value DOMAIN_ID (\d+)
5+
Value OVERLAY_ID (\d+)
6+
Value SITE_ID (\d+)
7+
Value REGION_ID (\S+|None)
8+
Value STATE (\S+)
9+
Value UPTIME (\S+)
10+
Value ROUTES_RECEIVED (\d+)
11+
Value ROUTES_INSTALLED (\d+)
12+
Value ROUTES_SENT (\d+)
13+
14+
Start
15+
^R\s+->\s+routes\s+received
16+
^I\s+->\s+routes\s+installed
17+
^S\s+->\s+routes\s+sent
18+
^TENANT\s+DOMAIN\s+OVERLAY\s+SITE\s+REGION
19+
^ID\s+PEER\s+TYPE\s+ID\s+ID\s+ID\s+ID\s+STATE\s+UPTIME\s+R/I/S
20+
^\s*--+$$
21+
^\s*${TENANT}\s+${PEER}\s+${TYPE}\s+${DOMAIN_ID}\s+${OVERLAY_ID}\s+${SITE_ID}\s+${REGION_ID}\s+${STATE}\s+${UPTIME}\s+${ROUTES_RECEIVED}/${ROUTES_INSTALLED}/${ROUTES_SENT} -> Record
22+
^\s*$$
23+
^. -> Error

ntc_templates/templates/index

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -308,6 +308,7 @@ cisco_ios_show_ip_access-lists.textfsm, .*, cisco_ios, sh[[ow]] ip acce[[ss-list
308308
cisco_ios_show_ip_dhcp_binding.textfsm, .*, cisco_ios, sh[[ow]] ip dh[[cp]] b[[inding]]
309309
cisco_ios_show_mpls_interfaces.textfsm, .*, cisco_ios, sh[[ow]] mpls interfa[[ces]]
310310
cisco_ios_show_power_available.textfsm, .*, cisco_ios, sh[[ow]] pow[[er]] a[[vailable]]
311+
cisco_ios_show_sdwan_omp_peers.textfsm, .*, cisco_ios, sh[[ow]] sdw[[an]] om[[p]] pe[[ers]]
311312
cisco_ios_show_access-session.textfsm, .*, cisco_ios, show access-s[[ession]]
312313
cisco_ios_show_alert_counters.textfsm, .*, cisco_ios, sh[[ow]] alert [[counters]]
313314
cisco_ios_show_interface_link.textfsm, .*, cisco_ios, sh[[ow]] int[[erfaces]] li[[nk]]
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
R -> routes received
2+
I -> routes installed
3+
S -> routes sent
4+
5+
TENANT DOMAIN OVERLAY SITE REGION
6+
ID PEER TYPE ID ID ID ID STATE UPTIME R/I/S
7+
-----------------------------------------------------------------------------------------------------------------
8+
0 10.94.2.240 vsmart 1 1 142 None up 16:23:52:59 520/383/30
9+
0 10.94.3.240 vsmart 1 1 242 None up 16:23:52:59 520/0/30
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
parsed_sample:
3+
- domain_id: "1"
4+
overlay_id: "1"
5+
peer: "10.94.2.240"
6+
region_id: "None"
7+
routes_installed: "383"
8+
routes_received: "520"
9+
routes_sent: "30"
10+
site_id: "142"
11+
state: "up"
12+
tenant: "0"
13+
type: "vsmart"
14+
uptime: "16:23:52:59"
15+
- domain_id: "1"
16+
overlay_id: "1"
17+
peer: "10.94.3.240"
18+
region_id: "None"
19+
routes_installed: "0"
20+
routes_received: "520"
21+
routes_sent: "30"
22+
site_id: "242"
23+
state: "up"
24+
tenant: "0"
25+
type: "vsmart"
26+
uptime: "16:23:52:59"

0 commit comments

Comments
 (0)