diff --git a/ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm b/ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm index fb88ec712f..a5eb7c88d7 100644 --- a/ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm +++ b/ntc_templates/templates/alcatel_sros_show_router_bgp_routes_vpn-ipv4.textfsm @@ -1,6 +1,7 @@ Value IN_OUT_USE (\*>i|u\*>i|\*i) Value RD (\d+\:\d+) -Value Required PREFIX (\d+\.\d+\.\d+\.\d+\/[1-9][0-9]?) +Value Required NETWORK (\d+(\.\d+){3}) +Value Required PREFIX_LENGTH (\d{1,2}) Value LOCAL_PREF (\d+) Value MED (None|d\+) Value NEXT_HOP (\d+\.\d+\.\d+\.\d+) @@ -12,6 +13,6 @@ Start ^----------- -> Prefix Prefix - ^${IN_OUT_USE}\s+${RD}\:${PREFIX}\s+${LOCAL_PREF}\s+${MED} + ^${IN_OUT_USE}\s+${RD}\:${NETWORK}\/${PREFIX_LENGTH}\s+${LOCAL_PREF}\s+${MED} ^\s+${NEXT_HOP}\s+${PATH_ID}\s+${LABEL} ^\s+${AS_PATH} -> Record diff --git a/ntc_templates/templates/arista_eos_show_ip_route.textfsm b/ntc_templates/templates/arista_eos_show_ip_route.textfsm index e6ab23922e..16150c910d 100644 --- a/ntc_templates/templates/arista_eos_show_ip_route.textfsm +++ b/ntc_templates/templates/arista_eos_show_ip_route.textfsm @@ -1,7 +1,7 @@ Value Filldown VRF (\S+) Value PROTOCOL (\S+\s\S+?|\w?) Value Required NETWORK (\d+\.\d+\.\d+\.\d+) -Value MASK (\d+) +Value PREFIX_LENGTH (\d+) Value DISTANCE (\d+) Value METRIC (\d+) Value DIRECT (directly) @@ -24,8 +24,8 @@ Start Routes ^\s+(\S+\s\S+?|\w?)\s+(\d+\.\d+\.\d+\.\d+)/(\d+)\s -> Continue.Record - ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+is\s+${DIRECT}\s+${NEXT_HOP},\s+${INTERFACE}$$ - ^\s+${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ + ^\s+${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+is\s+${DIRECT}\s+${NEXT_HOP},\s+${INTERFACE}$$ + ^\s+${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+(?:\[${DISTANCE}/${METRIC}\]|is\s+${DIRECT})(?:.+?)${NEXT_HOP},\s+${INTERFACE}$$ ^\s+via\s+${NEXT_HOP},\s+${INTERFACE} ^\s*$$ -> Record ^VRF(\s+name)?:\s+${VRF}\s*$$ -> Start diff --git a/ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm b/ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm index 80417f86c3..c60e4bae94 100644 --- a/ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm +++ b/ntc_templates/templates/checkpoint_gaia_show_ipv6_route.textfsm @@ -1,6 +1,6 @@ Value PROTOCOL (C|S|R|B|O|A|K|H|P|U|i) Value NETWORK ([0-9a-f:]*) -Value MASK (\d{1,3}) +Value PREFIX_LENGTH (\d{1,3}) Value NEXTHOPIP ([0-9a-f:]*) Value INTERFACE (\S+) Value COMMENT (\S.*) @@ -9,8 +9,8 @@ Value COMMENT (\S.*) Start ^\S\s -> Continue.Record # Match regular routes - ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+via\s${NEXTHOPIP},\s${INTERFACE}, + ^${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+via\s${NEXTHOPIP},\s${INTERFACE}, # Match directly connected routes - ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+is directly connected,\s${INTERFACE} + ^${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+is directly connected,\s${INTERFACE} # Match optional comment, ignore trailing whitespace ^\s{39}${COMMENT}\s*$$ diff --git a/ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm b/ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm index b04ddeb10c..696caf9c9d 100644 --- a/ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm +++ b/ntc_templates/templates/cisco_asa_show_running-config_object_network.textfsm @@ -4,7 +4,7 @@ Value TYPE ([hostubnerag]+) Value HOST (\S+) Value NETWORK (\S+) Value NETMASK (\S+) -Value CIDR (\/\d+) +Value PREFIX_LENGTH (\d+) Value START_IP (\S+) Value END_IP (\S+) @@ -15,7 +15,7 @@ Start ^\s+description\s+${DESCRIPTION}\s* ^\s+${TYPE} -> Continue ^\s+subnet\s+${NETWORK}\s+${NETMASK}\s* - ^\s+subnet\s+${NETWORK}${CIDR}\s* + ^\s+subnet\s+${NETWORK}\/${PREFIX_LENGTH}\s* ^\s+range\s+${START_IP}\s+${END_IP}\s* ^\s+host\s+${HOST}\s* ^. -> Error diff --git a/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm b/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm index 5be18c7b0a..077fbd1ed9 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_eigrp_topology.textfsm @@ -2,7 +2,7 @@ Value Filldown PROCESS_ID (\d+) Value Filldown ROUTER_ID (\d+\.\d+\.\d+\.\d+) Value Required CODE (\S+) Value ROUTE (\d+\.\d+\.\d+\.\d+) -Value MASK (\d+) +Value PREFIX_LENGTH (\d+) Value SUCCESSORS (\d+) Value FD (\d+|Inaccessible) Value TAG (\d+) @@ -20,9 +20,9 @@ Start # Skips over the definitions for the codes ^\s*\S\s-\s\S+ # Matches a route and captures if ${TAG} is use for the route and then moves to Gateway section - ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} -> Gateway + ^${CODE}\s+${ROUTE}/${PREFIX_LENGTH},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} -> Gateway # Matches a route and captures it and then moves to Gateway section - ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD} -> Gateway + ^${CODE}\s+${ROUTE}/${PREFIX_LENGTH},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD} -> Gateway # If it doesn't match anything above, this just acknowledges a new line ^\s*$$ # This will throw an error if there are no matches @@ -38,8 +38,8 @@ Gateway # This will not capture anything but if it encounters another route, it will continue and record what it already captured ^\S+\s+(?:\d+(?:\.|)){4}/\d+,\s+\d+\s+successors -> Continue.Record # These are the same as above and capture the next set of routes - ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} - ^${CODE}\s+${ROUTE}/${MASK},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD} + ^${CODE}\s+${ROUTE}/${PREFIX_LENGTH},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD},\s+tag\s+is\s+${TAG} + ^${CODE}\s+${ROUTE}/${PREFIX_LENGTH},\s+${SUCCESSORS}\s+successors,\s+FD\s+is\s+${FD} # If it encounters another AS/Router ID it will continue and record what it just captured ^.+AS\(\d+\)/ID -> Continue.Record # If it encounters it again, it will continue, but clear all captured data other than Filldown Values diff --git a/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm b/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm index b1e447a275..82497dfac5 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_interface.textfsm @@ -2,7 +2,7 @@ Value Required INTERFACE (\S+) Value LINK_STATUS (.+?) Value PROTOCOL_STATUS (.+?) Value List IPADDR (\S+?) -Value List MASK (\d*) +Value List PREFIX_LENGTH (\d*) Value VRF (\S+) Value MTU (\d+) Value List IP_HELPER (\d+\.\d+\.\d+\.\d+) @@ -13,9 +13,9 @@ Value INBOUND_ACL (.*?) Start ^\S -> Continue.Record ^${INTERFACE}\s+is\s+${LINK_STATUS},\s+line\s+protocol\s+is\s+${PROTOCOL_STATUS}\s*$$ - ^\s+Internet\s+address\s+is\s+${IPADDR}/?${MASK}\s*$$ + ^\s+Internet\s+address\s+is\s+${IPADDR}/?${PREFIX_LENGTH}\s*$$ ^\s+Internet\s+address\s+will\s+be\s+negotiated - ^\s+Secondary\s+address\s+${IPADDR}/?${MASK}\s*$$ + ^\s+Secondary\s+address\s+${IPADDR}/?${PREFIX_LENGTH}\s*$$ ^.+VPN\s+Routing/Forwarding\s+"${VRF}" ^\s+MTU\s+is\s+${MTU}\s+bytes ^\s+Helper\s+address(es|)\s(is|are)\s+${IP_HELPER}\s*$$ -> HELPERS diff --git a/ntc_templates/templates/cisco_ios_show_ip_route.textfsm b/ntc_templates/templates/cisco_ios_show_ip_route.textfsm index 14ddfd7d2f..fbcf4760d8 100644 --- a/ntc_templates/templates/cisco_ios_show_ip_route.textfsm +++ b/ntc_templates/templates/cisco_ios_show_ip_route.textfsm @@ -2,7 +2,7 @@ Value Filldown VRF (\S+) Value Filldown PROTOCOL (\w) Value Filldown TYPE (\w{0,2}) Value Required,Filldown NETWORK (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) -Value Filldown MASK (\d{1,2}) +Value Filldown PREFIX_LENGTH (\d{1,2}) Value DISTANCE (\d+) Value METRIC (\d+) Value NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) @@ -20,28 +20,28 @@ Start Routes ^\s*$$ # For "is (variably )subnetted" line, capture mask, clear all values. - ^\s+\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\/${MASK}\sis -> Clear + ^\s+\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}\/${PREFIX_LENGTH}\sis -> Clear # # Match directly connected route with explicit mask - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\sis\sdirectly\sconnected(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${PREFIX_LENGTH}\sis\sdirectly\sconnected(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record # # Match directly connected route (mask is inherited from "is subnetted") ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\sis\sdirectly\sconnected,\s${NEXTHOP_IF} -> Record # # Match regular routes, with mask, where all data in same line - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}(\s\(${NEXTHOP_VRF}\))?(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${PREFIX_LENGTH}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}(\s\(${NEXTHOP_VRF}\))?(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record # # Match regular route, all one line, where mask is learned from "is subnetted" line ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\s\[${DISTANCE}\/${METRIC}\]\svia\s${NEXTHOP_IP}(,\s${UPTIME})?(,\s${NEXTHOP_IF})? -> Record # # Match route with no via statement (Null via protocol) - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\s\[${DISTANCE}/${METRIC}\],\s${UPTIME},\s${NEXTHOP_IF} -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${PREFIX_LENGTH}\s\[${DISTANCE}/${METRIC}\],\s${UPTIME},\s${NEXTHOP_IF} -> Record # # Match "is a summary" routes (often Null0) - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK}\sis\sa\ssummary,\s${UPTIME},\s${NEXTHOP_IF} -> Record + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${PREFIX_LENGTH}\sis\sa\ssummary,\s${UPTIME},\s${NEXTHOP_IF} -> Record # # Match regular routes where the network/mask is on the line above the rest of the route - ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${MASK} -> Next + ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK}\/${PREFIX_LENGTH} -> Next # # Match regular routes where the network only (mask from subnetted line) is on the line above the rest of the route ^${PROTOCOL}(\s|\*)${TYPE}\s+${NETWORK} -> Next diff --git a/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm b/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm index 4d768c25c1..0bdd7a40f2 100644 --- a/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm +++ b/ntc_templates/templates/cisco_nxos_show_ip_route.textfsm @@ -2,7 +2,7 @@ Value Filldown VRF (\S+) Value PROTOCOL ([\w-]+) Value TYPE ([\w-]+) Value Filldown NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) -Value Filldown MASK (\d{1,2}) +Value Filldown PREFIX_LENGTH (\d{1,2}) Value DISTANCE (\d+) Value METRIC (\d+) Value NEXTHOP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}) @@ -17,7 +17,7 @@ Value ENCAP (\w+) Start ^IP\s+Route\s+Table\s+for\s+VRF\s+"${VRF}"\s*$$ # Match the Network/Prefix Line - ^\s*${NETWORK}\/${MASK}, ubest/mbest: + ^\s*${NETWORK}\/${PREFIX_LENGTH}, ubest/mbest: # # Match empty vrf ^\s*Route not found -> Record diff --git a/ntc_templates/templates/cisco_xr_show_ip_route.textfsm b/ntc_templates/templates/cisco_xr_show_ip_route.textfsm index 2dea94a093..904d68367c 100644 --- a/ntc_templates/templates/cisco_xr_show_ip_route.textfsm +++ b/ntc_templates/templates/cisco_xr_show_ip_route.textfsm @@ -1,7 +1,7 @@ Value Filldown VRF (\S+) Value Filldown PROTOCOL (\S+|\S+\s\S+) Value Filldown NETWORK (\d+\.\d+\.\d+\.\d+) -Value Filldown MASK (\d+) +Value Filldown PREFIX_LENGTH (\d+) Value DISTANCE (\d+|is) Value METRIC (\d+) Value TYPE (directly|via) @@ -15,10 +15,10 @@ Start ^Codes: ^\s+(\S+\s+-\s+.+[,]*)+ ^Gateway\s+of\s+last\s+resort - ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record + ^${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record ^\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME},\s+${INTERFACE} -> Record - ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record - ^${PROTOCOL}\s+${NETWORK}/${MASK}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP}\s+\(nexthop\sin\s${INTERFACE}\),\s+${UPTIME} -> Record + ^${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record + ^${PROTOCOL}\s+${NETWORK}/${PREFIX_LENGTH}\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP}\s+\(nexthop\sin\s${INTERFACE}\),\s+${UPTIME} -> Record ^\s+(?:\[${DISTANCE}/${METRIC}\]|is)\s+${TYPE}\s+${NEXT_HOP},\s+${UPTIME} -> Record ^\s*$$ ^\S+\s+\S+\s+\d+\s+\d+:\d+:\d+ diff --git a/ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm b/ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm index b648cbcb57..6225d66484 100644 --- a/ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm +++ b/ntc_templates/templates/hp_comware_display_ip_routing-table.textfsm @@ -1,5 +1,5 @@ Value Filldown NETWORK (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) -Value Filldown MASK (\d{1,2}) +Value Filldown PREFIX_LENGTH (\d{1,2}) Value Filldown PROTOCAL (\w+) Value Filldown DISTANCE (\d{1,3}) Value Filldown METRIC (\d+) @@ -10,7 +10,7 @@ Start ^Destination\/Mask -> Routes Routes - ^${NETWORK}\/${MASK}\s+${PROTOCAL}\s+${DISTANCE}\s+${METRIC}\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record + ^${NETWORK}\/${PREFIX_LENGTH}\s+${PROTOCAL}\s+${DISTANCE}\s+${METRIC}\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record # for comware v7 ecmp ^\s+${NEXTHOP_IP}\s+${NEXTHOP_IF} -> Record # for comware v5 ecmp diff --git a/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm b/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm index e69031d7bf..22f5e7c7c7 100644 --- a/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm +++ b/ntc_templates/templates/ubiquiti_edgerouter_show_ip_route.textfsm @@ -1,6 +1,6 @@ Value CODE (\w{1,2}) Value IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) -Value CIDR (\d{1,2}) +Value PREFIX_LENGTH (\d{1,2}) Value DISTANCE (\d+) Value METRIC (\d+) Value NEXTHOP_IP (\d{1,3}.\d{1,3}.\d{1,3}.\d{1,3}) @@ -10,8 +10,8 @@ Start ^.*IP\sRoute\sTable -> IP IP - ^${CODE}\s+\*>\s${IP}/${CIDR}\sis\sdirectly\sconnected,\s${INTERFACE}\s* -> Record - ^${CODE}\s+\*>\s${IP}/${CIDR}\sis\sdirectly\sconnected\s* -> Record - ^${CODE}\s+\*>\s${IP}/${CIDR}\s\[${DISTANCE}/${METRIC}\]\sis\sdirectly\sconnected,\s${INTERFACE}\s* -> Record - ^${CODE}\s+\*>\s${IP}/${CIDR}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}\s\(recursive is directly connected,\s${INTERFACE}\)\s* -> Record + ^${CODE}\s+\*>\s${IP}\/${PREFIX_LENGTH}\sis\sdirectly\sconnected,\s${INTERFACE}\s* -> Record + ^${CODE}\s+\*>\s${IP}\/${PREFIX_LENGTH}\sis\sdirectly\sconnected\s* -> Record + ^${CODE}\s+\*>\s${IP}\/${PREFIX_LENGTH}\s\[${DISTANCE}/${METRIC}\]\sis\sdirectly\sconnected,\s${INTERFACE}\s* -> Record + ^${CODE}\s+\*>\s${IP}\/${PREFIX_LENGTH}\s\[${DISTANCE}/${METRIC}\]\svia\s${NEXTHOP_IP}\s\(recursive is directly connected,\s${INTERFACE}\)\s* -> Record ^. -> Error diff --git a/ntc_templates/templates/yamaha_show_ip_route.textfsm b/ntc_templates/templates/yamaha_show_ip_route.textfsm index 6b8fa26776..61e4c543b8 100644 --- a/ntc_templates/templates/yamaha_show_ip_route.textfsm +++ b/ntc_templates/templates/yamaha_show_ip_route.textfsm @@ -1,6 +1,6 @@ # You need to set "console character ascci". Value NETWORK (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|default) -Value MASK (\d{1,2}) +Value PREFIX_LENGTH (\d{1,2}) Value NEXTHOP_IP (\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|-) Value NEXTHOP_IF (\S+) Value PROTOCOL (\S+) @@ -10,7 +10,7 @@ Start ^Destination\s+Gateway\s+Interface\s+Kind\s+Additional\s+Info -> Routes Routes - ^${NETWORK}(/${MASK})?\s+${NEXTHOP_IP}\s+${NEXTHOP_IF}\s+${PROTOCOL}\s+${ADDITIONAL_INFO} -> Record + ^${NETWORK}(/${PREFIX_LENGTH})?\s+${NEXTHOP_IP}\s+${NEXTHOP_IF}\s+${PROTOCOL}\s+${ADDITIONAL_INFO} -> Record ^\s*$$ ^. -> Error diff --git a/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml b/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml index a9a4dcbf8c..9416c4df5b 100644 --- a/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml +++ b/tests/alcatel_sros/show_router_bgp_routes_vpn-ipv4/alcatel_sros_show_router_bgp_routes_vpn-ipv4.yml @@ -1,20 +1,22 @@ --- parsed_sample: - - med: "None" - as_path: "No As-Path" - label: "262132" - rd: "65500:11" - path_id: "None" - prefix: "192.0.2.4/32" - next_hop: "10.11.5.5" + - as_path: "No As-Path" in_out_use: "*>i" - local_pref: "100" - - med: "None" - as_path: "No As-Path" label: "262132" - rd: "65500:11" + local_pref: "100" + med: "None" + network: "192.0.2.4" + next_hop: "10.11.5.5" path_id: "None" - prefix: "192.0.2.14/32" - next_hop: "192.0.2.2" + prefix_length: "32" + rd: "65500:11" + - as_path: "No As-Path" in_out_use: "u*>i" + label: "262132" local_pref: "100" + med: "None" + network: "192.0.2.14" + next_hop: "192.0.2.2" + path_id: "None" + prefix_length: "32" + rd: "65500:11" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml index 1f16c3a825..09cf0a9449 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route.yml @@ -1,211 +1,211 @@ --- parsed_sample: - - vrf: "" - protocol: "B E" - network: "10.1.31.100" - mask: "32" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.100" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.1.31.101" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.101" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" - protocol: "C" - network: "10.1.31.102" - mask: "32" + prefix_length: "32" + protocol: "B E" + vrf: "" + - direct: "directly" distance: "" + interface: + - "Loopback100" metric: "" - direct: "directly" + network: "10.1.31.102" next_hop: - "connected" - interface: - - "Loopback100" - - vrf: "" + prefix_length: "32" protocol: "C" - network: "10.1.31.200" - mask: "32" + vrf: "" + - direct: "directly" distance: "" + interface: + - "Loopback10" metric: "" - direct: "directly" + network: "10.1.31.200" next_hop: - "connected" - interface: - - "Loopback10" - - vrf: "" - protocol: "B E" - network: "10.1.31.254" - mask: "32" + prefix_length: "32" + protocol: "C" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.254" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" - protocol: "C" - network: "10.63.255.8" - mask: "30" + prefix_length: "32" + protocol: "B E" + vrf: "" + - direct: "directly" distance: "" + interface: + - "Ethernet20" metric: "" - direct: "directly" + network: "10.63.255.8" next_hop: - "connected" - interface: - - "Ethernet20" - - vrf: "" - protocol: "B E" - network: "10.100.22.52" - mask: "30" + prefix_length: "30" + protocol: "C" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.22.52" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "30" protocol: "B E" - network: "10.100.22.56" - mask: "30" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.22.56" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "30" protocol: "B E" - network: "10.100.233.11" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.11" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.12" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.12" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.15" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.15" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" - protocol: "C" - network: "10.100.233.32" - mask: "32" + prefix_length: "32" + protocol: "B E" + vrf: "" + - direct: "directly" distance: "" + interface: + - "Loopback0" metric: "" - direct: "directly" + network: "10.100.233.32" next_hop: - "connected" - interface: - - "Loopback0" - - vrf: "" - protocol: "B E" - network: "10.100.233.34" - mask: "32" + prefix_length: "32" + protocol: "C" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet21" metric: "0" - direct: "" + network: "10.100.233.34" next_hop: - "192.168.38.5" - interface: - - "Ethernet21" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.50" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.50" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.64" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.64" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.66" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.66" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.67" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.67" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.68" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.68" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "" + prefix_length: "32" protocol: "B E" - network: "10.100.233.192" - mask: "32" + vrf: "" + - direct: "" distance: "200" + interface: + - "Ethernet20" metric: "0" - direct: "" + network: "10.100.233.192" next_hop: - "10.63.255.10" - interface: - - "Ethernet20" + prefix_length: "32" + protocol: "B E" + vrf: "" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml index 79e72a7c3b..c3ec02e980 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route2.yml @@ -1,15 +1,15 @@ --- parsed_sample: - - vrf: "default" - protocol: "B I" - network: "74.119.147.148" - mask: "32" + - direct: "" distance: "200" + interface: + - "Vlan70" + - "Vlan71" metric: "0" - direct: "" + network: "74.119.147.148" next_hop: - "199.229.255.31" - "199.229.255.35" - interface: - - "Vlan70" - - "Vlan71" + prefix_length: "32" + protocol: "B I" + vrf: "default" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml index 68681f2ad6..da433cf3fa 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route3.yml @@ -1,26 +1,26 @@ --- parsed_sample: - - vrf: "default" - protocol: "O E1" - network: "0.0.0.0" - mask: "0" + - direct: "" distance: "110" + interface: + - "Vlan55" + - "Vlan65" metric: "21" - direct: "" + network: "0.0.0.0" next_hop: - "172.83.43.48" - "172.83.43.50" - interface: - - "Vlan55" - - "Vlan65" - - vrf: "default" - protocol: "S" - network: "10.1.26.0" - mask: "24" + prefix_length: "0" + protocol: "O E1" + vrf: "default" + - direct: "" distance: "1" + interface: + - "Vlan2503" metric: "0" - direct: "" + network: "10.1.26.0" next_hop: - "142.54.229.92" - interface: - - "Vlan2503" + prefix_length: "24" + protocol: "S" + vrf: "default" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml index 7fc1c93a0a..e7bb3fc47b 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route4.yml @@ -1,80 +1,80 @@ --- parsed_sample: - - vrf: "default" - protocol: "C" - network: "162.220.49.0" - mask: "26" + - direct: "directly" distance: "" + interface: + - "Vlan105" metric: "" - direct: "directly" + network: "162.220.49.0" next_hop: - "connected" - interface: - - "Vlan105" - - vrf: "default" + prefix_length: "26" protocol: "C" - network: "162.220.49.64" - mask: "26" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Vlan104" metric: "" - direct: "directly" + network: "162.220.49.64" next_hop: - "connected" - interface: - - "Vlan104" - - vrf: "default" + prefix_length: "26" protocol: "C" - network: "162.220.49.128" - mask: "31" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" metric: "" - direct: "directly" + network: "162.220.49.128" next_hop: - "connected" - interface: - - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" - - vrf: "default" - protocol: "B I" - network: "162.220.49.130" - mask: "31" + prefix_length: "31" + protocol: "C" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Vlan50" metric: "0" - direct: "" + network: "162.220.49.130" next_hop: - "199.229.255.1" - interface: - - "Vlan50" - - vrf: "default" + prefix_length: "31" protocol: "B I" - network: "162.220.49.132" - mask: "31" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Vlan50" metric: "0" - direct: "" + network: "162.220.49.132" next_hop: - "199.229.255.1" - interface: - - "Vlan50" - - vrf: "default" - protocol: "C" - network: "162.220.49.134" - mask: "31" + prefix_length: "31" + protocol: "B I" + vrf: "default" + - direct: "directly" distance: "" - metric: "" - direct: "directly" - next_hop: - - "connected" interface: - "Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src\ \ 216.201.90.212" - - vrf: "default" - protocol: "S" - network: "162.220.49.0" - mask: "24" - distance: "" metric: "" - direct: "directly" + network: "162.220.49.134" next_hop: - "connected" + prefix_length: "31" + protocol: "C" + vrf: "default" + - direct: "directly" + distance: "" interface: - "Null0" + metric: "" + network: "162.220.49.0" + next_hop: + - "connected" + prefix_length: "24" + protocol: "S" + vrf: "default" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml index 7fc1c93a0a..e7bb3fc47b 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route5.yml @@ -1,80 +1,80 @@ --- parsed_sample: - - vrf: "default" - protocol: "C" - network: "162.220.49.0" - mask: "26" + - direct: "directly" distance: "" + interface: + - "Vlan105" metric: "" - direct: "directly" + network: "162.220.49.0" next_hop: - "connected" - interface: - - "Vlan105" - - vrf: "default" + prefix_length: "26" protocol: "C" - network: "162.220.49.64" - mask: "26" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Vlan104" metric: "" - direct: "directly" + network: "162.220.49.64" next_hop: - "connected" - interface: - - "Vlan104" - - vrf: "default" + prefix_length: "26" protocol: "C" - network: "162.220.49.128" - mask: "31" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" metric: "" - direct: "directly" + network: "162.220.49.128" next_hop: - "connected" - interface: - - "Tunnel11, Static Interface GRE tunnel index 11, dst 184.170.244.12, src 216.201.90.212" - - vrf: "default" - protocol: "B I" - network: "162.220.49.130" - mask: "31" + prefix_length: "31" + protocol: "C" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Vlan50" metric: "0" - direct: "" + network: "162.220.49.130" next_hop: - "199.229.255.1" - interface: - - "Vlan50" - - vrf: "default" + prefix_length: "31" protocol: "B I" - network: "162.220.49.132" - mask: "31" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Vlan50" metric: "0" - direct: "" + network: "162.220.49.132" next_hop: - "199.229.255.1" - interface: - - "Vlan50" - - vrf: "default" - protocol: "C" - network: "162.220.49.134" - mask: "31" + prefix_length: "31" + protocol: "B I" + vrf: "default" + - direct: "directly" distance: "" - metric: "" - direct: "directly" - next_hop: - - "connected" interface: - "Tunnel12, Static Interface GRE tunnel index 12, dst 104.200.133.181, src\ \ 216.201.90.212" - - vrf: "default" - protocol: "S" - network: "162.220.49.0" - mask: "24" - distance: "" metric: "" - direct: "directly" + network: "162.220.49.134" next_hop: - "connected" + prefix_length: "31" + protocol: "C" + vrf: "default" + - direct: "directly" + distance: "" interface: - "Null0" + metric: "" + network: "162.220.49.0" + next_hop: + - "connected" + prefix_length: "24" + protocol: "S" + vrf: "default" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml index 0fc3bac286..cdc9a08dba 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route6.yml @@ -4,21 +4,21 @@ parsed_sample: distance: "1" interface: - "Management0" - mask: "0" metric: "0" network: "0.0.0.0" next_hop: - "172.20.20.1" + prefix_length: "0" protocol: "S" vrf: "MGMT" - direct: "directly" distance: "" interface: - "Management0" - mask: "24" metric: "" network: "172.20.20.0" next_hop: - "connected" + prefix_length: "24" protocol: "C" vrf: "MGMT" diff --git a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml index c7458bf9ce..c43093909a 100644 --- a/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml +++ b/tests/arista_eos/show_ip_route/arista_eos_show_ip_route_vrf.yml @@ -1,420 +1,420 @@ --- parsed_sample: - - vrf: "default" - protocol: "B E" - network: "10.1.31.100" - mask: "32" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.100" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.1.31.101" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.101" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" - protocol: "C" - network: "10.1.31.102" - mask: "32" + prefix_length: "32" + protocol: "B E" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Loopback100" metric: "" - direct: "directly" + network: "10.1.31.102" next_hop: - "connected" - interface: - - "Loopback100" - - vrf: "default" + prefix_length: "32" protocol: "C" - network: "10.1.31.200" - mask: "32" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Loopback10" metric: "" - direct: "directly" + network: "10.1.31.200" next_hop: - "connected" - interface: - - "Loopback10" - - vrf: "default" - protocol: "B E" - network: "10.1.31.254" - mask: "32" + prefix_length: "32" + protocol: "C" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.254" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" - protocol: "C" - network: "10.63.255.8" - mask: "30" + prefix_length: "32" + protocol: "B E" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Ethernet20" metric: "" - direct: "directly" + network: "10.63.255.8" next_hop: - "connected" - interface: - - "Ethernet20" - - vrf: "default" - protocol: "B E" - network: "10.100.22.52" - mask: "30" + prefix_length: "30" + protocol: "C" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.22.52" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "30" protocol: "B E" - network: "10.100.22.56" - mask: "30" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.22.56" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "30" protocol: "B E" - network: "10.100.233.11" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.11" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.12" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.12" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.15" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.15" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" - protocol: "C" - network: "10.100.233.32" - mask: "32" + prefix_length: "32" + protocol: "B E" + vrf: "default" + - direct: "directly" distance: "" + interface: + - "Loopback0" metric: "" - direct: "directly" + network: "10.100.233.32" next_hop: - "connected" - interface: - - "Loopback0" - - vrf: "default" - protocol: "B E" - network: "10.100.233.34" - mask: "32" + prefix_length: "32" + protocol: "C" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet21" metric: "0" - direct: "" + network: "10.100.233.34" next_hop: - "192.168.38.5" - interface: - - "Ethernet21" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.50" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.50" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.64" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.64" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.66" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.66" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.67" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.67" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.68" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.68" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "default" + prefix_length: "32" protocol: "B E" - network: "10.100.233.192" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet20" metric: "0" - direct: "" + network: "10.100.233.192" next_hop: - "10.63.255.10" - interface: - - "Ethernet20" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.1.31.100" - mask: "32" + vrf: "default" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.100" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.1.31.101" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.101" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" - protocol: "C" - network: "10.1.31.102" - mask: "32" + prefix_length: "32" + protocol: "B E" + vrf: "RED" + - direct: "directly" distance: "" + interface: + - "Loopback100" metric: "" - direct: "directly" + network: "10.1.31.102" next_hop: - "connected" - interface: - - "Loopback100" - - vrf: "RED" + prefix_length: "32" protocol: "C" - network: "10.1.31.200" - mask: "32" + vrf: "RED" + - direct: "directly" distance: "" + interface: + - "Loopback10" metric: "" - direct: "directly" + network: "10.1.31.200" next_hop: - "connected" - interface: - - "Loopback10" - - vrf: "RED" - protocol: "B E" - network: "10.1.31.254" - mask: "32" + prefix_length: "32" + protocol: "C" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.1.31.254" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" - protocol: "C" - network: "10.63.255.8" - mask: "30" + prefix_length: "32" + protocol: "B E" + vrf: "RED" + - direct: "directly" distance: "" + interface: + - "Ethernet20" metric: "" - direct: "directly" + network: "10.63.255.8" next_hop: - "connected" - interface: - - "Ethernet20" - - vrf: "RED" - protocol: "B E" - network: "10.100.22.52" - mask: "30" + prefix_length: "30" + protocol: "C" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.22.52" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "30" protocol: "B E" - network: "10.100.22.56" - mask: "30" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.22.56" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "30" protocol: "B E" - network: "10.100.233.11" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.11" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.12" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.12" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.15" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.15" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" - protocol: "C" - network: "10.100.233.32" - mask: "32" + prefix_length: "32" + protocol: "B E" + vrf: "RED" + - direct: "directly" distance: "" + interface: + - "Loopback0" metric: "" - direct: "directly" + network: "10.100.233.32" next_hop: - "connected" - interface: - - "Loopback0" - - vrf: "RED" - protocol: "B E" - network: "10.100.233.34" - mask: "32" + prefix_length: "32" + protocol: "C" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet21" metric: "0" - direct: "" + network: "10.100.233.34" next_hop: - "192.168.38.5" - interface: - - "Ethernet21" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.50" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.50" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.64" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.64" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.66" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.66" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.67" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.67" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.68" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet18" metric: "0" - direct: "" + network: "10.100.233.68" next_hop: - "192.168.17.5" - interface: - - "Ethernet18" - - vrf: "RED" + prefix_length: "32" protocol: "B E" - network: "10.100.233.192" - mask: "32" + vrf: "RED" + - direct: "" distance: "200" + interface: + - "Ethernet20" metric: "0" - direct: "" + network: "10.100.233.192" next_hop: - "10.63.255.10" - interface: - - "Ethernet20" + prefix_length: "32" + protocol: "B E" + vrf: "RED" diff --git a/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml index 63711dfb33..41bc14412a 100644 --- a/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml +++ b/tests/checkpoint_gaia/show_ipv6_route/checkpoint_gaia_show_ipv6_route.yml @@ -1,20 +1,20 @@ --- parsed_sample: - - protocol: "C" + - comment: "" + interface: "lo" network: "::1" - mask: "128" nexthopip: "" - interface: "lo" - comment: "" - - protocol: "C" + prefix_length: "128" + protocol: "C" + - comment: "Comment-Network-1" + interface: "eth1-02.100" network: "2001:db8:a::" nexthopip: "" - mask: "64" - interface: "eth1-02.100" - comment: "Comment-Network-1" - - protocol: "S" + prefix_length: "64" + protocol: "C" + - comment: "Comment-static-Route-1" + interface: "eth1-01.100" network: "2001:db8:b::" - mask: "64" nexthopip: "fe80::aaa:65:111" - interface: "eth1-01.100" - comment: "Comment-static-Route-1" + prefix_length: "64" + protocol: "S" diff --git a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml index 763c8cebf6..f96f3cdcb6 100644 --- a/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml +++ b/tests/cisco_asa/show_running-config_object_network/cisco_asa_show_running-config_object_network.yml @@ -1,119 +1,119 @@ --- parsed_sample: - - cidr: "" - description: "" + - description: "" end_ip: "" host: "" name: "corp" netmask: "255.0.0.0" network: "10.0.0.0" + prefix_length: "" start_ip: "" type: "subnet" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "" name: "internal" netmask: "255.255.255.0" network: "192.168.0.0" + prefix_length: "" start_ip: "" type: "subnet" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "" name: "any" netmask: "0.0.0.0" network: "0.0.0.0" + prefix_length: "" start_ip: "" type: "subnet" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "10.10.11.1" name: "host-10.10.11.1" netmask: "" network: "" + prefix_length: "" start_ip: "" type: "host" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "10.75.51.11" name: "block" netmask: "" network: "" + prefix_length: "" start_ip: "" type: "host" - - cidr: "" - description: "dmz GW ip" + - description: "dmz GW ip" end_ip: "" host: "11.1.2.2" name: "dmz" netmask: "" network: "" + prefix_length: "" start_ip: "" type: "host" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "10.1.11.8" name: "server-vip" netmask: "" network: "" + prefix_length: "" start_ip: "" type: "host" - - cidr: "" - description: "" + - description: "" end_ip: "10.10.10.60" host: "" name: "visitors" netmask: "" network: "" + prefix_length: "" start_ip: "10.10.10.4" type: "range" - - cidr: "" - description: "" + - description: "" end_ip: "10.75.51.100" host: "" name: "contractor" netmask: "" network: "" + prefix_length: "" start_ip: "10.75.51.15" type: "range" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "2606:4700:4700::1111" name: "cloudflare-ipv6-dns-primary" netmask: "" network: "" + prefix_length: "" start_ip: "" type: "host" - - cidr: "" - description: "" + - description: "" end_ip: "" host: "2001:4860:4860::8888" name: "google-ipv6-dns-primary" netmask: "" network: "" + prefix_length: "" start_ip: "" type: "host" - - cidr: "" - description: "" + - description: "" end_ip: "fd00::ffff" host: "" name: "internal-ipv6-range" netmask: "" network: "" + prefix_length: "" start_ip: "fd00::" type: "range" - - cidr: "/8" - description: "" + - description: "" end_ip: "" host: "" name: "internal-ipv6-subnet" netmask: "" network: "fd00::" + prefix_length: "8" start_ip: "" type: "subnet" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml index 20fe5241a1..94f2ab7fc8 100644 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology.yml @@ -1,107 +1,101 @@ --- parsed_sample: - - process_id: "100" - router_id: "10.255.11.6" - code: "P" - route: "66.128.208.232" - mask: "32" - successors: "2" - fd: "264448" - tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.11.9" - "10.254.11.33" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "264448" out_interface: - "TenGigabitEthernet1/1" - "TenGigabitEthernet2/1" - source: "" - - process_id: "100" + prefix_length: "32" + process_id: "100" + route: "66.128.208.232" router_id: "10.255.11.6" - code: "P" - route: "10.254.6.8" - mask: "30" - successors: "1" - fd: "1024" + source: "" + successors: "2" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.6.14" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "1024" out_interface: - "Port-channel10" - source: "" - - process_id: "100" + prefix_length: "30" + process_id: "100" + route: "10.254.6.8" router_id: "10.255.11.6" - code: "P" - route: "67.230.223.128" - mask: "28" - successors: "2" - fd: "5632" - tag: "53471" + source: "" + successors: "1" + tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.11.9" - "10.254.11.33" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "5632" out_interface: - "TenGigabitEthernet1/1" - "TenGigabitEthernet2/1" - source: "" - - process_id: "100" + prefix_length: "28" + process_id: "100" + route: "67.230.223.128" router_id: "10.255.11.6" - code: "P" - route: "10.255.10.5" - mask: "32" - successors: "1" - fd: "130816" - tag: "" + source: "" + successors: "2" + tag: "53471" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.10.34" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "130816" out_interface: - "GigabitEthernet9/29" - source: "" - - process_id: "100" + prefix_length: "32" + process_id: "100" + route: "10.255.10.5" router_id: "10.255.11.6" - code: "P" - route: "10.255.1.14" - mask: "32" + source: "" successors: "1" - fd: "128768" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.1.34" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "128768" out_interface: - "Port-channel3" - source: "" - - process_id: "100" + prefix_length: "32" + process_id: "100" + route: "10.255.1.14" router_id: "10.255.11.6" - code: "P" - route: "10.254.2.12" - mask: "30" + source: "" successors: "1" - fd: "768" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.2.22" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "768" out_interface: - "TenGigabitEthernet3/3" - source: "" - - process_id: "100" + prefix_length: "30" + process_id: "100" + route: "10.254.2.12" router_id: "10.255.11.6" - code: "P" - route: "10.255.11.4" - mask: "32" - successors: "4" - fd: "128768" + source: "" + successors: "1" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.56.6" - "10.254.55.6" @@ -111,8 +105,8 @@ parsed_sample: - "10.254.4.10" - "10.254.4.14" - "10.254.54.6" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "128768" out_interface: - "TenGigabitEthernet1/4" - "TenGigabitEthernet1/6" @@ -122,4 +116,10 @@ parsed_sample: - "TenGigabitEthernet4/4" - "TenGigabitEthernet4/5" - "TenGigabitEthernet1/3" + prefix_length: "32" + process_id: "100" + route: "10.255.11.4" + router_id: "10.255.11.6" source: "" + successors: "4" + tag: "" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml index 7f4b77d888..b015f321ec 100644 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology1.yml @@ -1,107 +1,101 @@ --- parsed_sample: - - process_id: "100" - router_id: "10.255.11.6" - code: "P" - route: "66.128.208.232" - mask: "32" - successors: "2" - fd: "264448" - tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.11.9" - "10.254.11.33" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "264448" out_interface: - "TenGigabitEthernet1/1" - "TenGigabitEthernet2/1" - source: "" - - process_id: "100" + prefix_length: "32" + process_id: "100" + route: "66.128.208.232" router_id: "10.255.11.6" - code: "P" - route: "10.254.6.8" - mask: "30" - successors: "1" - fd: "1024" + source: "" + successors: "2" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.6.14" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "1024" out_interface: - "Port-channel10" - source: "" - - process_id: "100" + prefix_length: "30" + process_id: "100" + route: "10.254.6.8" router_id: "10.255.11.6" - code: "P" - route: "67.230.223.128" - mask: "28" - successors: "2" - fd: "5632" - tag: "53471" + source: "" + successors: "1" + tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.11.9" - "10.254.11.33" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "5632" out_interface: - "TenGigabitEthernet1/1" - "TenGigabitEthernet2/1" - source: "" - - process_id: "100" + prefix_length: "28" + process_id: "100" + route: "67.230.223.128" router_id: "10.255.11.6" - code: "P" - route: "10.255.10.5" - mask: "32" - successors: "1" - fd: "130816" - tag: "" + source: "" + successors: "2" + tag: "53471" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.10.34" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "130816" out_interface: - "GigabitEthernet9/29" - source: "" - - process_id: "100" + prefix_length: "32" + process_id: "100" + route: "10.255.10.5" router_id: "10.255.11.6" - code: "P" - route: "10.255.1.14" - mask: "32" + source: "" successors: "1" - fd: "128768" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.1.34" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "128768" out_interface: - "Port-channel3" - source: "" - - process_id: "100" + prefix_length: "32" + process_id: "100" + route: "10.255.1.14" router_id: "10.255.11.6" - code: "P" - route: "10.254.2.12" - mask: "30" + source: "" successors: "1" - fd: "768" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.2.22" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "768" out_interface: - "TenGigabitEthernet3/3" - source: "" - - process_id: "100" + prefix_length: "30" + process_id: "100" + route: "10.254.2.12" router_id: "10.255.11.6" - code: "P" - route: "10.255.11.4" - mask: "32" - successors: "4" - fd: "128768" + source: "" + successors: "1" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.254.56.6" - "10.254.55.6" @@ -111,8 +105,8 @@ parsed_sample: - "10.254.4.10" - "10.254.4.14" - "10.254.54.6" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "128768" out_interface: - "TenGigabitEthernet1/4" - "TenGigabitEthernet1/6" @@ -122,64 +116,70 @@ parsed_sample: - "TenGigabitEthernet4/4" - "TenGigabitEthernet4/5" - "TenGigabitEthernet1/3" + prefix_length: "32" + process_id: "100" + route: "10.255.11.4" + router_id: "10.255.11.6" source: "" - - process_id: "65000" - router_id: "10.2.0.1" - code: "P" - route: "10.50.20.4" - mask: "32" - successors: "2" - fd: "128039168" + successors: "4" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.4.0.1" - "10.4.0.2" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "128039168" out_interface: - "GigabitEthernet1/1" - "GigabitEthernet1/2" - source: "" - - process_id: "65000" + prefix_length: "32" + process_id: "65000" + route: "10.50.20.4" router_id: "10.2.0.1" - code: "P" - route: "10.50.21.0" - mask: "27" - successors: "0" - fd: "Inaccessible" - tag: "6508497" + source: "" + successors: "2" + tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "10.4.0.1" - "10.4.0.2" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "Inaccessible" out_interface: - "GigabitEthernet1/1" - "GigabitEthernet1/2" - source: "" - - process_id: "65000" + prefix_length: "27" + process_id: "65000" + route: "10.50.21.0" router_id: "10.2.0.1" + source: "" + successors: "0" + tag: "6508497" + - adv_fd: [] + adv_rd: [] + adv_router: [] code: "P" + fd: "2816" + out_interface: [] + prefix_length: "24" + process_id: "65000" route: "10.50.75.0" - mask: "24" + router_id: "10.2.0.1" + source: "Rstatic" successors: "1" - fd: "2816" tag: "" - adv_router: [] - adv_fd: [] + - adv_fd: [] adv_rd: [] - out_interface: [] - source: "Rstatic" - - process_id: "65000" - router_id: "10.2.0.1" + adv_router: [] code: "P" - route: "10.50.23.92" - mask: "30" - successors: "1" fd: "3840256" - tag: "5507497" - adv_router: [] - adv_fd: [] - adv_rd: [] out_interface: [] + prefix_length: "30" + process_id: "65000" + route: "10.50.23.92" + router_id: "10.2.0.1" source: "Redistributed" + successors: "1" + tag: "5507497" diff --git a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml index cb79bb5693..7843814beb 100644 --- a/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml +++ b/tests/cisco_ios/show_ip_eigrp_topology/cisco_ios_show_ip_eigrp_topology2.yml @@ -1,115 +1,115 @@ --- parsed_sample: - - process_id: "1" - router_id: "172.16.0.1" - code: "P" - route: "172.16.0.1" - mask: "32" - successors: "1" - fd: "128256" - tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "Connected" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "128256" out_interface: - "Loopback0" - source: "" - - process_id: "1" + prefix_length: "32" + process_id: "1" + route: "172.16.0.1" router_id: "172.16.0.1" - code: "P" - route: "172.16.0.2" - mask: "32" + source: "" successors: "1" - fd: "130816" tag: "" - adv_router: - - "192.168.100.1" - adv_fd: + - adv_fd: - "130816" adv_rd: - "128256" + adv_router: + - "192.168.100.1" + code: "P" + fd: "130816" out_interface: - "GigabitEthernet0/0" - source: "" - - process_id: "1" + prefix_length: "32" + process_id: "1" + route: "172.16.0.2" router_id: "172.16.0.1" - code: "P" - route: "10.2.2.0" - mask: "24" + source: "" successors: "1" - fd: "3072" tag: "" - adv_router: - - "192.168.100.1" - adv_fd: + - adv_fd: - "3072" adv_rd: - "2816" + adv_router: + - "192.168.100.1" + code: "P" + fd: "3072" out_interface: - "GigabitEthernet0/0" - source: "" - - process_id: "1" + prefix_length: "24" + process_id: "1" + route: "10.2.2.0" router_id: "172.16.0.1" - code: "P" - route: "192.168.100.4" - mask: "31" + source: "" successors: "1" - fd: "3072" tag: "" - adv_router: - - "192.168.100.1" - adv_fd: + - adv_fd: - "3072" adv_rd: - "2816" + adv_router: + - "192.168.100.1" + code: "P" + fd: "3072" out_interface: - "GigabitEthernet0/0" - source: "" - - process_id: "1" + prefix_length: "31" + process_id: "1" + route: "192.168.100.4" router_id: "172.16.0.1" - code: "P" - route: "192.168.100.0" - mask: "31" + source: "" successors: "1" - fd: "2816" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "Connected" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "2816" out_interface: - "GigabitEthernet0/0" - source: "" - - process_id: "1" + prefix_length: "31" + process_id: "1" + route: "192.168.100.0" router_id: "172.16.0.1" - code: "P" - route: "192.168.100.2" - mask: "31" + source: "" successors: "1" - fd: "2816" tag: "" + - adv_fd: [] + adv_rd: [] adv_router: - "Connected" - adv_fd: [] - adv_rd: [] + code: "P" + fd: "2816" out_interface: - "GigabitEthernet0/1" - source: "" - - process_id: "1" + prefix_length: "31" + process_id: "1" + route: "192.168.100.2" router_id: "172.16.0.1" - code: "P" - route: "192.168.100.6" - mask: "31" + source: "" successors: "1" - fd: "3072" tag: "" - adv_router: - - "192.168.100.1" - adv_fd: + - adv_fd: - "3072" adv_rd: - "2816" + adv_router: + - "192.168.100.1" + code: "P" + fd: "3072" out_interface: - "GigabitEthernet0/0" + prefix_length: "31" + process_id: "1" + route: "192.168.100.6" + router_id: "172.16.0.1" source: "" + successors: "1" + tag: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml index cf3058c514..80ac28c619 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface.yml @@ -5,9 +5,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -15,9 +15,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -25,9 +25,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -35,9 +35,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -45,9 +45,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -55,9 +55,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -65,9 +65,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -75,9 +75,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -85,9 +85,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -96,10 +96,10 @@ parsed_sample: ipaddr: - "172.21.2.3" link_status: "up" - mask: - - "24" mtu: "1500" outgoing_acl: "" + prefix_length: + - "24" protocol_status: "up" vrf: "Mgmt-intf" - inbound_acl: "" @@ -108,10 +108,10 @@ parsed_sample: ipaddr: - "88.16.255.249" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -120,10 +120,10 @@ parsed_sample: ipaddr: - "88.16.255.1" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -132,10 +132,10 @@ parsed_sample: ipaddr: - "192.168.100.100" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "DATA" - inbound_acl: "" @@ -144,10 +144,10 @@ parsed_sample: ipaddr: - "192.168.200.100" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "SIG" - inbound_acl: "" @@ -156,10 +156,10 @@ parsed_sample: ipaddr: - "172.18.0.24" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -168,10 +168,10 @@ parsed_sample: ipaddr: - "172.22.255.255" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "VRF_WL_SIG" - inbound_acl: "" @@ -180,10 +180,10 @@ parsed_sample: ipaddr: - "88.16.245.1" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "7650C2814C784BACBBE23BB30B47D3A1" - inbound_acl: "" @@ -191,9 +191,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -202,10 +202,10 @@ parsed_sample: ipaddr: - "172.18.16.42" link_status: "up" - mask: - - "29" mtu: "9000" outgoing_acl: "" + prefix_length: + - "29" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -214,10 +214,10 @@ parsed_sample: ipaddr: - "88.16.254.61" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -226,10 +226,10 @@ parsed_sample: ipaddr: - "172.20.0.149" link_status: "up" - mask: - - "30" mtu: "1500" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -238,10 +238,10 @@ parsed_sample: ipaddr: - "88.16.254.65" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -250,10 +250,10 @@ parsed_sample: ipaddr: - "172.20.2.1" link_status: "up" - mask: - - "30" mtu: "1500" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -262,10 +262,10 @@ parsed_sample: ipaddr: - "169.254.0.114" link_status: "up" - mask: - - "29" mtu: "9000" outgoing_acl: "" + prefix_length: + - "29" protocol_status: "up" vrf: "C617529B810A48F6AD40FEBCB163B286" - inbound_acl: "" @@ -273,9 +273,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -284,10 +284,10 @@ parsed_sample: ipaddr: - "169.254.0.1" link_status: "up" - mask: - - "30" mtu: "9000" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "7650C2814C784BACBBE23BB30B47D3A1" - inbound_acl: "" @@ -295,9 +295,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -305,9 +305,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -315,9 +315,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -325,9 +325,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -335,9 +335,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -346,10 +346,10 @@ parsed_sample: ipaddr: - "169.254.0.1" link_status: "up" - mask: - - "30" mtu: "9000" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "6281BBEF467947E4949F989BBC891138" - inbound_acl: "" @@ -357,9 +357,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -367,9 +367,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -377,9 +377,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -388,10 +388,10 @@ parsed_sample: ipaddr: - "169.254.0.50" link_status: "up" - mask: - - "29" mtu: "9000" outgoing_acl: "" + prefix_length: + - "29" protocol_status: "up" vrf: "C617529B810A48F6AD40FEBCB163B286" - inbound_acl: "" @@ -399,9 +399,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -409,9 +409,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -419,9 +419,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -429,9 +429,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -439,9 +439,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -450,10 +450,10 @@ parsed_sample: ipaddr: - "169.254.0.5" link_status: "up" - mask: - - "30" mtu: "9000" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "6281BBEF467947E4949F989BBC891138" - inbound_acl: "" @@ -461,9 +461,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "deleted" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -472,10 +472,10 @@ parsed_sample: ipaddr: - "88.16.254.103" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -484,10 +484,10 @@ parsed_sample: ipaddr: - "88.16.254.94" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -496,10 +496,10 @@ parsed_sample: ipaddr: - "88.16.254.17" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -508,10 +508,10 @@ parsed_sample: ipaddr: - "88.16.255.53" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -520,10 +520,10 @@ parsed_sample: ipaddr: - "88.16.254.0" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -532,10 +532,10 @@ parsed_sample: ipaddr: - "88.16.254.2" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -544,10 +544,10 @@ parsed_sample: ipaddr: - "88.16.254.4" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -556,10 +556,10 @@ parsed_sample: ipaddr: - "172.19.0.90" link_status: "up" - mask: - - "31" mtu: "8000" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -568,10 +568,10 @@ parsed_sample: ipaddr: - "88.16.234.10" link_status: "administratively down" - mask: - - "29" mtu: "9000" outgoing_acl: "" + prefix_length: + - "29" protocol_status: "down" vrf: "" - inbound_acl: "" @@ -580,10 +580,10 @@ parsed_sample: ipaddr: - "169.254.64.0" link_status: "up" - mask: - - "31" mtu: "1472" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -592,10 +592,10 @@ parsed_sample: ipaddr: - "169.254.64.4" link_status: "up" - mask: - - "31" mtu: "1472" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -604,10 +604,10 @@ parsed_sample: ipaddr: - "169.254.64.36" link_status: "up" - mask: - - "31" mtu: "1472" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -616,10 +616,10 @@ parsed_sample: ipaddr: - "169.254.64.2" link_status: "up" - mask: - - "31" mtu: "1472" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "down" vrf: "MYCOMPANY" - inbound_acl: "" @@ -628,10 +628,10 @@ parsed_sample: ipaddr: - "169.254.64.6" link_status: "up" - mask: - - "31" mtu: "1472" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "down" vrf: "MYCOMPANY" - inbound_acl: "" @@ -640,10 +640,10 @@ parsed_sample: ipaddr: - "88.16.254.10" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -652,10 +652,10 @@ parsed_sample: ipaddr: - "100.66.0.2" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -664,10 +664,10 @@ parsed_sample: ipaddr: - "100.66.0.64" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -676,10 +676,10 @@ parsed_sample: ipaddr: - "100.66.0.102" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -688,10 +688,10 @@ parsed_sample: ipaddr: - "100.66.0.82" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -700,10 +700,10 @@ parsed_sample: ipaddr: - "100.66.0.74" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -712,10 +712,10 @@ parsed_sample: ipaddr: - "100.66.0.130" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -724,10 +724,10 @@ parsed_sample: ipaddr: - "100.66.0.158" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -736,10 +736,10 @@ parsed_sample: ipaddr: - "100.66.0.162" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -748,10 +748,10 @@ parsed_sample: ipaddr: - "100.66.0.174" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -760,10 +760,10 @@ parsed_sample: ipaddr: - "100.66.0.194" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -772,10 +772,10 @@ parsed_sample: ipaddr: - "100.66.0.214" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -784,10 +784,10 @@ parsed_sample: ipaddr: - "100.66.1.2" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -796,10 +796,10 @@ parsed_sample: ipaddr: - "88.16.254.11" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "MYCOMPANY" - inbound_acl: "" @@ -808,10 +808,10 @@ parsed_sample: ipaddr: - "100.66.0.3" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "C617529B810A48F6AD40FEBCB163B286" - inbound_acl: "" @@ -820,10 +820,10 @@ parsed_sample: ipaddr: - "100.66.0.65" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "28FBAE630B934EB5AFA7FCE43E52393E" - inbound_acl: "" @@ -832,10 +832,10 @@ parsed_sample: ipaddr: - "100.66.0.103" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "4CB342232A7B4D04ADEF7DE3EC2679EC" - inbound_acl: "" @@ -844,10 +844,10 @@ parsed_sample: ipaddr: - "100.66.0.83" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "F76D90EAB6474F5BBB433939BA52FB14" - inbound_acl: "" @@ -856,10 +856,10 @@ parsed_sample: ipaddr: - "100.66.0.75" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "6281BBEF467947E4949F989BBC891138" - inbound_acl: "" @@ -868,10 +868,10 @@ parsed_sample: ipaddr: - "100.66.0.131" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "7650C2814C784BACBBE23BB30B47D3A1" - inbound_acl: "" @@ -880,10 +880,10 @@ parsed_sample: ipaddr: - "100.66.0.159" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "AF1C8AE356D94BBBB377257D047D3D4D" - inbound_acl: "" @@ -892,10 +892,10 @@ parsed_sample: ipaddr: - "100.66.0.163" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "41ECD4DB33314E949FD8D96D98252919" - inbound_acl: "" @@ -904,10 +904,10 @@ parsed_sample: ipaddr: - "100.66.0.175" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "A1E5B05D1D914A109BE1EE71B7C994B7" - inbound_acl: "" @@ -916,10 +916,10 @@ parsed_sample: ipaddr: - "100.66.0.195" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "CC462DCE24DD43B28EA8EA9BAD49044E" - inbound_acl: "" @@ -928,10 +928,10 @@ parsed_sample: ipaddr: - "100.66.0.215" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "C5DE7D3B149B4AF7BF398F45F0AD90A6" - inbound_acl: "" @@ -940,9 +940,9 @@ parsed_sample: ipaddr: - "100.66.1.3" link_status: "up" - mask: - - "31" mtu: "9216" outgoing_acl: "" + prefix_length: + - "31" protocol_status: "up" vrf: "8B3C2CFAD23841D1BC9FA2A178BA5855" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml index 405148833c..4b6c17f180 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface2.yml @@ -5,9 +5,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -15,9 +15,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -26,10 +26,10 @@ parsed_sample: ipaddr: - "192.168.102.45" link_status: "up" - mask: - - "30" mtu: "1500" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -37,9 +37,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "1486" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -52,11 +52,11 @@ parsed_sample: - "192.168.1.1" - "192.168.1.3" link_status: "up" - mask: - - "24" - - "24" mtu: "1500" outgoing_acl: "" + prefix_length: + - "24" + - "24" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -67,10 +67,10 @@ parsed_sample: ipaddr: - "192.168.2.1" link_status: "administratively down" - mask: - - "24" mtu: "1500" outgoing_acl: "" + prefix_length: + - "24" protocol_status: "down" vrf: "" - inbound_acl: "ACL-IN" @@ -79,10 +79,10 @@ parsed_sample: ipaddr: - "1.1.1.1" link_status: "up" - mask: - - "30" mtu: "1500" outgoing_acl: "ACL-OUT" + prefix_length: + - "30" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -90,9 +90,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "administratively down" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" - inbound_acl: "" @@ -101,9 +101,9 @@ parsed_sample: ipaddr: - "10.255.255.1" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml index 37536f1e80..3402450b0b 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface3.yml @@ -6,9 +6,9 @@ parsed_sample: ipaddr: - "10.0.0.0" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml index b64d795fe0..63310a1bc0 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface4.yml @@ -6,10 +6,10 @@ parsed_sample: ipaddr: - "10.0.0.0" link_status: "up" - mask: - - "32" mtu: "1514" outgoing_acl: "" + prefix_length: + - "32" protocol_status: "up" vrf: "" - inbound_acl: "" @@ -17,9 +17,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -27,9 +27,9 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "" outgoing_acl: "" + prefix_length: [] protocol_status: "up" vrf: "" - inbound_acl: "" @@ -38,9 +38,9 @@ parsed_sample: ipaddr: - "172.1.1.110" link_status: "up" - mask: - - "30" mtu: "" outgoing_acl: "" + prefix_length: + - "30" protocol_status: "up" vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml index 3ff5c0a1c6..d2c5e68083 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface5.yml @@ -5,8 +5,8 @@ parsed_sample: ip_helper: [] ipaddr: [] link_status: "up" - mask: [] mtu: "1456" outgoing_acl: "" + prefix_length: [] protocol_status: "down" vrf: "" diff --git a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml index fa6ebfc715..81561519a3 100644 --- a/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml +++ b/tests/cisco_ios/show_ip_interface/cisco_ios_show_ip_interface6.yml @@ -8,10 +8,10 @@ parsed_sample: ipaddr: - "10.81.0.1" link_status: "up" - mask: - - "24" mtu: "9100" outgoing_acl: "" + prefix_length: + - "24" protocol_status: "up" vrf: "WALKUP" - inbound_acl: "" @@ -20,9 +20,9 @@ parsed_sample: ipaddr: - "172.16.3.226" link_status: "up" - mask: - - "29" mtu: "1500" outgoing_acl: "" + prefix_length: + - "29" protocol_status: "up" vrf: "" diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml index bfb0cc6c30..de7e5e8438 100644 --- a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route.yml @@ -1,387 +1,387 @@ --- parsed_sample: - - vrf: "" - protocol: "S" - type: "" - network: "1.1.1.1" - mask: "32" - distance: "1" + - distance: "1" metric: "0" + network: "1.1.1.1" + nexthop_if: "" nexthop_ip: "212.0.0.1" nexthop_vrf: "" - nexthop_if: "" - uptime: "" - - vrf: "" + prefix_length: "32" protocol: "S" type: "" - network: "1.1.1.1" - mask: "32" - distance: "1" + uptime: "" + vrf: "" + - distance: "1" metric: "0" + network: "1.1.1.1" + nexthop_if: "" nexthop_ip: "192.168.0.1" nexthop_vrf: "" - nexthop_if: "" - uptime: "" - - vrf: "" + prefix_length: "32" protocol: "S" type: "" - network: "2.2.2.0" - mask: "24" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "2.2.2.0" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" + prefix_length: "24" + protocol: "S" + type: "" uptime: "" - - vrf: "" - protocol: "O" - type: "E2" - network: "4.4.0.0" - mask: "16" - distance: "110" + vrf: "" + - distance: "110" metric: "20" + network: "4.4.0.0" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" + prefix_length: "16" + protocol: "O" + type: "E2" uptime: "1d18h" - - vrf: "" - protocol: "D" - type: "EX" - network: "5.5.5.0" - mask: "24" - distance: "170" + vrf: "" + - distance: "170" metric: "2297856" + network: "5.5.5.0" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" + prefix_length: "24" + protocol: "D" + type: "EX" uptime: "00:12:01" - - vrf: "" - protocol: "B" - type: "" - network: "6.6.0.0" - mask: "16" - distance: "200" + vrf: "" + - distance: "200" metric: "0" + network: "6.6.0.0" + nexthop_if: "" nexthop_ip: "195.0.0.1" nexthop_vrf: "" - nexthop_if: "" + prefix_length: "16" + protocol: "B" + type: "" uptime: "00:00:04" - - vrf: "" - protocol: "i" - type: "L2" - network: "172.16.1.0" - mask: "26" - distance: "115" + vrf: "" + - distance: "115" metric: "10" + network: "172.16.1.0" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" + prefix_length: "26" + protocol: "i" + type: "L2" uptime: "" - - vrf: "" - protocol: "O" - type: "" - network: "172.20.1.1" - mask: "32" - distance: "110" + vrf: "" + - distance: "110" metric: "11" + network: "172.20.1.1" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" - uptime: "00:05:45" - - vrf: "" + prefix_length: "32" protocol: "O" type: "" - network: "172.20.3.1" - mask: "32" - distance: "110" + uptime: "00:05:45" + vrf: "" + - distance: "110" metric: "11" + network: "172.20.3.1" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" - uptime: "00:05:45" - - vrf: "" + prefix_length: "32" protocol: "O" type: "" - network: "172.20.2.1" - mask: "32" - distance: "110" + uptime: "00:05:45" + vrf: "" + - distance: "110" metric: "11" + network: "172.20.2.1" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" - uptime: "00:05:45" - - vrf: "" - protocol: "C" + prefix_length: "32" + protocol: "O" type: "" - network: "10.0.1.0" - mask: "24" - distance: "" + uptime: "00:05:45" + vrf: "" + - distance: "" metric: "" + network: "10.0.1.0" + nexthop_if: "Serial0/0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Serial0/0" - uptime: "" - - vrf: "" - protocol: "D" + prefix_length: "24" + protocol: "C" type: "" - network: "10.0.5.0" - mask: "26" - distance: "90" + uptime: "" + vrf: "" + - distance: "90" metric: "2297856" + network: "10.0.5.0" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" - uptime: "00:12:03" - - vrf: "" + prefix_length: "26" protocol: "D" type: "" - network: "10.0.5.64" - mask: "26" - distance: "90" + uptime: "00:12:03" + vrf: "" + - distance: "90" metric: "2297856" + network: "10.0.5.64" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" - uptime: "00:12:03" - - vrf: "" + prefix_length: "26" protocol: "D" type: "" - network: "10.0.5.128" - mask: "26" - distance: "90" + uptime: "00:12:03" + vrf: "" + - distance: "90" metric: "2297856" + network: "10.0.5.128" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" - uptime: "00:12:03" - - vrf: "" + prefix_length: "26" protocol: "D" type: "" - network: "10.0.5.192" - mask: "27" - distance: "90" + uptime: "00:12:03" + vrf: "" + - distance: "90" metric: "2297856" + network: "10.0.5.192" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" - uptime: "00:12:03" - - vrf: "" - protocol: "B" + prefix_length: "27" + protocol: "D" type: "" - network: "11.1.0.0" - mask: "17" - distance: "200" + uptime: "00:12:03" + vrf: "" + - distance: "200" metric: "0" + network: "11.1.0.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "2w0d" - - vrf: "" - protocol: "S" + prefix_length: "17" + protocol: "B" type: "" - network: "12.0.0.0" - mask: "16" - distance: "" + uptime: "2w0d" + vrf: "" + - distance: "" metric: "" + network: "12.0.0.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "" - - vrf: "" - protocol: "O" + prefix_length: "16" + protocol: "S" type: "" - network: "13.14.128.0" - mask: "17" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "13.14.128.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "7w0d" - - vrf: "" - protocol: "D" + prefix_length: "17" + protocol: "O" type: "" - network: "192.168.0.1" - mask: "32" - distance: "90" + uptime: "7w0d" + vrf: "" + - distance: "90" metric: "2297856" + network: "192.168.0.1" + nexthop_if: "Serial0/0" nexthop_ip: "10.0.1.2" nexthop_vrf: "" - nexthop_if: "Serial0/0" + prefix_length: "32" + protocol: "D" + type: "" uptime: "00:12:03" - - vrf: "" - protocol: "O" - type: "E2" - network: "192.168.10.168" - mask: "29" - distance: "110" + vrf: "" + - distance: "110" metric: "20" + network: "192.168.10.168" + nexthop_if: "TenGigabitEthernet7/4" nexthop_ip: "7.7.7.170" nexthop_vrf: "" - nexthop_if: "TenGigabitEthernet7/4" - uptime: "12:54:35" - - vrf: "" + prefix_length: "29" protocol: "O" type: "E2" - network: "10.63.184.0" - mask: "23" - distance: "110" + uptime: "12:54:35" + vrf: "" + - distance: "110" metric: "20" + network: "10.63.184.0" + nexthop_if: "TenGigabitEthernet1/15" nexthop_ip: "10.62.4.29" nexthop_vrf: "" - nexthop_if: "TenGigabitEthernet1/15" - uptime: "12:55:19" - - vrf: "" + prefix_length: "23" protocol: "O" type: "E2" - network: "10.63.184.0" - mask: "23" - distance: "110" + uptime: "12:55:19" + vrf: "" + - distance: "110" metric: "20" + network: "10.63.184.0" + nexthop_if: "TenGigabitEthernet1/16" nexthop_ip: "10.62.3.29" nexthop_vrf: "" - nexthop_if: "TenGigabitEthernet1/16" - uptime: "12:55:19" - - vrf: "" + prefix_length: "23" protocol: "O" type: "E2" - network: "192.168.12.0" - mask: "27" - distance: "110" + uptime: "12:55:19" + vrf: "" + - distance: "110" metric: "20" + network: "192.168.12.0" + nexthop_if: "Port-channel202" nexthop_ip: "10.64.3.13" nexthop_vrf: "" - nexthop_if: "Port-channel202" - uptime: "12:54:36" - - vrf: "" + prefix_length: "27" protocol: "O" type: "E2" - network: "192.168.12.0" - mask: "27" - distance: "110" + uptime: "12:54:36" + vrf: "" + - distance: "110" metric: "20" + network: "192.168.12.0" + nexthop_if: "Port-channel201" nexthop_ip: "10.64.1.9" nexthop_vrf: "" - nexthop_if: "Port-channel201" + prefix_length: "27" + protocol: "O" + type: "E2" uptime: "12:54:36" - - vrf: "" - protocol: "C" - type: "" - network: "10.64.4.88" - mask: "30" - distance: "" + vrf: "" + - distance: "" metric: "" + network: "10.64.4.88" + nexthop_if: "Serial0/0/0:0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Serial0/0/0:0" + prefix_length: "30" + protocol: "C" + type: "" uptime: "" - - vrf: "" - protocol: "O" - type: "E2" - network: "10.6.234.0" - mask: "24" - distance: "110" + vrf: "" + - distance: "110" metric: "20" + network: "10.6.234.0" + nexthop_if: "Serial0/0/0:0" nexthop_ip: "10.64.4.90" nexthop_vrf: "" - nexthop_if: "Serial0/0/0:0" + prefix_length: "24" + protocol: "O" + type: "E2" uptime: "12:54:53" - - vrf: "" - protocol: "C" - type: "" - network: "7.7.7.168" - mask: "30" - distance: "" + vrf: "" + - distance: "" metric: "" + network: "7.7.7.168" + nexthop_if: "TenGigabitEthernet7/4" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "TenGigabitEthernet7/4" - uptime: "" - - vrf: "" + prefix_length: "30" protocol: "C" type: "" - network: "10.64.3.12" - mask: "30" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "10.64.3.12" + nexthop_if: "Port-channel202" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Port-channel202" - uptime: "" - - vrf: "" + prefix_length: "30" protocol: "C" type: "" - network: "10.64.1.8" - mask: "30" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "10.64.1.8" + nexthop_if: "Port-channel201" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Port-channel201" - uptime: "" - - vrf: "" + prefix_length: "30" protocol: "C" type: "" - network: "10.62.4.28" - mask: "30" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "10.62.4.28" + nexthop_if: "TenGigabitEthernet1/15" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "TenGigabitEthernet1/15" - uptime: "" - - vrf: "" + prefix_length: "30" protocol: "C" type: "" - network: "10.62.3.28" - mask: "30" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "10.62.3.28" + nexthop_if: "TenGigabitEthernet1/16" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "TenGigabitEthernet1/16" + prefix_length: "30" + protocol: "C" + type: "" uptime: "" - - vrf: "" - protocol: "O" - type: "IA" - network: "195.0.0.0" - mask: "24" - distance: "110" + vrf: "" + - distance: "110" metric: "11" + network: "195.0.0.0" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" - uptime: "00:05:45" - - vrf: "" + prefix_length: "24" protocol: "O" - type: "E2" - network: "0.0.0.0" - mask: "0" - distance: "110" + type: "IA" + uptime: "00:05:45" + vrf: "" + - distance: "110" metric: "1" + network: "0.0.0.0" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" - uptime: "00:05:35" - - vrf: "" + prefix_length: "0" protocol: "O" type: "E2" - network: "212.0.0.0" - mask: "8" - distance: "110" + uptime: "00:05:35" + vrf: "" + - distance: "110" metric: "20" + network: "212.0.0.0" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "194.0.0.2" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" + prefix_length: "8" + protocol: "O" + type: "E2" uptime: "00:05:35" - - vrf: "" - protocol: "C" - type: "" - network: "194.0.0.0" - mask: "16" - distance: "" + vrf: "" + - distance: "" metric: "" + network: "194.0.0.0" + nexthop_if: "FastEthernet0/0.100" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "FastEthernet0/0.100" + prefix_length: "16" + protocol: "C" + type: "" uptime: "" + vrf: "" diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route1.yml b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route1.yml index f432667d0e..16728b6188 100644 --- a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route1.yml +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route1.yml @@ -1,24 +1,24 @@ --- parsed_sample: - - vrf: "" - protocol: "C" - type: "" - network: "192.168.1.0" - mask: "24" - distance: "" + - distance: "" metric: "" + network: "192.168.1.0" + nexthop_if: "vasileft1" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "vasileft1" - uptime: "" - - vrf: "" - protocol: "L" + prefix_length: "24" + protocol: "C" type: "" - network: "192.168.1.1" - mask: "32" - distance: "" + uptime: "" + vrf: "" + - distance: "" metric: "" + network: "192.168.1.1" + nexthop_if: "vasileft1" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "vasileft1" + prefix_length: "32" + protocol: "L" + type: "" uptime: "" + vrf: "" diff --git a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml index 58e3ca69fc..7dabbe8820 100644 --- a/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml +++ b/tests/cisco_ios/show_ip_route/cisco_ios_show_ip_route_vrf.yml @@ -1,376 +1,376 @@ --- parsed_sample: - - vrf: "TRI" - protocol: "B" - type: "" - network: "0.0.0.0" - mask: "0" - distance: "200" + - distance: "200" metric: "0" + network: "0.0.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.3" nexthop_vrf: "" - nexthop_if: "" - uptime: "1d05h" - - vrf: "TRI" + prefix_length: "0" protocol: "B" type: "" - network: "10.0.0.0" - mask: "8" - distance: "200" + uptime: "1d05h" + vrf: "TRI" + - distance: "200" metric: "0" + network: "10.0.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.3" nexthop_vrf: "" - nexthop_if: "" - uptime: "1d05h" - - vrf: "TRI" + prefix_length: "8" protocol: "B" type: "" - network: "10.10.0.0" - mask: "18" - distance: "200" + uptime: "1d05h" + vrf: "TRI" + - distance: "200" metric: "0" + network: "10.10.0.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "18" protocol: "B" type: "" - network: "10.10.5.0" - mask: "24" - distance: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.5.0" + nexthop_if: "Vlan5" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan5" + prefix_length: "24" + protocol: "B" + type: "" uptime: "3w4d" - - vrf: "TRI" + vrf: "TRI" + - distance: "" + metric: "" + network: "10.10.5.1" + nexthop_if: "Vlan5" + nexthop_ip: "" + nexthop_vrf: "" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.5.1" - mask: "32" - distance: "" + uptime: "" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.10.0" + nexthop_if: "Vlan10" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan5" - uptime: "" - - vrf: "TRI" + prefix_length: "24" protocol: "B" type: "" - network: "10.10.10.0" - mask: "24" - distance: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.10.1" + nexthop_if: "Vlan10" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan10" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.10.1" - mask: "32" - distance: "" + uptime: "" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.20.0" + nexthop_if: "Vlan20" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan10" - uptime: "" - - vrf: "TRI" + prefix_length: "24" protocol: "B" type: "" - network: "10.10.20.0" - mask: "24" - distance: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.20.1" + nexthop_if: "Vlan20" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan20" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.20.1" - mask: "32" - distance: "" - metric: "" + uptime: "" + vrf: "TRI" + - distance: "200" + metric: "0" + network: "10.10.64.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan20" - uptime: "" - - vrf: "TRI" + prefix_length: "19" protocol: "B" type: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" + metric: "" network: "10.10.64.0" - mask: "19" - distance: "200" - metric: "0" + nexthop_if: "Vlan64" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "24" protocol: "B" type: "" - network: "10.10.64.0" - mask: "24" - distance: "" + uptime: "01:04:17" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.64.1" + nexthop_if: "Vlan64" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan64" - uptime: "01:04:17" - - vrf: "TRI" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.64.1" - mask: "32" - distance: "" - metric: "" + uptime: "" + vrf: "TRI" + - distance: "200" + metric: "0" + network: "10.10.96.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan64" - uptime: "" - - vrf: "TRI" + prefix_length: "19" protocol: "B" type: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" + metric: "" network: "10.10.96.0" - mask: "19" - distance: "200" - metric: "0" + nexthop_if: "Vlan96" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "24" protocol: "B" type: "" - network: "10.10.96.0" - mask: "24" - distance: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.96.1" + nexthop_if: "Vlan96" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan96" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.96.1" - mask: "32" - distance: "" - metric: "" + uptime: "" + vrf: "TRI" + - distance: "200" + metric: "0" + network: "10.10.128.0" + nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan96" - uptime: "" - - vrf: "TRI" + prefix_length: "20" protocol: "B" type: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" + metric: "" network: "10.10.128.0" - mask: "20" - distance: "200" - metric: "0" + nexthop_if: "Vlan128" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Null0" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "24" protocol: "B" type: "" - network: "10.10.128.0" - mask: "24" - distance: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.128.1" + nexthop_if: "Vlan128" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan128" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.128.1" - mask: "32" - distance: "" + uptime: "" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.254.0" + nexthop_if: "Vlan3101" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan128" - uptime: "" - - vrf: "TRI" + prefix_length: "29" protocol: "C" type: "" - network: "10.10.254.0" - mask: "29" - distance: "" + uptime: "" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.254.1" + nexthop_if: "Vlan3101" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Vlan3101" - uptime: "" - - vrf: "TRI" + prefix_length: "32" protocol: "L" type: "" - network: "10.10.254.1" - mask: "32" - distance: "" - metric: "" - nexthop_ip: "" - nexthop_vrf: "" - nexthop_if: "Vlan3101" uptime: "" - - vrf: "TRI" - protocol: "B" - type: "" - network: "10.10.255.11" - mask: "32" - distance: "" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.255.11" + nexthop_if: "Loopback11" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Loopback11" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "32" protocol: "B" type: "" - network: "10.10.255.12" - mask: "32" - distance: "" + uptime: "3w4d" + vrf: "TRI" + - distance: "" metric: "" + network: "10.10.255.12" + nexthop_if: "Loopback12" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Loopback12" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "32" protocol: "B" type: "" - network: "10.20.0.0" - mask: "16" - distance: "200" + uptime: "3w4d" + vrf: "TRI" + - distance: "200" metric: "0" + network: "10.20.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.10" nexthop_vrf: "AMB" - nexthop_if: "" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "16" protocol: "B" type: "" - network: "10.30.0.0" - mask: "16" - distance: "200" + uptime: "3w4d" + vrf: "TRI" + - distance: "200" metric: "0" + network: "10.30.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.2" nexthop_vrf: "BLU" - nexthop_if: "" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "16" protocol: "B" type: "" - network: "10.40.0.0" - mask: "16" - distance: "200" + uptime: "3w4d" + vrf: "TRI" + - distance: "200" metric: "0" + network: "10.40.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.2" nexthop_vrf: "GRN" - nexthop_if: "" - uptime: "3w4d" - - vrf: "TRI" + prefix_length: "16" protocol: "B" type: "" - network: "172.16.0.0" - mask: "12" - distance: "200" + uptime: "3w4d" + vrf: "TRI" + - distance: "200" metric: "0" + network: "172.16.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.3" nexthop_vrf: "" - nexthop_if: "" - uptime: "1d05h" - - vrf: "TRI" + prefix_length: "12" protocol: "B" type: "" - network: "192.168.0.0" - mask: "16" - distance: "200" + uptime: "1d05h" + vrf: "TRI" + - distance: "200" metric: "0" + network: "192.168.0.0" + nexthop_if: "" nexthop_ip: "10.10.254.3" nexthop_vrf: "" - nexthop_if: "" - uptime: "1d05h" - - vrf: "TRI" - protocol: "C" + prefix_length: "16" + protocol: "B" type: "" - network: "50.1.1.1" - mask: "32" - distance: "" + uptime: "1d05h" + vrf: "TRI" + - distance: "" metric: "" + network: "50.1.1.1" + nexthop_if: "Loopback50" nexthop_ip: "" nexthop_vrf: "" - nexthop_if: "Loopback50" - uptime: "" - - vrf: "TRI" - protocol: "B" + prefix_length: "32" + protocol: "C" type: "" - network: "10.12.1.0" - mask: "27" - distance: "200" + uptime: "" + vrf: "TRI" + - distance: "200" metric: "1000" + network: "10.12.1.0" + nexthop_if: "" nexthop_ip: "192.168.12.5" nexthop_vrf: "" - nexthop_if: "" - uptime: "1w1d" - - vrf: "TRI" + prefix_length: "27" protocol: "B" type: "" - network: "10.12.1.0" - mask: "27" - distance: "200" + uptime: "1w1d" + vrf: "TRI" + - distance: "200" metric: "1000" + network: "10.12.1.0" + nexthop_if: "" nexthop_ip: "192.168.12.1" nexthop_vrf: "" - nexthop_if: "" - uptime: "1w1d" - - vrf: "TRI" + prefix_length: "27" protocol: "B" type: "" - network: "10.12.242.64" - mask: "28" - distance: "200" + uptime: "1w1d" + vrf: "TRI" + - distance: "200" metric: "1000" + network: "10.12.242.64" + nexthop_if: "" nexthop_ip: "192.168.12.5" nexthop_vrf: "" - nexthop_if: "" - uptime: "1w1d" - - vrf: "TRI" + prefix_length: "28" protocol: "B" type: "" - network: "10.12.242.64" - mask: "28" - distance: "200" + uptime: "1w1d" + vrf: "TRI" + - distance: "200" metric: "1000" + network: "10.12.242.64" + nexthop_if: "" nexthop_ip: "192.168.12.1" nexthop_vrf: "" - nexthop_if: "" - uptime: "1w1d" - - vrf: "TRI" + prefix_length: "28" protocol: "B" type: "" - network: "172.16.10.0" - mask: "24" - distance: "200" + uptime: "1w1d" + vrf: "TRI" + - distance: "200" metric: "0" + network: "172.16.10.0" + nexthop_if: "" nexthop_ip: "10.80.10.2" nexthop_vrf: "" - nexthop_if: "" - uptime: "04:42:57" - - vrf: "TRI" + prefix_length: "24" protocol: "B" type: "" - network: "172.16.20.0" - mask: "24" - distance: "200" + uptime: "04:42:57" + vrf: "TRI" + - distance: "200" metric: "0" + network: "172.16.20.0" + nexthop_if: "" nexthop_ip: "10.80.10.2" nexthop_vrf: "" - nexthop_if: "" + prefix_length: "24" + protocol: "B" + type: "" uptime: "04:42:52" + vrf: "TRI" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml index 1fac0d93f9..0a9b4f92a5 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route.yml @@ -1,557 +1,557 @@ --- parsed_sample: - - vrf: "default" - protocol: "static" - type: "" - network: "0.0.0.0" - mask: "0" - distance: "1" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "10.1.100.1" + network: "0.0.0.0" nexthop_if: "" - uptime: "6d02h" + nexthop_ip: "10.1.100.1" nexthop_vrf: "management" - tag: "" + prefix_length: "0" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "local" type: "" - network: "1.1.1.1" - mask: "32" - distance: "0" + uptime: "6d02h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "1.1.1.1" + network: "1.1.1.1" nexthop_if: "Lo1" - uptime: "6d00h" + nexthop_ip: "1.1.1.1" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "local" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "direct" type: "" - network: "1.1.1.1" - mask: "32" - distance: "0" + uptime: "6d00h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "1.1.1.1" + network: "1.1.1.1" nexthop_if: "Lo1" - uptime: "6d00h" + nexthop_ip: "1.1.1.1" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "direct" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "local" type: "" - network: "1.1.1.10" - mask: "32" - distance: "0" + uptime: "6d00h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "1.1.1.10" + network: "1.1.1.10" nexthop_if: "Lo10" - uptime: "1w12h" + nexthop_ip: "1.1.1.10" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "local" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "direct" type: "" - network: "1.1.1.10" - mask: "32" - distance: "0" + uptime: "1w12h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "1.1.1.10" + network: "1.1.1.10" nexthop_if: "Lo10" - uptime: "1w12h" + nexthop_ip: "1.1.1.10" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "direct" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "1w12h" + vrf: "default" + - distance: "110" encap: "" - - vrf: "default" - protocol: "ospf-10" - type: "intra" - network: "2.2.2.2" - mask: "32" - distance: "110" metric: "3" - nexthop_ip: "10.10.30.2" + network: "2.2.2.2" nexthop_if: "Eth2/2" - uptime: "5d18h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "2.2.2.2" - mask: "32" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "3" - nexthop_ip: "10.10.40.2" + network: "2.2.2.2" nexthop_if: "Eth2/4" - uptime: "5d18h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "3.3.3.3" - mask: "32" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "4" - nexthop_ip: "10.10.30.2" + network: "3.3.3.3" nexthop_if: "Eth2/2" - uptime: "5d18h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "3.3.3.3" - mask: "32" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "4" - nexthop_ip: "10.10.40.2" + network: "3.3.3.3" nexthop_if: "Eth2/4" - uptime: "5d18h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "4.4.4.4" - mask: "32" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "2" - nexthop_ip: "10.10.30.2" + network: "4.4.4.4" nexthop_if: "Eth2/2" - uptime: "5d23h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "4.4.4.4" - mask: "32" - distance: "110" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" metric: "2" - nexthop_ip: "10.10.40.2" + network: "4.4.4.4" nexthop_if: "Eth2/4" - uptime: "5d23h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "1" encap: "" - - vrf: "default" - protocol: "static" - type: "" - network: "7.7.7.7" - mask: "32" - distance: "1" metric: "0" - nexthop_ip: "10.10.50.1" + network: "7.7.7.7" nexthop_if: "" - uptime: "1d21h" + nexthop_ip: "10.10.50.1" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "static" type: "" - network: "8.8.8.8" - mask: "32" - distance: "1" + uptime: "1d21h" + vrf: "default" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "10.66.120.1" + network: "8.8.8.8" nexthop_if: "Vlan1220" - uptime: "00:00:01" + nexthop_ip: "10.66.120.1" nexthop_vrf: "" - tag: "100" + prefix_length: "32" + protocol: "static" segid: "" + tag: "100" tunnelid: "" + type: "" + uptime: "00:00:01" + vrf: "default" + - distance: "170" encap: "" - - vrf: "default" - protocol: "eigrp-NAMED" - type: "external" - network: "10.0.255.1" - mask: "32" - distance: "170" metric: "51712" - nexthop_ip: "10.24.1.74" + network: "10.0.255.1" nexthop_if: "Eth1/1" - uptime: "4w4d" + nexthop_ip: "10.24.1.74" nexthop_vrf: "" - tag: "65422" + prefix_length: "32" + protocol: "eigrp-NAMED" segid: "" + tag: "65422" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "eigrp-NAMED" type: "external" - network: "10.0.255.1" - mask: "32" - distance: "170" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" metric: "51712" - nexthop_ip: "10.24.2.76" + network: "10.0.255.1" nexthop_if: "Eth1/3" - uptime: "4w4d" + nexthop_ip: "10.24.2.76" nexthop_vrf: "" - tag: "65422" + prefix_length: "32" + protocol: "eigrp-NAMED" segid: "" + tag: "65422" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "eigrp-NAMED" type: "external" - network: "10.0.255.1" - mask: "32" - distance: "170" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" metric: "51712" - nexthop_ip: "10.24.2.154" + network: "10.0.255.1" nexthop_if: "Eth2/11" - uptime: "3w4d" + nexthop_ip: "10.24.2.154" nexthop_vrf: "" - tag: "65422" + prefix_length: "32" + protocol: "eigrp-NAMED" segid: "" + tag: "65422" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "eigrp-NAMED" type: "external" - network: "10.1.17.128" - mask: "25" - distance: "170" + uptime: "3w4d" + vrf: "default" + - distance: "170" + encap: "" metric: "3072" - nexthop_ip: "10.24.1.74" + network: "10.1.17.128" nexthop_if: "Eth1/1" - uptime: "4w4d" + nexthop_ip: "10.24.1.74" nexthop_vrf: "" - tag: "" + prefix_length: "25" + protocol: "eigrp-NAMED" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "eigrp-NAMED" type: "external" - network: "10.1.17.128" - mask: "25" - distance: "170" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" metric: "3072" - nexthop_ip: "10.24.2.76" + network: "10.1.17.128" nexthop_if: "Eth1/3" - uptime: "4w4d" + nexthop_ip: "10.24.2.76" nexthop_vrf: "" - tag: "" + prefix_length: "25" + protocol: "eigrp-NAMED" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "eigrp-NAMED" type: "external" - network: "10.1.17.128" - mask: "25" - distance: "170" + uptime: "4w4d" + vrf: "default" + - distance: "170" + encap: "" metric: "3072" - nexthop_ip: "10.24.2.154" + network: "10.1.17.128" nexthop_if: "Eth2/11" - uptime: "3w4d" + nexthop_ip: "10.24.2.154" nexthop_vrf: "" - tag: "" + prefix_length: "25" + protocol: "eigrp-NAMED" segid: "" + tag: "" tunnelid: "" + type: "external" + uptime: "3w4d" + vrf: "default" + - distance: "0" encap: "" - - vrf: "default" - protocol: "direct" - type: "" - network: "10.10.10.0" - mask: "24" - distance: "0" metric: "0" - nexthop_ip: "10.10.10.1" + network: "10.10.10.0" nexthop_if: "Vlan5" - uptime: "5d18h" + nexthop_ip: "10.10.10.1" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "direct" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "local" type: "" - network: "10.10.10.1" - mask: "32" - distance: "0" + uptime: "5d18h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "10.10.10.1" + network: "10.10.10.1" nexthop_if: "Vlan5" - uptime: "5d18h" + nexthop_ip: "10.10.10.1" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "local" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "direct" type: "" - network: "10.10.30.0" - mask: "24" - distance: "0" + uptime: "5d18h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "10.10.30.1" + network: "10.10.30.0" nexthop_if: "Eth2/2" - uptime: "5d23h" + nexthop_ip: "10.10.30.1" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "direct" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "local" type: "" - network: "10.10.30.1" - mask: "32" - distance: "0" + uptime: "5d23h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "10.10.30.1" + network: "10.10.30.1" nexthop_if: "Eth2/2" - uptime: "5d23h" + nexthop_ip: "10.10.30.1" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "local" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "direct" type: "" - network: "10.10.40.0" - mask: "24" - distance: "0" + uptime: "5d23h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "10.10.40.1" + network: "10.10.40.0" nexthop_if: "Eth2/4" - uptime: "5d23h" + nexthop_ip: "10.10.40.1" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "direct" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "local" type: "" - network: "10.10.40.1" - mask: "32" - distance: "0" + uptime: "5d23h" + vrf: "default" + - distance: "0" + encap: "" metric: "0" - nexthop_ip: "10.10.40.1" + network: "10.10.40.1" nexthop_if: "Eth2/4" - uptime: "5d23h" + nexthop_ip: "10.10.40.1" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "local" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "5d23h" + vrf: "default" + - distance: "110" encap: "" - - vrf: "default" - protocol: "ospf-10" - type: "intra" - network: "10.10.50.0" - mask: "24" - distance: "110" metric: "3" - nexthop_ip: "10.10.30.2" + network: "10.10.50.0" nexthop_if: "Eth2/2" - uptime: "5d18h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.50.0" - mask: "24" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "3" - nexthop_ip: "10.10.40.2" + network: "10.10.50.0" nexthop_if: "Eth2/4" - uptime: "5d18h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.60.0" - mask: "24" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "3" - nexthop_ip: "10.10.30.2" + network: "10.10.60.0" nexthop_if: "Eth2/2" - uptime: "5d18h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.60.0" - mask: "24" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "3" - nexthop_ip: "10.10.40.2" + network: "10.10.60.0" nexthop_if: "Eth2/4" - uptime: "5d18h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.70.0" - mask: "24" - distance: "110" + uptime: "5d18h" + vrf: "default" + - distance: "110" + encap: "" metric: "2" - nexthop_ip: "10.10.30.2" + network: "10.10.70.0" nexthop_if: "Eth2/2" - uptime: "5d23h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.70.0" - mask: "24" - distance: "110" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" metric: "2" - nexthop_ip: "10.10.40.2" + network: "10.10.70.0" nexthop_if: "Eth2/4" - uptime: "5d23h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.80.0" - mask: "24" - distance: "110" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" metric: "2" - nexthop_ip: "10.10.30.2" + network: "10.10.80.0" nexthop_if: "Eth2/2" - uptime: "5d23h" + nexthop_ip: "10.10.30.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-10" type: "intra" - network: "10.10.80.0" - mask: "24" - distance: "110" + uptime: "5d23h" + vrf: "default" + - distance: "110" + encap: "" metric: "2" - nexthop_ip: "10.10.40.2" + network: "10.10.80.0" nexthop_if: "Eth2/4" - uptime: "5d23h" + nexthop_ip: "10.10.40.2" nexthop_vrf: "" - tag: "" + prefix_length: "24" + protocol: "ospf-10" segid: "" + tag: "" tunnelid: "" + type: "intra" + uptime: "5d23h" + vrf: "default" + - distance: "220" encap: "" - - vrf: "default" - protocol: "ospf-1" - type: "" - network: "10.71.0.0" - mask: "21" - distance: "220" metric: "10" - nexthop_ip: "" + network: "10.71.0.0" nexthop_if: "Null0" - uptime: "2y49w" + nexthop_ip: "" nexthop_vrf: "" - tag: "" + prefix_length: "21" + protocol: "ospf-1" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "bgp-65004" - type: "internal" - network: "10.151.0.0" - mask: "16" - distance: "150" + type: "" + uptime: "2y49w" + vrf: "default" + - distance: "150" + encap: "VXLAN" metric: "51712" - nexthop_ip: "172.24.0.240" + network: "10.151.0.0" nexthop_if: "" - uptime: "3d17h" + nexthop_ip: "172.24.0.240" nexthop_vrf: "default" - tag: "65004 (evpn)" + prefix_length: "16" + protocol: "bgp-65004" segid: "10000" + tag: "65004 (evpn)" tunnelid: "0xac1800f0" - encap: "VXLAN" - - vrf: "default" - protocol: "ospf-1" - type: "type-2" - network: "10.218.139.240" - mask: "29" - distance: "110" + type: "internal" + uptime: "3d17h" + vrf: "default" + - distance: "110" + encap: "" metric: "10" - nexthop_ip: "10.62.2.30" + network: "10.218.139.240" nexthop_if: "Po1" - uptime: "0.000000" + nexthop_ip: "10.62.2.30" nexthop_vrf: "" - tag: "888" + prefix_length: "29" + protocol: "ospf-1" segid: "" + tag: "888" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "ospf-1" type: "type-2" - network: "10.218.139.240" - mask: "29" - distance: "110" + uptime: "0.000000" + vrf: "default" + - distance: "110" + encap: "" metric: "10" - nexthop_ip: "10.62.2.34" + network: "10.218.139.240" nexthop_if: "Po1" - uptime: "0.000000" + nexthop_ip: "10.62.2.34" nexthop_vrf: "" - tag: "888" + prefix_length: "29" + protocol: "ospf-1" segid: "" + tag: "888" tunnelid: "" - encap: "" + type: "type-2" + uptime: "0.000000" + vrf: "default" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml index 54553bf5c1..3861872b9e 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf.yml @@ -2,12 +2,12 @@ parsed_sample: - distance: "1" encap: "" - mask: "0" metric: "0" network: "0.0.0.0" nexthop_if: "" nexthop_ip: "10.1.100.1" nexthop_vrf: "management" + prefix_length: "0" protocol: "static" segid: "" tag: "" @@ -17,12 +17,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.1" nexthop_if: "Lo1" nexthop_ip: "1.1.1.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -32,12 +32,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.1" nexthop_if: "Lo1" nexthop_ip: "1.1.1.1" nexthop_vrf: "" + prefix_length: "32" protocol: "direct" segid: "" tag: "" @@ -47,12 +47,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.10" nexthop_if: "Lo10" nexthop_ip: "1.1.1.10" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -62,12 +62,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.10" nexthop_if: "Lo10" nexthop_ip: "1.1.1.10" nexthop_vrf: "" + prefix_length: "32" protocol: "direct" segid: "" tag: "" @@ -77,12 +77,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "32" metric: "3" network: "2.2.2.2" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -92,12 +92,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "32" metric: "3" network: "2.2.2.2" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -107,12 +107,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "32" metric: "4" network: "3.3.3.3" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -122,12 +122,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "32" metric: "4" network: "3.3.3.3" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -137,12 +137,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "32" metric: "2" network: "4.4.4.4" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -152,12 +152,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "32" metric: "2" network: "4.4.4.4" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -167,12 +167,12 @@ parsed_sample: vrf: "default" - distance: "1" encap: "" - mask: "32" metric: "0" network: "7.7.7.7" nexthop_if: "" nexthop_ip: "10.10.50.1" nexthop_vrf: "" + prefix_length: "32" protocol: "static" segid: "" tag: "" @@ -182,12 +182,12 @@ parsed_sample: vrf: "default" - distance: "1" encap: "" - mask: "32" metric: "0" network: "8.8.8.8" nexthop_if: "Vlan1220" nexthop_ip: "10.66.120.1" nexthop_vrf: "" + prefix_length: "32" protocol: "static" segid: "" tag: "100" @@ -197,12 +197,12 @@ parsed_sample: vrf: "default" - distance: "170" encap: "" - mask: "32" metric: "51712" network: "10.0.255.1" nexthop_if: "Eth1/1" nexthop_ip: "10.24.1.74" nexthop_vrf: "" + prefix_length: "32" protocol: "eigrp-NAMED" segid: "" tag: "65422" @@ -212,12 +212,12 @@ parsed_sample: vrf: "default" - distance: "170" encap: "" - mask: "32" metric: "51712" network: "10.0.255.1" nexthop_if: "Eth1/3" nexthop_ip: "10.24.2.76" nexthop_vrf: "" + prefix_length: "32" protocol: "eigrp-NAMED" segid: "" tag: "65422" @@ -227,12 +227,12 @@ parsed_sample: vrf: "default" - distance: "170" encap: "" - mask: "32" metric: "51712" network: "10.0.255.1" nexthop_if: "Eth2/11" nexthop_ip: "10.24.2.154" nexthop_vrf: "" + prefix_length: "32" protocol: "eigrp-NAMED" segid: "" tag: "65422" @@ -242,12 +242,12 @@ parsed_sample: vrf: "default" - distance: "170" encap: "" - mask: "25" metric: "3072" network: "10.1.17.128" nexthop_if: "Eth1/1" nexthop_ip: "10.24.1.74" nexthop_vrf: "" + prefix_length: "25" protocol: "eigrp-NAMED" segid: "" tag: "" @@ -257,12 +257,12 @@ parsed_sample: vrf: "default" - distance: "170" encap: "" - mask: "25" metric: "3072" network: "10.1.17.128" nexthop_if: "Eth1/3" nexthop_ip: "10.24.2.76" nexthop_vrf: "" + prefix_length: "25" protocol: "eigrp-NAMED" segid: "" tag: "" @@ -272,12 +272,12 @@ parsed_sample: vrf: "default" - distance: "170" encap: "" - mask: "25" metric: "3072" network: "10.1.17.128" nexthop_if: "Eth2/11" nexthop_ip: "10.24.2.154" nexthop_vrf: "" + prefix_length: "25" protocol: "eigrp-NAMED" segid: "" tag: "" @@ -287,12 +287,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "24" metric: "0" network: "10.10.10.0" nexthop_if: "Vlan5" nexthop_ip: "10.10.10.1" nexthop_vrf: "" + prefix_length: "24" protocol: "direct" segid: "" tag: "" @@ -302,12 +302,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "10.10.10.1" nexthop_if: "Vlan5" nexthop_ip: "10.10.10.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -317,12 +317,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "24" metric: "0" network: "10.10.30.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.1" nexthop_vrf: "" + prefix_length: "24" protocol: "direct" segid: "" tag: "" @@ -332,12 +332,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "10.10.30.1" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -347,12 +347,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "24" metric: "0" network: "10.10.40.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.1" nexthop_vrf: "" + prefix_length: "24" protocol: "direct" segid: "" tag: "" @@ -362,12 +362,12 @@ parsed_sample: vrf: "default" - distance: "0" encap: "" - mask: "32" metric: "0" network: "10.10.40.1" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -377,12 +377,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.50.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -392,12 +392,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.50.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -407,12 +407,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.60.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -422,12 +422,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.60.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -437,12 +437,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.70.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -452,12 +452,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.70.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -467,12 +467,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.80.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -482,12 +482,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.80.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -497,12 +497,12 @@ parsed_sample: vrf: "default" - distance: "220" encap: "" - mask: "21" metric: "10" network: "10.71.0.0" nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" + prefix_length: "21" protocol: "ospf-1" segid: "" tag: "" @@ -512,12 +512,12 @@ parsed_sample: vrf: "default" - distance: "150" encap: "VXLAN" - mask: "16" metric: "51712" network: "10.151.0.0" nexthop_if: "" nexthop_ip: "172.24.0.240" nexthop_vrf: "default" + prefix_length: "16" protocol: "bgp-65004" segid: "10000" tag: "65004 (evpn)" @@ -527,12 +527,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "29" metric: "10" network: "10.218.139.240" nexthop_if: "Po1" nexthop_ip: "10.62.2.30" nexthop_vrf: "" + prefix_length: "29" protocol: "ospf-1" segid: "" tag: "888" @@ -542,12 +542,12 @@ parsed_sample: vrf: "default" - distance: "110" encap: "" - mask: "29" metric: "10" network: "10.218.139.240" nexthop_if: "Po1" nexthop_ip: "10.62.2.34" nexthop_vrf: "" + prefix_length: "29" protocol: "ospf-1" segid: "" tag: "888" @@ -557,12 +557,12 @@ parsed_sample: vrf: "default" - distance: "1" encap: "" - mask: "0" metric: "0" network: "0.0.0.0" nexthop_if: "" nexthop_ip: "10.1.100.1" nexthop_vrf: "management" + prefix_length: "0" protocol: "static" segid: "" tag: "" @@ -572,12 +572,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.1" nexthop_if: "Lo1" nexthop_ip: "1.1.1.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -587,12 +587,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.1" nexthop_if: "Lo1" nexthop_ip: "1.1.1.1" nexthop_vrf: "" + prefix_length: "32" protocol: "direct" segid: "" tag: "" @@ -602,12 +602,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.10" nexthop_if: "Lo10" nexthop_ip: "1.1.1.10" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -617,12 +617,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "1.1.1.10" nexthop_if: "Lo10" nexthop_ip: "1.1.1.10" nexthop_vrf: "" + prefix_length: "32" protocol: "direct" segid: "" tag: "" @@ -632,12 +632,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "32" metric: "3" network: "2.2.2.2" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -647,12 +647,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "32" metric: "3" network: "2.2.2.2" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -662,12 +662,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "32" metric: "4" network: "3.3.3.3" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -677,12 +677,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "32" metric: "4" network: "3.3.3.3" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -692,12 +692,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "32" metric: "2" network: "4.4.4.4" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -707,12 +707,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "32" metric: "2" network: "4.4.4.4" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "32" protocol: "ospf-10" segid: "" tag: "" @@ -722,12 +722,12 @@ parsed_sample: vrf: "RED" - distance: "1" encap: "" - mask: "32" metric: "0" network: "7.7.7.7" nexthop_if: "" nexthop_ip: "10.10.50.1" nexthop_vrf: "" + prefix_length: "32" protocol: "static" segid: "" tag: "" @@ -737,12 +737,12 @@ parsed_sample: vrf: "RED" - distance: "1" encap: "" - mask: "32" metric: "0" network: "8.8.8.8" nexthop_if: "Vlan1220" nexthop_ip: "10.66.120.1" nexthop_vrf: "" + prefix_length: "32" protocol: "static" segid: "" tag: "100" @@ -752,12 +752,12 @@ parsed_sample: vrf: "RED" - distance: "170" encap: "" - mask: "32" metric: "51712" network: "10.0.255.1" nexthop_if: "Eth1/1" nexthop_ip: "10.24.1.74" nexthop_vrf: "" + prefix_length: "32" protocol: "eigrp-NAMED" segid: "" tag: "65422" @@ -767,12 +767,12 @@ parsed_sample: vrf: "RED" - distance: "170" encap: "" - mask: "32" metric: "51712" network: "10.0.255.1" nexthop_if: "Eth1/3" nexthop_ip: "10.24.2.76" nexthop_vrf: "" + prefix_length: "32" protocol: "eigrp-NAMED" segid: "" tag: "65422" @@ -782,12 +782,12 @@ parsed_sample: vrf: "RED" - distance: "170" encap: "" - mask: "32" metric: "51712" network: "10.0.255.1" nexthop_if: "Eth2/11" nexthop_ip: "10.24.2.154" nexthop_vrf: "" + prefix_length: "32" protocol: "eigrp-NAMED" segid: "" tag: "65422" @@ -797,12 +797,12 @@ parsed_sample: vrf: "RED" - distance: "170" encap: "" - mask: "25" metric: "3072" network: "10.1.17.128" nexthop_if: "Eth1/1" nexthop_ip: "10.24.1.74" nexthop_vrf: "" + prefix_length: "25" protocol: "eigrp-NAMED" segid: "" tag: "" @@ -812,12 +812,12 @@ parsed_sample: vrf: "RED" - distance: "170" encap: "" - mask: "25" metric: "3072" network: "10.1.17.128" nexthop_if: "Eth1/3" nexthop_ip: "10.24.2.76" nexthop_vrf: "" + prefix_length: "25" protocol: "eigrp-NAMED" segid: "" tag: "" @@ -827,12 +827,12 @@ parsed_sample: vrf: "RED" - distance: "170" encap: "" - mask: "25" metric: "3072" network: "10.1.17.128" nexthop_if: "Eth2/11" nexthop_ip: "10.24.2.154" nexthop_vrf: "" + prefix_length: "25" protocol: "eigrp-NAMED" segid: "" tag: "" @@ -842,12 +842,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "24" metric: "0" network: "10.10.10.0" nexthop_if: "Vlan5" nexthop_ip: "10.10.10.1" nexthop_vrf: "" + prefix_length: "24" protocol: "direct" segid: "" tag: "" @@ -857,12 +857,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "10.10.10.1" nexthop_if: "Vlan5" nexthop_ip: "10.10.10.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -872,12 +872,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "24" metric: "0" network: "10.10.30.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.1" nexthop_vrf: "" + prefix_length: "24" protocol: "direct" segid: "" tag: "" @@ -887,12 +887,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "10.10.30.1" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -902,12 +902,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "24" metric: "0" network: "10.10.40.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.1" nexthop_vrf: "" + prefix_length: "24" protocol: "direct" segid: "" tag: "" @@ -917,12 +917,12 @@ parsed_sample: vrf: "RED" - distance: "0" encap: "" - mask: "32" metric: "0" network: "10.10.40.1" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.1" nexthop_vrf: "" + prefix_length: "32" protocol: "local" segid: "" tag: "" @@ -932,12 +932,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.50.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -947,12 +947,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.50.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -962,12 +962,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.60.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -977,12 +977,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "3" network: "10.10.60.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -992,12 +992,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.70.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -1007,12 +1007,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.70.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -1022,12 +1022,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.80.0" nexthop_if: "Eth2/2" nexthop_ip: "10.10.30.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -1037,12 +1037,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "24" metric: "2" network: "10.10.80.0" nexthop_if: "Eth2/4" nexthop_ip: "10.10.40.2" nexthop_vrf: "" + prefix_length: "24" protocol: "ospf-10" segid: "" tag: "" @@ -1052,12 +1052,12 @@ parsed_sample: vrf: "RED" - distance: "220" encap: "" - mask: "21" metric: "10" network: "10.71.0.0" nexthop_if: "Null0" nexthop_ip: "" nexthop_vrf: "" + prefix_length: "21" protocol: "ospf-1" segid: "" tag: "" @@ -1067,12 +1067,12 @@ parsed_sample: vrf: "RED" - distance: "150" encap: "VXLAN" - mask: "16" metric: "51712" network: "10.151.0.0" nexthop_if: "" nexthop_ip: "172.24.0.240" nexthop_vrf: "default" + prefix_length: "16" protocol: "bgp-65004" segid: "10000" tag: "65004 (evpn)" @@ -1082,12 +1082,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "29" metric: "10" network: "10.218.139.240" nexthop_if: "Po1" nexthop_ip: "10.62.2.30" nexthop_vrf: "" + prefix_length: "29" protocol: "ospf-1" segid: "" tag: "888" @@ -1097,12 +1097,12 @@ parsed_sample: vrf: "RED" - distance: "110" encap: "" - mask: "29" metric: "10" network: "10.218.139.240" nexthop_if: "Po1" nexthop_ip: "10.62.2.34" nexthop_vrf: "" + prefix_length: "29" protocol: "ospf-1" segid: "" tag: "888" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml index c8fe564f09..b239819bf8 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf2.yml @@ -1,47 +1,47 @@ --- parsed_sample: - - vrf: "default" - protocol: "" - type: "" - network: "" - mask: "" - distance: "" + - distance: "" + encap: "" metric: "" - nexthop_ip: "" + network: "" nexthop_if: "" - uptime: "" + nexthop_ip: "" nexthop_vrf: "" - tag: "" + prefix_length: "" + protocol: "" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "" + vrf: "default" + - distance: "20" encap: "" - - vrf: "DMZ" - protocol: "bgp-64512" - type: "external" - network: "0.0.0.0" - mask: "0" - distance: "20" metric: "0" - nexthop_ip: "169.254.0.1" + network: "0.0.0.0" nexthop_if: "" - uptime: "41w6d" + nexthop_ip: "169.254.0.1" nexthop_vrf: "" - tag: "64512" + prefix_length: "0" + protocol: "bgp-64512" segid: "" + tag: "64512" tunnelid: "" - encap: "" - - vrf: "Users" - protocol: "bgp-64512" type: "external" - network: "0.0.0.0" - mask: "0" - distance: "20" + uptime: "41w6d" + vrf: "DMZ" + - distance: "20" + encap: "" metric: "0" - nexthop_ip: "169.254.0.1" + network: "0.0.0.0" nexthop_if: "" - uptime: "41w6d" + nexthop_ip: "169.254.0.1" nexthop_vrf: "DMZ" - tag: "64512" + prefix_length: "0" + protocol: "bgp-64512" segid: "" + tag: "64512" tunnelid: "" - encap: "" + type: "external" + uptime: "41w6d" + vrf: "Users" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml index 50414058c5..130a332873 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf3.yml @@ -1,77 +1,77 @@ --- parsed_sample: - - vrf: "default" - protocol: "static" - type: "" - network: "10.138.224.32" - mask: "28" - distance: "1" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "222.111.19.38" + network: "10.138.224.32" nexthop_if: "" - uptime: "1w0d" + nexthop_ip: "222.111.19.38" nexthop_vrf: "" - tag: "" + prefix_length: "28" + protocol: "static" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "1w0d" + vrf: "default" + - distance: "110" encap: "" - - vrf: "default" - protocol: "ospf-UNDERLAY" - type: "type-1" - network: "10.138.224.32" - mask: "28" - distance: "110" metric: "21" - nexthop_ip: "172.16.2.37" + network: "10.138.224.32" nexthop_if: "Vlan22" - uptime: "3w1d" + nexthop_ip: "172.16.2.37" nexthop_vrf: "" - tag: "" + prefix_length: "28" + protocol: "ospf-UNDERLAY" segid: "" + tag: "" tunnelid: "" + type: "type-1" + uptime: "3w1d" + vrf: "default" + - distance: "1" encap: "" - - vrf: "default" - protocol: "static" - type: "" - network: "152.98.240.64" - mask: "27" - distance: "1" metric: "0" - nexthop_ip: "111.222.236.188" + network: "152.98.240.64" nexthop_if: "" - uptime: "8w4d" + nexthop_ip: "111.222.236.188" nexthop_vrf: "" - tag: "" + prefix_length: "27" + protocol: "static" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "8w4d" + vrf: "default" + - distance: "110" encap: "" - - vrf: "default" - protocol: "ospf-UNDERLAY" - type: "type-1" - network: "152.98.240.64" - mask: "27" - distance: "110" metric: "21" - nexthop_ip: "172.16.2.37" + network: "152.98.240.64" nexthop_if: "Vlan22" - uptime: "3w1d" + nexthop_ip: "172.16.2.37" nexthop_vrf: "" - tag: "" + prefix_length: "27" + protocol: "ospf-UNDERLAY" segid: "" + tag: "" tunnelid: "" + type: "type-1" + uptime: "3w1d" + vrf: "default" + - distance: "1" encap: "" - - vrf: "management" - protocol: "static" - type: "" - network: "0.0.0.0" - mask: "0" - distance: "1" metric: "0" - nexthop_ip: "172.16.170.193" + network: "0.0.0.0" nexthop_if: "" - uptime: "1y16w" + nexthop_ip: "172.16.170.193" nexthop_vrf: "" - tag: "" + prefix_length: "0" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" + type: "" + uptime: "1y16w" + vrf: "management" diff --git a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml index 2b77281f78..e768acb1de 100644 --- a/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml +++ b/tests/cisco_nxos/show_ip_route/cisco_nxos_show_ip_route_vrf4.yml @@ -1,122 +1,122 @@ --- parsed_sample: - - vrf: "default" - protocol: "static" - type: "" - network: "10.0.0.0" - mask: "8" - distance: "1" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "" + network: "10.0.0.0" nexthop_if: "Null0" - uptime: "1y17w" + nexthop_ip: "" nexthop_vrf: "" - tag: "" + prefix_length: "8" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "static" type: "" - network: "111.222.0.0" - mask: "10" - distance: "1" + uptime: "1y17w" + vrf: "default" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "" + network: "111.222.0.0" nexthop_if: "Null0" - uptime: "1y17w" + nexthop_ip: "" nexthop_vrf: "" - tag: "" + prefix_length: "10" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "static" type: "" - network: "22.33.0.0" - mask: "16" - distance: "1" + uptime: "1y17w" + vrf: "default" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "" + network: "22.33.0.0" nexthop_if: "Null0" - uptime: "1y17w" + nexthop_ip: "" nexthop_vrf: "" - tag: "" + prefix_length: "16" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" - - vrf: "default" - protocol: "static" type: "" - network: "44.55.0.11" - mask: "32" - distance: "1" + uptime: "1y17w" + vrf: "default" + - distance: "1" + encap: "" metric: "0" - nexthop_ip: "11.22.159.42" + network: "44.55.0.11" nexthop_if: "" - uptime: "1y16w" + nexthop_ip: "11.22.159.42" nexthop_vrf: "" - tag: "" + prefix_length: "32" + protocol: "static" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "1y16w" + vrf: "default" + - distance: "200" encap: "" - - vrf: "default" - protocol: "bgp-2244" - type: "internal" - network: "44.55.0.11" - mask: "32" - distance: "200" metric: "0" - nexthop_ip: "22.33.0.11" + network: "44.55.0.11" nexthop_if: "" - uptime: "1y16w" + nexthop_ip: "22.33.0.11" nexthop_vrf: "" - tag: "24436 (hidden)" + prefix_length: "32" + protocol: "bgp-2244" segid: "" + tag: "24436 (hidden)" tunnelid: "" + type: "internal" + uptime: "1y16w" + vrf: "default" + - distance: "1" encap: "" - - vrf: "default" - protocol: "static" - type: "" - network: "55.66.0.204" - mask: "30" - distance: "1" metric: "0" - nexthop_ip: "33.44.0.201" + network: "55.66.0.204" nexthop_if: "" - uptime: "1y17w" + nexthop_ip: "33.44.0.201" nexthop_vrf: "" - tag: "" + prefix_length: "30" + protocol: "static" segid: "" + tag: "" tunnelid: "" + type: "" + uptime: "1y17w" + vrf: "default" + - distance: "20" encap: "" - - vrf: "BYPASS" - protocol: "bgp-64512" - type: "external" - network: "0.0.0.0" - mask: "0" - distance: "20" metric: "0" - nexthop_ip: "172.16.0.67" + network: "0.0.0.0" nexthop_if: "" - uptime: "15w5d" + nexthop_ip: "172.16.0.67" nexthop_vrf: "" - tag: "24436" + prefix_length: "0" + protocol: "bgp-64512" segid: "" + tag: "24436" tunnelid: "" + type: "external" + uptime: "15w5d" + vrf: "BYPASS" + - distance: "254" encap: "" - - vrf: "BYPASS" - protocol: "static" - type: "" - network: "0.0.0.0" - mask: "0" - distance: "254" metric: "0" - nexthop_ip: "" + network: "0.0.0.0" nexthop_if: "Null0" - uptime: "1y16w" + nexthop_ip: "" nexthop_vrf: "" - tag: "" + prefix_length: "0" + protocol: "static" segid: "" + tag: "" tunnelid: "" - encap: "" + type: "" + uptime: "1y16w" + vrf: "BYPASS" diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml index f7e8b3b8f3..c610ad86a8 100644 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route.yml @@ -1,342 +1,342 @@ --- parsed_sample: - - vrf: "" - protocol: "S*" - network: "0.0.0.0" - mask: "0" - distance: "1" + - distance: "1" + interface: "" metric: "0" - type: "via" + network: "0.0.0.0" next_hop: "172.16.1.1" - interface: "" + prefix_length: "0" + protocol: "S*" + type: "via" uptime: "04:43:54" - - vrf: "" - protocol: "O" - network: "1.1.1.1" - mask: "32" - distance: "110" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" metric: "0" - type: "via" + network: "1.1.1.1" next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:27" - - vrf: "" + prefix_length: "32" protocol: "O" - network: "1.1.1.1" - mask: "32" - distance: "110" - metric: "9164" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:27" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "9164" + network: "1.1.1.1" + next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" - network: "1.1.1.3" - mask: "32" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" + uptime: "04:43:27" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:21" - - vrf: "" - protocol: "O" + metric: "0" network: "1.1.1.3" - mask: "32" - distance: "110" - metric: "6564" + next_hop: "10.1.1.9" + prefix_length: "32" + protocol: "O" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:21" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "6564" + network: "1.1.1.3" + next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" - network: "1.1.2.1" - mask: "32" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" + uptime: "04:43:21" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:40" - - vrf: "" - protocol: "O" + metric: "0" network: "1.1.2.1" - mask: "32" - distance: "110" - metric: "9163" + next_hop: "10.1.1.9" + prefix_length: "32" + protocol: "O" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:40" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "9163" + network: "1.1.2.1" + next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" - network: "1.1.2.3" - mask: "32" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" uptime: "04:43:40" - - vrf: "" - protocol: "O" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + metric: "0" network: "1.1.2.3" - mask: "32" - distance: "110" - metric: "6563" + next_hop: "10.1.1.9" + prefix_length: "32" + protocol: "O" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:40" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "6563" + network: "1.1.2.3" + next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" - network: "1.1.2.5" - mask: "32" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" uptime: "04:43:40" - - vrf: "" - protocol: "O" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + metric: "0" network: "1.1.2.5" - mask: "32" - distance: "110" - metric: "639" + next_hop: "10.1.1.9" + prefix_length: "32" + protocol: "O" type: "via" - next_hop: "10.1.1.34" + uptime: "04:43:40" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/3" + metric: "639" + network: "1.1.2.5" + next_hop: "10.1.1.34" + prefix_length: "32" + protocol: "O" + type: "via" uptime: "04:43:40" - - vrf: "" - protocol: "L" - network: "1.1.2.6" - mask: "32" - distance: "" + vrf: "" + - distance: "" + interface: "Loopback0" metric: "" - type: "directly" + network: "1.1.2.6" next_hop: "connected" - interface: "Loopback0" + prefix_length: "32" + protocol: "L" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "O" - network: "10.1.0.0" - mask: "30" - distance: "110" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" metric: "0" - type: "via" + network: "10.1.0.0" next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:40" - - vrf: "" + prefix_length: "30" protocol: "O" - network: "10.1.0.0" - mask: "30" - distance: "110" - metric: "9163" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:40" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "9163" + network: "10.1.0.0" + next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" - network: "10.1.0.8" - mask: "30" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" uptime: "04:43:40" - - vrf: "" - protocol: "O" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + metric: "0" network: "10.1.0.8" - mask: "30" - distance: "110" - metric: "6563" + next_hop: "10.1.1.9" + prefix_length: "30" + protocol: "O" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:40" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "6563" + network: "10.1.0.8" + next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" - network: "10.1.1.0" - mask: "30" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" uptime: "04:43:40" - - vrf: "" - protocol: "O" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" + metric: "0" network: "10.1.1.0" - mask: "30" - distance: "110" - metric: "11762" + next_hop: "10.1.1.9" + prefix_length: "30" + protocol: "O" type: "via" - next_hop: "10.1.1.34" + uptime: "04:43:40" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/3" + metric: "11762" + network: "10.1.1.0" + next_hop: "10.1.1.34" + prefix_length: "30" + protocol: "O" + type: "via" uptime: "04:43:40" - - vrf: "" - protocol: "C" - network: "10.1.1.4" - mask: "30" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/1" metric: "" - type: "directly" + network: "10.1.1.4" next_hop: "connected" - interface: "GigabitEthernet0/0/0/1" + prefix_length: "30" + protocol: "C" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "L" - network: "10.1.1.6" - mask: "32" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/1" metric: "" - type: "directly" + network: "10.1.1.6" next_hop: "connected" - interface: "GigabitEthernet0/0/0/1" + prefix_length: "32" + protocol: "L" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "C" - network: "10.1.1.8" - mask: "30" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/0" metric: "" - type: "directly" + network: "10.1.1.8" next_hop: "connected" - interface: "GigabitEthernet0/0/0/0" + prefix_length: "30" + protocol: "C" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "L" - network: "10.1.1.10" - mask: "32" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/0" metric: "" - type: "directly" + network: "10.1.1.10" next_hop: "connected" - interface: "GigabitEthernet0/0/0/0" + prefix_length: "32" + protocol: "L" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "O" - network: "10.1.1.12" - mask: "30" - distance: "110" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/0" metric: "0" - type: "via" + network: "10.1.1.12" next_hop: "10.1.1.9" - interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:40" - - vrf: "" + prefix_length: "30" protocol: "O" - network: "10.1.1.12" - mask: "30" - distance: "110" - metric: "9162" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:40" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "9162" + network: "10.1.1.12" + next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" - network: "10.1.1.20" - mask: "30" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" + uptime: "04:43:40" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:41" - - vrf: "" - protocol: "O" + metric: "0" network: "10.1.1.20" - mask: "30" - distance: "110" - metric: "6562" + next_hop: "10.1.1.9" + prefix_length: "30" + protocol: "O" type: "via" - next_hop: "10.1.1.34" - interface: "GigabitEthernet0/0/0/3" uptime: "04:43:41" - - vrf: "" + vrf: "" + - distance: "110" + interface: "GigabitEthernet0/0/0/3" + metric: "6562" + network: "10.1.1.20" + next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" - network: "10.1.1.24" - mask: "30" - distance: "110" - metric: "0" type: "via" - next_hop: "10.1.1.9" + uptime: "04:43:41" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/0" - uptime: "04:43:40" - - vrf: "" - protocol: "O" + metric: "0" network: "10.1.1.24" - mask: "30" - distance: "110" - metric: "709" + next_hop: "10.1.1.9" + prefix_length: "30" + protocol: "O" type: "via" - next_hop: "10.1.1.34" + uptime: "04:43:40" + vrf: "" + - distance: "110" interface: "GigabitEthernet0/0/0/3" + metric: "709" + network: "10.1.1.24" + next_hop: "10.1.1.34" + prefix_length: "30" + protocol: "O" + type: "via" uptime: "04:43:40" - - vrf: "" - protocol: "C" - network: "10.1.1.28" - mask: "30" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/2" metric: "" - type: "directly" + network: "10.1.1.28" next_hop: "connected" - interface: "GigabitEthernet0/0/0/2" + prefix_length: "30" + protocol: "C" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "L" - network: "10.1.1.30" - mask: "32" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/2" metric: "" - type: "directly" + network: "10.1.1.30" next_hop: "connected" - interface: "GigabitEthernet0/0/0/2" + prefix_length: "32" + protocol: "L" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "C" - network: "10.1.1.32" - mask: "30" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/3" metric: "" - type: "directly" + network: "10.1.1.32" next_hop: "connected" - interface: "GigabitEthernet0/0/0/3" + prefix_length: "30" + protocol: "C" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "L" - network: "10.1.1.33" - mask: "32" - distance: "" + vrf: "" + - distance: "" + interface: "GigabitEthernet0/0/0/3" metric: "" - type: "directly" + network: "10.1.1.33" next_hop: "connected" - interface: "GigabitEthernet0/0/0/3" + prefix_length: "32" + protocol: "L" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "C" - network: "172.16.1.0" - mask: "24" - distance: "" + vrf: "" + - distance: "" + interface: "MgmtEth0/0/CPU0/0" metric: "" - type: "directly" + network: "172.16.1.0" next_hop: "connected" - interface: "MgmtEth0/0/CPU0/0" + prefix_length: "24" + protocol: "C" + type: "directly" uptime: "04:43:54" - - vrf: "" - protocol: "L" - network: "172.16.1.120" - mask: "32" - distance: "" + vrf: "" + - distance: "" + interface: "MgmtEth0/0/CPU0/0" metric: "" - type: "directly" + network: "172.16.1.120" next_hop: "connected" - interface: "MgmtEth0/0/CPU0/0" + prefix_length: "32" + protocol: "L" + type: "directly" uptime: "04:43:54" + vrf: "" diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml index 47d6821c89..279ad42ece 100644 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route2.yml @@ -1,72 +1,72 @@ --- parsed_sample: - - vrf: "" - protocol: "S*" - network: "0.0.0.0" - mask: "0" - distance: "1" + - distance: "1" + interface: "" metric: "0" - type: "via" + network: "0.0.0.0" next_hop: "10.72.0.1" - interface: "" + prefix_length: "0" + protocol: "S*" + type: "via" uptime: "4d01h" - - vrf: "" - protocol: "B" - network: "10.39.0.0" - mask: "16" - distance: "20" + vrf: "" + - distance: "20" + interface: "" metric: "0" - type: "via" + network: "10.39.0.0" next_hop: "192.168.50.1" - interface: "" + prefix_length: "16" + protocol: "B" + type: "via" uptime: "1w4d" - - vrf: "" - protocol: "D EX" - network: "10.14.0.0" - mask: "16" - distance: "170" + vrf: "" + - distance: "170" + interface: "TenGigE0/0/0/1.5" metric: "153600" - type: "via" + network: "10.14.0.0" next_hop: "192.168.150.130" - interface: "TenGigE0/0/0/1.5" - uptime: "14:56:35" - - vrf: "" + prefix_length: "16" protocol: "D EX" - network: "10.14.0.0" - mask: "16" - distance: "170" - metric: "153600" type: "via" - next_hop: "192.168.150.134" + uptime: "14:56:35" + vrf: "" + - distance: "170" interface: "TenGigE0/0/0/2.5" - uptime: "6d21h" - - vrf: "" - protocol: "D EX" - network: "10.14.0.0" - mask: "16" - distance: "170" metric: "153600" + network: "10.14.0.0" + next_hop: "192.168.150.134" + prefix_length: "16" + protocol: "D EX" type: "via" - next_hop: "192.168.150.138" - interface: "TenGigE0/0/0/3.5" uptime: "6d21h" - - vrf: "" - protocol: "D EX" - network: "10.14.0.0" - mask: "16" - distance: "170" + vrf: "" + - distance: "170" + interface: "TenGigE0/0/0/3.5" metric: "153600" + network: "10.14.0.0" + next_hop: "192.168.150.138" + prefix_length: "16" + protocol: "D EX" type: "via" - next_hop: "192.168.150.142" + uptime: "6d21h" + vrf: "" + - distance: "170" interface: "TenGigE0/0/0/4.5" + metric: "153600" + network: "10.14.0.0" + next_hop: "192.168.150.142" + prefix_length: "16" + protocol: "D EX" + type: "via" uptime: "6d21h" - - vrf: "" - protocol: "B" - network: "10.15.0.0" - mask: "16" - distance: "20" + vrf: "" + - distance: "20" + interface: "" metric: "0" - type: "via" + network: "10.15.0.0" next_hop: "192.168.250.130" - interface: "" + prefix_length: "16" + protocol: "B" + type: "via" uptime: "1y03w" + vrf: "" diff --git a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml index 81f729ab61..2b6b9633a0 100644 --- a/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml +++ b/tests/cisco_xr/show_ip_route/cisco_xr_show_ip_route_vrf.yml @@ -2,490 +2,490 @@ parsed_sample: - distance: "1" interface: "" - mask: "0" metric: "0" network: "0.0.0.0" next_hop: "172.16.1.1" + prefix_length: "0" protocol: "S*" type: "via" uptime: "04:43:54" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "0" network: "1.1.1.1" next_hop: "10.1.1.9" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:27" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "32" metric: "9164" network: "1.1.1.1" next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:27" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "0" network: "1.1.1.3" next_hop: "10.1.1.9" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:21" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "32" metric: "6564" network: "1.1.1.3" next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:21" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "0" network: "1.1.2.1" next_hop: "10.1.1.9" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "32" metric: "9163" network: "1.1.2.1" next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "0" network: "1.1.2.3" next_hop: "10.1.1.9" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "32" metric: "6563" network: "1.1.2.3" next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "0" network: "1.1.2.5" next_hop: "10.1.1.9" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "32" metric: "639" network: "1.1.2.5" next_hop: "10.1.1.34" + prefix_length: "32" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "" interface: "Loopback0" - mask: "32" metric: "" network: "1.1.2.6" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "0" network: "10.1.0.0" next_hop: "10.1.1.9" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "9163" network: "10.1.0.0" next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "0" network: "10.1.0.8" next_hop: "10.1.1.9" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "6563" network: "10.1.0.8" next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "0" network: "10.1.1.0" next_hop: "10.1.1.9" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "11762" network: "10.1.1.0" next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/1" - mask: "30" metric: "" network: "10.1.1.4" next_hop: "connected" + prefix_length: "30" protocol: "C" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/1" - mask: "32" metric: "" network: "10.1.1.6" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "" network: "10.1.1.8" next_hop: "connected" + prefix_length: "30" protocol: "C" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "" network: "10.1.1.10" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "0" network: "10.1.1.12" next_hop: "10.1.1.9" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "9162" network: "10.1.1.12" next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "0" network: "10.1.1.20" next_hop: "10.1.1.9" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:41" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "6562" network: "10.1.1.20" next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:41" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "30" metric: "0" network: "10.1.1.24" next_hop: "10.1.1.9" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "110" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "709" network: "10.1.1.24" next_hop: "10.1.1.34" + prefix_length: "30" protocol: "O" type: "via" uptime: "04:43:40" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/2" - mask: "30" metric: "" network: "10.1.1.28" next_hop: "connected" + prefix_length: "30" protocol: "C" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/2" - mask: "32" metric: "" network: "10.1.1.30" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/3" - mask: "30" metric: "" network: "10.1.1.32" next_hop: "connected" + prefix_length: "30" protocol: "C" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "GigabitEthernet0/0/0/3" - mask: "32" metric: "" network: "10.1.1.33" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "MgmtEth0/0/CPU0/0" - mask: "24" metric: "" network: "172.16.1.0" next_hop: "connected" + prefix_length: "24" protocol: "C" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "MgmtEth0/0/CPU0/0" - mask: "32" metric: "" network: "172.16.1.120" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "04:43:54" vrf: "example555" - distance: "" interface: "Loopback44" - mask: "32" metric: "" network: "10.1.0.10" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "1w1d" vrf: "VRF10" - distance: "200" interface: "vrf default" - mask: "32" metric: "0" network: "10.1.0.15" next_hop: "10.1.0.15" + prefix_length: "32" protocol: "B" type: "via" uptime: "3w1d" vrf: "VRF10" - distance: "200" interface: "vrf default" - mask: "32" metric: "0" network: "10.1.0.20" next_hop: "10.1.0.20" + prefix_length: "32" protocol: "B" type: "via" uptime: "3w1d" vrf: "VRF10" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "29" metric: "110" network: "10.7.1.0" next_hop: "10.2.2.3" + prefix_length: "29" protocol: "O" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "29" metric: "110" network: "10.7.1.0" next_hop: "10.2.2.4" + prefix_length: "29" protocol: "O" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "24" metric: "110" network: "10.2.0.0" next_hop: "10.2.2.3" + prefix_length: "24" protocol: "O" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "24" metric: "110" network: "10.2.0.0" next_hop: "10.2.2.4" + prefix_length: "24" protocol: "O" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "29" metric: "110" network: "10.2.1.0" next_hop: "10.2.2.3" + prefix_length: "29" protocol: "O" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "29" metric: "110" network: "10.2.1.0" next_hop: "10.2.2.4" + prefix_length: "29" protocol: "O" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "" interface: "GigabitEthernet0/0/0/0" - mask: "29" metric: "" network: "10.2.2.0" next_hop: "connected" + prefix_length: "29" protocol: "C" type: "directly" uptime: "1w5d" vrf: "ThirdExample" - distance: "" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "" network: "10.2.2.1" next_hop: "connected" + prefix_length: "32" protocol: "L" type: "directly" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "110" network: "10.2.10.2" next_hop: "10.2.2.3" + prefix_length: "32" protocol: "O E1" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "110" interface: "GigabitEthernet0/0/0/0" - mask: "32" metric: "110" network: "10.2.10.2" next_hop: "10.2.2.4" + prefix_length: "32" protocol: "O E1" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "200" interface: "vrf default" - mask: "24" metric: "110" network: "10.3.0.0" next_hop: "10.1.0.25" + prefix_length: "24" protocol: "B" type: "via" uptime: "1w5d" vrf: "ThirdExample" - distance: "200" interface: "vrf default" - mask: "29" metric: "0" network: "10.3.1.0" next_hop: "10.1.0.25" + prefix_length: "29" protocol: "B" type: "via" uptime: "1w5d" diff --git a/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml index dfd6a64cb7..391a7b4427 100644 --- a/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml +++ b/tests/hp_comware/display_ip_routing-table/hp_comware_display_ip_routing-table.yml @@ -1,219 +1,219 @@ --- parsed_sample: - - network: "0.0.0.0" - mask: "32" - protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "0.0.0.0" nexthop_if: "InLoop0" - - network: "9.72.47.0" - mask: "24" - protocal: "OSPF" - distance: "150" + nexthop_ip: "127.0.0.1" + prefix_length: "32" + protocal: "Direct" + - distance: "150" metric: "1" - nexthop_ip: "172.16.43.2" + network: "9.72.47.0" nexthop_if: "Vlan1600" - - network: "9.72.47.0" - mask: "24" + nexthop_ip: "172.16.43.2" + prefix_length: "24" protocal: "OSPF" - distance: "150" + - distance: "150" metric: "1" - nexthop_ip: "172.16.43.6" + network: "9.72.47.0" nexthop_if: "Vlan1601" - - network: "10.1.0.0" - mask: "16" + nexthop_ip: "172.16.43.6" + prefix_length: "24" protocal: "OSPF" - distance: "10" + - distance: "10" metric: "14" - nexthop_ip: "172.16.43.2" + network: "10.1.0.0" nexthop_if: "Vlan1600" - - network: "10.1.0.0" - mask: "16" + nexthop_ip: "172.16.43.2" + prefix_length: "16" protocal: "OSPF" - distance: "10" + - distance: "10" metric: "14" - nexthop_ip: "172.16.43.6" + network: "10.1.0.0" nexthop_if: "Vlan1601" - - network: "10.1.14.0" - mask: "24" - protocal: "Static" - distance: "60" + nexthop_ip: "172.16.43.6" + prefix_length: "16" + protocal: "OSPF" + - distance: "60" metric: "0" - nexthop_ip: "172.16.39.2" + network: "10.1.14.0" nexthop_if: "Vlan1920" - - network: "0.0.0.0" - mask: "0" + nexthop_ip: "172.16.39.2" + prefix_length: "24" protocal: "Static" - distance: "60" + - distance: "60" metric: "0" - nexthop_ip: "192.168.56.1" + network: "0.0.0.0" nexthop_if: "GE0/1" - - network: "1.1.1.0" - mask: "24" + nexthop_ip: "192.168.56.1" + prefix_length: "0" protocal: "Static" - distance: "60" + - distance: "60" metric: "0" - nexthop_ip: "192.168.56.1" + network: "1.1.1.0" nexthop_if: "GE0/1" - - network: "1.1.1.0" - mask: "24" + nexthop_ip: "192.168.56.1" + prefix_length: "24" protocal: "Static" - distance: "60" + - distance: "60" metric: "0" - nexthop_ip: "192.168.56.2" + network: "1.1.1.0" nexthop_if: "GE0/2" - - network: "1.1.1.0" - mask: "24" + nexthop_ip: "192.168.56.2" + prefix_length: "24" protocal: "Static" - distance: "60" + - distance: "60" metric: "0" - nexthop_ip: "192.168.56.3" + network: "1.1.1.0" nexthop_if: "GE0/3" - - network: "127.0.0.0" - mask: "8" - protocal: "Direct" - distance: "0" + nexthop_ip: "192.168.56.3" + prefix_length: "24" + protocal: "Static" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "127.0.0.0" nexthop_if: "InLoop0" - - network: "127.0.0.0" - mask: "32" + nexthop_ip: "127.0.0.1" + prefix_length: "8" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "127.0.0.0" nexthop_if: "InLoop0" - - network: "127.0.0.1" - mask: "32" + nexthop_ip: "127.0.0.1" + prefix_length: "32" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "127.0.0.1" nexthop_if: "InLoop0" - - network: "127.255.255.255" - mask: "32" + nexthop_ip: "127.0.0.1" + prefix_length: "32" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "127.255.255.255" nexthop_if: "InLoop0" - - network: "192.168.56.0" - mask: "24" + nexthop_ip: "127.0.0.1" + prefix_length: "32" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "192.168.56.101" + network: "192.168.56.0" nexthop_if: "GE0/1" - - network: "192.168.56.0" - mask: "32" + nexthop_ip: "192.168.56.101" + prefix_length: "24" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "192.168.56.101" + network: "192.168.56.0" nexthop_if: "GE0/1" - - network: "192.168.56.101" - mask: "32" + nexthop_ip: "192.168.56.101" + prefix_length: "32" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "192.168.56.101" nexthop_if: "InLoop0" - - network: "192.168.56.255" - mask: "32" + nexthop_ip: "127.0.0.1" + prefix_length: "32" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "192.168.56.101" + network: "192.168.56.255" nexthop_if: "GE0/1" - - network: "224.0.0.0" - mask: "4" + nexthop_ip: "192.168.56.101" + prefix_length: "32" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "0.0.0.0" + network: "224.0.0.0" nexthop_if: "NULL0" - - network: "224.0.0.0" - mask: "24" + nexthop_ip: "0.0.0.0" + prefix_length: "4" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "0.0.0.0" + network: "224.0.0.0" nexthop_if: "NULL0" - - network: "255.255.255.255" - mask: "32" + nexthop_ip: "0.0.0.0" + prefix_length: "24" protocal: "Direct" - distance: "0" + - distance: "0" metric: "0" - nexthop_ip: "127.0.0.1" + network: "255.255.255.255" nexthop_if: "InLoop0" - - network: "9.72.47.0" - mask: "24" - protocal: "BGP" - distance: "130" + nexthop_ip: "127.0.0.1" + prefix_length: "32" + protocal: "Direct" + - distance: "130" metric: "0" - nexthop_ip: "172.16.42.221" + network: "9.72.47.0" nexthop_if: "GE0/0/9" - - network: "9.72.47.0" - mask: "24" + nexthop_ip: "172.16.42.221" + prefix_length: "24" protocal: "BGP" - distance: "130" + - distance: "130" metric: "0" - nexthop_ip: "172.16.42.229" + network: "9.72.47.0" nexthop_if: "GE0/0/10" - - network: "10.1.0.0" - mask: "16" - protocal: "OSPF" - distance: "10" + nexthop_ip: "172.16.42.229" + prefix_length: "24" + protocal: "BGP" + - distance: "10" metric: "13" - nexthop_ip: "172.16.43.82" + network: "10.1.0.0" nexthop_if: "GE0/0/45" - - network: "10.1.14.0" - mask: "24" - protocal: "O_ASE" - distance: "150" + nexthop_ip: "172.16.43.82" + prefix_length: "16" + protocal: "OSPF" + - distance: "150" metric: "1" - nexthop_ip: "172.16.43.1" + network: "10.1.14.0" nexthop_if: "RAGG40" - - network: "10.1.208.0" - mask: "20" + nexthop_ip: "172.16.43.1" + prefix_length: "24" protocal: "O_ASE" - distance: "150" + - distance: "150" metric: "1" - nexthop_ip: "172.16.43.82" + network: "10.1.208.0" nexthop_if: "GE0/0/45" - - network: "10.210.0.0" - mask: "16" - protocal: "BGP" - distance: "130" + nexthop_ip: "172.16.43.82" + prefix_length: "20" + protocal: "O_ASE" + - distance: "130" metric: "0" - nexthop_ip: "10.6.12.106" + network: "10.210.0.0" nexthop_if: "GE9/1/3.1132" - - network: "10.210.4.0" - mask: "24" + nexthop_ip: "10.6.12.106" + prefix_length: "16" protocal: "BGP" - distance: "130" + - distance: "130" metric: "0" - nexthop_ip: "172.16.42.221" + network: "10.210.4.0" nexthop_if: "GE0/0/9" - - network: "10.210.4.0" - mask: "24" + nexthop_ip: "172.16.42.221" + prefix_length: "24" protocal: "BGP" - distance: "130" + - distance: "130" metric: "0" - nexthop_ip: "172.16.42.229" + network: "10.210.4.0" nexthop_if: "GE0/0/10" - - network: "10.210.4.201" - mask: "32" - protocal: "O_ASE" - distance: "150" + nexthop_ip: "172.16.42.229" + prefix_length: "24" + protocal: "BGP" + - distance: "150" metric: "1" - nexthop_ip: "172.16.43.10" + network: "10.210.4.201" nexthop_if: "RAGG44" - - network: "10.211.0.0" - mask: "16" - protocal: "BGP" - distance: "130" + nexthop_ip: "172.16.43.10" + prefix_length: "32" + protocal: "O_ASE" + - distance: "130" metric: "0" - nexthop_ip: "10.6.12.86" + network: "10.211.0.0" nexthop_if: "GE9/1/1.1114" + nexthop_ip: "10.6.12.86" + prefix_length: "16" + protocal: "BGP" diff --git a/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml index d878878b67..397643d920 100644 --- a/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml +++ b/tests/ubiquiti_edgerouter/show_ip_route/ubiquiti_edgerouter_show_ip_route.yml @@ -1,51 +1,51 @@ --- parsed_sample: - code: "S" - ip: "0.0.0.0" - cidr: "0" distance: "50" + interface: "pppoe4" + ip: "0.0.0.0" metric: "0" nexthop_ip: "" - interface: "pppoe4" + prefix_length: "0" - code: "S" - ip: "22.22.23.0" - cidr: "24" distance: "1" + interface: "pppoe4" + ip: "22.22.23.0" metric: "0" nexthop_ip: "198.168.0.1" - interface: "pppoe4" + prefix_length: "24" - code: "S" - ip: "23.23.23.0" - cidr: "24" distance: "1" + interface: "pppoe4" + ip: "23.23.23.0" metric: "0" nexthop_ip: "198.168.0.1" - interface: "pppoe4" + prefix_length: "24" - code: "C" - ip: "23.90.232.243" - cidr: "32" distance: "" + interface: "pppoe4" + ip: "23.90.232.243" metric: "" nexthop_ip: "" - interface: "pppoe4" + prefix_length: "32" - code: "S" - ip: "25.22.23.0" - cidr: "24" distance: "35" + interface: "pppoe4" + ip: "25.22.23.0" metric: "0" nexthop_ip: "198.168.0.1" - interface: "pppoe4" + prefix_length: "24" - code: "C" - ip: "100.95.11.96" - cidr: "32" distance: "" + interface: "pppoe4" + ip: "100.95.11.96" metric: "" nexthop_ip: "" - interface: "pppoe4" + prefix_length: "32" - code: "C" - ip: "127.0.0.0" - cidr: "8" distance: "" + interface: "lo" + ip: "127.0.0.0" metric: "" nexthop_ip: "" - interface: "lo" + prefix_length: "8" diff --git a/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml b/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml index f8262e0577..2068bdc0f6 100644 --- a/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml +++ b/tests/yamaha/show_ip_route/yamaha_show_ip_route.yml @@ -1,62 +1,62 @@ --- parsed_sample: - - network: "default" - mask: "" - nexthop_ip: "-" + - additional_info: "" + network: "default" nexthop_if: "PP[01]" + nexthop_ip: "-" + prefix_length: "" protocol: "static" - additional_info: "" - - network: "10.0.0.0" - mask: "8" - nexthop_ip: "192.168.1.254" + - additional_info: "k(1)" + network: "10.0.0.0" nexthop_if: "LAN2" + nexthop_ip: "192.168.1.254" + prefix_length: "8" protocol: "static" - additional_info: "k(1)" - - network: "10.0.0.0" - mask: "8" - nexthop_ip: "192.168.1.253" + - additional_info: "w(0)" + network: "10.0.0.0" nexthop_if: "LAN2" - protocol: "static" - additional_info: "w(0)" - - network: "10.1.0.0" - mask: "24" nexthop_ip: "192.168.1.253" + prefix_length: "8" + protocol: "static" + - additional_info: "cost=2" + network: "10.1.0.0" nexthop_if: "LAN2" + nexthop_ip: "192.168.1.253" + prefix_length: "24" protocol: "OSPF" - additional_info: "cost=2" - - network: "10.2.0.0" - mask: "24" - nexthop_ip: "192.168.1.252" + - additional_info: "cost=2" + network: "10.2.0.0" nexthop_if: "LAN2" + nexthop_ip: "192.168.1.252" + prefix_length: "24" protocol: "OSPF" - additional_info: "cost=2" - - network: "203.0.113.2" - mask: "32" - nexthop_ip: "-" + - additional_info: "" + network: "203.0.113.2" nexthop_if: "PP[01]" - protocol: "implicit" - additional_info: "" - - network: "169.254.1.1" - mask: "30" nexthop_ip: "-" + prefix_length: "32" + protocol: "implicit" + - additional_info: "" + network: "169.254.1.1" nexthop_if: "TUNNEL[1]" + nexthop_ip: "-" + prefix_length: "30" protocol: "implicit" - additional_info: "" - - network: "192.168.1.0" - mask: "24" - nexthop_ip: "192.168.1.8" + - additional_info: "" + network: "192.168.1.0" nexthop_if: "LAN2" + nexthop_ip: "192.168.1.8" + prefix_length: "24" protocol: "implicit" - additional_info: "" - - network: "192.168.100.0" - mask: "24" - nexthop_ip: "192.168.100.1" + - additional_info: "" + network: "192.168.100.0" nexthop_if: "LAN1" + nexthop_ip: "192.168.100.1" + prefix_length: "24" protocol: "implicit" - additional_info: "" - - network: "203.0.113.1" - mask: "32" - nexthop_ip: "-" + - additional_info: "" + network: "203.0.113.1" nexthop_if: "PP[01]" + nexthop_ip: "-" + prefix_length: "32" protocol: "temporary" - additional_info: ""