Skip to content

Commit

Permalink
Merge branch 'master' into oneaccess_fifth_5
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcgill298 authored Jul 25, 2024
2 parents 1f8deaf + 9fc1784 commit e0ffa13
Show file tree
Hide file tree
Showing 351 changed files with 26,435 additions and 853 deletions.
6 changes: 3 additions & 3 deletions docs/dev/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,11 @@ The branching policy includes the following tenets:
- PRs intended to address bug fixes and security patches should be sourced from the master branch.
- PRs intended to add new features that break backward compatibility should be discussed before a PR is created.

NTC-Templates will observes semantic versioning. This may result in an quick turn around in minor versions to keep pace with an ever growing feature set.
NTC-Templates observes semantic versioning. This may result in a quick turn around in minor/major versions to keep pace with an ever growing feature set.

## Release Policy

NTC Templates has currently no intended scheduled release schedule, and will release new features in minor versions. Any breaking changes will be done in _major_ releases. There is some development to maintain a data model that is applicable across multiple vendors.
NTC Templates currently does not have an intended release schedule cadence, and will release new features in minor versions. Any breaking changes will be done in _major_ releases. There is some development to maintain [a data model that is applicable across multiple vendors](data_model.md).

When a new release is created the following should happen.

Expand All @@ -50,4 +50,4 @@ When a new release is created the following should happen.
- The description should be the changes that were added to the `version_<major>.<minor>.md` document.
- A post release PR is created with.
- Change the version from `<major>.<minor>.<patch>` to `<major>.<minor>.<patch + 1>-beta` pyproject.toml.
- Once tests pass, merge.
- Once tests pass, merge.
2 changes: 1 addition & 1 deletion docs/dev/data_model.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Example: Imagine the extra programming logic needed to consume structured data w
| `MAC_ADDRESS` | instead of MAC or MACADDR |
| `MEMBER_INTERFACE` | list of physical member interface names that are bundled to make an etherchannel, LACP, LAG, or port-channel interface |
| `MEMBER_INTERFACE_STATUS` | list of member interface statuses for an etherchannel, LACP, LAG, or port-channel interface |
| `MGMT_ADDRESS` | management address, used when data could be an Ethernet MAC address or an IP address (ex: CDP or LLDP templates) |
| `MGMT_ADDRESS` | management address, used when data could be an ***Ethernet MAC address or an IP address*** (ex: CDP or LLDP templates) |
| `MGMT_IP_ADDRESS` | instead of MGMT_IP or MGMT_ADDRESS or MANAGEMENT_IP or REMOTE_MANAGEMENT_ADDRESS |
| `NEIGHBOR_DESCRIPTION` | often represents CDP or LLDP neighbor or system name description |
| `NEIGHBOR_ID` | for router IDs remote to the system being parsed |
Expand Down
37 changes: 37 additions & 0 deletions ntc_templates/templates/arista_eos_dir.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
Value Filldown FILE_SYSTEM (\S+)
Value PERMISSIONS (\S+)
Value SIZE (\d+)
Value DATE_TIME (\S+\s+\d+\s+((\d+)|(\d+:\d+))|\<no date\>)
Value NAME (\S+)
Value Fillup TOTAL_SIZE (\d+)
Value Fillup TOTAL_FREE (\d+)

Start
^Directory\s+of\s+${FILE_SYSTEM} -> Dispatcher
^\s*$$
^. -> Error "LINE NOT FOUND"

Dispatcher
^\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record Files
^Directory\s+of -> Continue.Record
^Directory\s+of\s+${FILE_SYSTEM}
^No\s+files -> NoFiles
^\s*$$
^\. -> Error "LINE NOT FOUND"

Files
^\s+${PERMISSIONS}\s+${SIZE}\s+${DATE_TIME}\s+${NAME} -> Record
^${TOTAL_SIZE}\s+\S+\s+\S+\s+\(${TOTAL_FREE}\s+\S+\s+\S+\) -> Start
^Directory\s+of\s+${FILE_SYSTEM} -> Dispatcher
^No\s+space\s+information -> Start
^\s*$$
^. -> Error "LINE NOT FOUND"

NoFiles
^${TOTAL_SIZE}\s+\S+\s+\S+\s+\(${TOTAL_FREE}\s+\S+\s+\S+\) -> Record Start
^Directory\s+of -> Continue.Record
^Directory\s+of\s+${FILE_SYSTEM} -> Dispatcher
^\s*$$
^\. -> Error "LINE NOT FOUND"

EOF
19 changes: 0 additions & 19 deletions ntc_templates/templates/arista_eos_dir_flash.textfsm

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,8 @@ Value NEIGHBOR_INTERFACE (\S+)

Start
^Port\s*:\s*${LOCAL_INTERFACE}
^Neighbor\s*Chassis-Name\s*:\s*${NEIGHBOR_NAME}
^Neighbor\s+System-Name\s*:\s*${NEIGHBOR_NAME}
^Neighbor\s*Chassis-Description\s*:\s*${NEIGHBOR_DESCRIPTION}
^Neighbor\s+System-Description\s*:\s*${NEIGHBOR_DESCRIPTION}
^Neighbor\s*(Chassis|System)-Name\s*:\s*${NEIGHBOR_NAME}
^Neighbor\s*(Chassis|System)-Description\s*:\s*${NEIGHBOR_DESCRIPTION}
^Neighbor\s*Chassis-ID\s*:\s*${CHASSIS_ID}
^Neighbor\s*Management-Address\s*:\s*${MGMT_ADDRESS}
^Chassis\s*Capabilities\s*Available\s*:\s*${CAPABILITIES_SUPPORTED}
Expand Down
31 changes: 26 additions & 5 deletions ntc_templates/templates/aruba_os_show_ap_bss-table_details.textfsm
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,28 @@ Value BSS ([a-fA-F0-9]{2}(:[a-fA-F0-9]{2}){5})
Value ESS (\S+(\s\S+){0,})
Value PORT (\S+)
Value IP_ADDRESS ((([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])\.){3}([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5]))
Value BAND (\S+)
Value BAND (((2.4|5|6).*z)|N/A)
Value CHANNEL (\S+)
Value TYPE (\S+)
Value CUR_CL (\S+)
Value AP_NAME (\S+)
Value IN_T (\S+)
Value TOT_T (\S+)
Value MTU (\S+)
Value MTU ((\d+|N/A|.*?))
Value PHY (\S+)
Value ACL_STATE (\S+)
Value ACL (\S+)
Value FM (\S+)
Value FLAGS (\S+)
Value CLUSTER (\S+)
Value FLAGS ((\S+|.*?))
Value CLUSTER ((A|sA|sU|U|N/A).*?)
Value ACTIVE_CLIENTS (\S+)
Value STANDBY_CLIENTS (\S+)
Value DATAZONE (\S+)


Start
^${BSS}\s+${ESS}\s+${PORT}\s+${IP_ADDRESS}\s+${BAND}\s+${CHANNEL}\s+${TYPE}\s+${CUR_CL}\s+${AP_NAME}\s+${IN_T}\s+${TOT_T}\s+${MTU}\s+${ACL_STATE}\s+${ACL}\s+${FM}\s+${FLAGS}\s+${CLUSTER}\s+${ACTIVE_CLIENTS}\s+${STANDBY_CLIENTS}\s+${DATAZONE}\s*$$ -> Record
^bss\s+ess\s+port\s+ip\s+phy\s* -> Before_ArubaOS_8_9
^bss\s+ess\s+port\s+ip\s+band\s* -> After_ArubaOS_8_9
^Aruba AP
^.+\.+
^bss
Expand All @@ -34,3 +37,21 @@ Start
^Flags
^-+
^. -> Error


Before_ArubaOS_8_9
^-+\s+-+
^${BSS}\s+${ESS}\s+${PORT}\s+${IP_ADDRESS}\s+${PHY}\s+${TYPE}\s+${CHANNEL}\s+${CUR_CL}\s+${AP_NAME}\s+${IN_T}\s+${TOT_T}\s+${MTU}\s+${ACL_STATE}\s+${ACL}\s+${FM}\s+${FLAGS}\s+${CLUSTER}\s+ -> Record
^Aruba AP
^-\s*
^bss
^Channel -> Start
^Num -> End
^. -> Error

After_ArubaOS_8_9
^-+\s+-+
^${BSS}\s+${ESS}\s+${PORT}\s+${IP_ADDRESS}\s+${BAND}\s+${CHANNEL}\s+${TYPE}\s+${CUR_CL}\s+${AP_NAME}\s+${IN_T}\s+${TOT_T}\s+${MTU}\s+${ACL_STATE}\s+${ACL}\s+${FM}\s+${FLAGS}\s+${CLUSTER}\s+${ACTIVE_CLIENTS}\s+${STANDBY_CLIENTS}\s+${DATAZONE}\s*$$ -> Record
^Channel -> Start
^Num -> End
^. -> Error
45 changes: 45 additions & 0 deletions ntc_templates/templates/ciena_saos_lldp_show_neighbors.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
Value List,Filldown REMOTE_IPV4_ADDRESS (\d+\.\d+\.\d+\.\d+)
Value List,Filldown REMOTE_IPV6_ADDRESS ([a-f0-9:]+)
Value Filldown SYSTEM_NAME (\S+)
Value Filldown SYSTEM_DESCRIPTION (.*\S)
Value Required LOCAL_PORT (\S+)
Value REMOTE_PORT (\S+)
Value REMOTE_CHASSIS_ID (\S+)
Value List REMOTE_MGMT_IPV4_ADDRESS (\d+\.\d+\.\d+\.\d+)
Value List REMOTE_MGMT_IPV6_ADDRESS ([a-f0-9:]+)
Value REMOTE_SYSTEM_NAME (\S+)
Value REMOTE_SYSTEM_DESCRIPTION (.*\S)
Value REMOTE_SYNCE_SUPPORT (.*\S)
Value REMOTE_SYNCE_CONFIG (.*\S)

Start
^\+\-+
^\|\s*LLDP\s+Neighbors\s+\|\s*$$
^\|\s*Local\s+\|\s+Remote\s+\|\s*$$
^\|\s*Port\s+\|\s*Port\s+\|\s*Info\s+\|\s*$$
^\|\sRemote\sAddr:\s${REMOTE_IPV4_ADDRESS}
^\|\sRemote\sAddr:\s${REMOTE_IPV6_ADDRESS}
^\|\sSystem\sName:\s${SYSTEM_NAME}\s+\|
^\|\sSystem\sDesc:\s${SYSTEM_DESCRIPTION}\s+\|
# neighbor record
^\|${LOCAL_PORT}\s*\|${REMOTE_PORT}\s*\|\s*Chassis\sId:\s*${REMOTE_CHASSIS_ID} -> Neighbor
^\s*$$
^. -> Error

Neighbor
^\|\s*\|\s*\|\s*Mgmt\sAddr:\s${REMOTE_MGMT_IPV4_ADDRESS}\s+\| -> NeighborMgmt
^\|\s*\|\s*\|\s*Mgmt\sAddr:\s${REMOTE_MGMT_IPV6_ADDRESS}\s+\| -> NeighborMgmt
^\|\s*\|\s*\|\s*System\sName:\s${REMOTE_SYSTEM_NAME} -> Neighbor
^\|\s*\|\s*\|\s*System\sDesc:\s${REMOTE_SYSTEM_DESCRIPTION}\s+\|
^\|\s*\|\s*\|\s*SyncE\sSuppt:\s${REMOTE_SYNCE_SUPPORT}\s+\|
^\|\s*\|\s*\|\s*SyncE\sConfg:\s${REMOTE_SYNCE_CONFIG}\s+\|
^\+\-+ -> Record Start
^\s*$$
^. -> Error

NeighborMgmt
^\|\s*\|\s*\|\s+${REMOTE_MGMT_IPV4_ADDRESS}\s+\|$$
^\|\s*\|\s*\|\s+${REMOTE_MGMT_IPV6_ADDRESS}\s+\|$$
^\|\s*\|\s*\|\s*System\sName:\s${REMOTE_SYSTEM_NAME} -> Neighbor
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
Value NAME (\S+)
Value TYPE (\S+)
Value ADMIN_STATUS (\S+)
Value SPEED (\S+)
Value DUPLEX (\S+)
Value FLOW_CONTROL (\S+)
Value FLOW_CONTROL_ADV (\S+)
Value AUTO_NEGOTIATION (\S+)
Value MTU (\d+)
Value MIRROR_STATE (\S+)
Value MIRROR_EG (\d+)
Value MIRROR_IG (\d+)

Start
^\+-+\s*PORT\s*ETHERNET\s*CONFIGURATION\s*-+\+
^(\|\s+){10}Mirror\s+\|\s*$$
^\|\s*Port\s*\|\s*Port\s*\|\s*Admin\s*\|(?:\s+\|){3}\s*FC\s*\|\s*Auto\s*\|\s*MTU\s*\|\s*Status\s*\|\s*$$
^\|\s*Name\s*\|\s*Type\s*\|\s*Status\|\s*Speed\s*\|\s*Dplx\s*\|\s*FC\s*\|\s*Adv\s*\|\s*Neg\s*\|\s*Size\s*\|\s*State\|\s*Eg\s*\|\s*Ig\s*\|\s*$$
^\+-+
^\|\s*${NAME}\s*\|\s*${TYPE}\s*\|\s*${ADMIN_STATUS}\s*\|\s*${SPEED}\s*\|\s*(${DUPLEX}|\s+)\s*\|\s*${FLOW_CONTROL}\s*\|\s*${FLOW_CONTROL_ADV}\s*\|\s*${AUTO_NEGOTIATION}\s*\|\s*${MTU}\s*\|\s*${MIRROR_STATE}\s*\|\s*${MIRROR_EG}\s*\|\s*${MIRROR_IG}\s*\| -> Record
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
Value NAME (\S+)
Value PRIVATE_VLAN_ID (\S+)
Value ACCEPT_FRAME_TYPE (\S+)
Value UNTAG_INGRESS_VLAN_ID (\S+)
Value VLAN_INGRESS_FILTER (\S+)
Value VS_INGRESS_FILTER (\S+)
Value EGRESS_UNTAG_VLAN (\S+)
Value VS_EGRESS_FILTER (\S+)
Value INGRESS_COS_POLICY (\S+)
Value VPLS_PORT_TYPE (\S+)
Value ETH_VC_ETHERTYPE (\d+)

Start
^\+-+\s*PORT\s*ETHERNET\s*CONFIGURATION\s*-+\+
^\+-+
^\|\s*\s*\|\s*\s*\|\s*Accpt\s*\|\s*Untag\s*\|\s*VLAN\s*\|\s*VS\s*\|\s*Egress\s*\|\s*VS\s*\|\s*Ingress\s*\|\s*VPLS\s*\|\s*Eth\s*VC\s*\|\s*$$
^\|\s*Port\s*\|\s*\s*\|\s*Frame\s*\|\s*Ingress\s*\|\s*Ingress\s*\|\s*Ingress\s*\|\s*Untag\s*\|\s*Egress\s*\|\s*CoS\s*\|\s*Port\s*\|\s*Ether-\s*\|\s*$$
^\|\s*Name\s*\|\s*PVID\s*\|\s*Type\s*\|\s*Vid\s*\|\s*Filter\s*\|\s*Filter\s*\|\s*VLAN\s*\|\s*Filter\s*\|\s*Policy\s*\|\s*Type\s*\|\s*Type\s*\|\s*$$
^\|\s*${NAME}\s*\|\s*${PRIVATE_VLAN_ID}\s*\|\s*${ACCEPT_FRAME_TYPE}\s*\|\s*${UNTAG_INGRESS_VLAN_ID}\s*\|\s*(${VLAN_INGRESS_FILTER}|\s+)\s*\|\s*${VS_INGRESS_FILTER}\s*\|\s*${EGRESS_UNTAG_VLAN}\s*\|\s*${VS_EGRESS_FILTER}\s*\|\s*${INGRESS_COS_POLICY}\s*\|\s*${VPLS_PORT_TYPE}\s*\|\s*${ETH_VC_ETHERTYPE}\s*\| -> Record
^\s*$$
^. -> Error
19 changes: 19 additions & 0 deletions ntc_templates/templates/ciena_saos_port_show_status.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
Value NAME (\S+)
Value DESCRIPTION (\S*)
Value LINK (Up|Down)
Value DURATION ([^\|]+)
Value TRANSCEIVER (\S+)
Value STP (\w+)
Value SPEED_DUPLEX (\S+)
Value MTU (\d+)
Value FLOW_CONTROL (\S+)


Start
^\+-+\s*PORT\s*OPERATIONAL\s*STATUS\s*-+\+
^\+-+
^\|(\s+\|){3}\s*Link\s*State\s*\|(\s+\|){2}\s*Speed/\s*\|\s*MTU \s*\|\s*Flow\s*\|\s*$$
^\|\s*##\s*\|\s*Description\s*\|\s*Link\s*\|\s*Duration\s*\|\s*XCVR\s*\|\s*STP\s*\|\s*Duplex\s*\|\s*Size\s*\|\s*Ctrl\s*\|\s*$$
^\|${NAME}\s*\|${DESCRIPTION}\s*\|\s*${LINK}\s*\|\s*${DURATION}\s*\|\s*(${TRANSCEIVER}|\s+)\s*\|\s*${STP}\s*\|\s*(${SPEED_DUPLEX}|\s+)\s*\|\s*${MTU}\s*\|\s*(${FLOW_CONTROL}|\s+)\s*\| -> Record
^\s*$$
^. -> Error
15 changes: 15 additions & 0 deletions ntc_templates/templates/ciena_saos_port_xcvr_show.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Value PORT (\S+)
Value ADMIN_STATE (\S+)
Value OPERATIONAL_STATE (\S+)
Value VENDOR (\S.*\S)
Value CIENA_REV (\S+)
Value CONNECTOR_TYPE (\S+)
Value DIAGNOSTIC (\S+)

Start
^\+-+
^\|\s+\|\s*Admin\s*\|\s*Oper\s*\|\s+\|\s*Ciena\s*\|\s*Ether\s*Medium\s*&\s*\|\s*Diag\s*\|\s*$$
^\|\s*Port\s*\|(?:\s*State\s*\|){2}\s*Vendor\s*Name\s*&\s*Part\s*Number\s*\|\s*Rev\s*\|\s*Connector\s*Type\s*\|\s*Data\s*\|\s*$$
^\|\s*${PORT}\s*\|${ADMIN_STATE}\s*\|(${OPERATIONAL_STATE}|)\s*\|(${VENDOR}|)\s*\|(${CIENA_REV}|)\s*\|(${CONNECTOR_TYPE}|)\s*\|(${DIAGNOSTIC}|)\s*\| -> Record
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
Value Required NAME (\S+)
Value DESCRIPTION (.+)
Value TYPE ([hostubnerag]+)
Value TYPE (host|subnet|range|fqdn)
Value HOST (\S+)
Value NETWORK (\S+)
Value NETMASK (\S+)
Value PREFIX_LENGTH (\d+)
Value START_IP (\S+)
Value END_IP (\S+)
Value FQDN (\S+)


Start
Expand All @@ -18,4 +19,5 @@ Start
^\s+subnet\s+${NETWORK}\/${PREFIX_LENGTH}\s*
^\s+range\s+${START_IP}\s+${END_IP}\s*
^\s+host\s+${HOST}\s*
^\s+fqdn\s+${FQDN}\s*
^. -> Error
16 changes: 16 additions & 0 deletions ntc_templates/templates/cisco_ios_show_arp.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
Value PROTOCOL (\S+)
Value ADDRESS (\S+)
Value AGE_MIN (\S+)
Value HARDWARE_ADDRESS ((?:([a-f0-9]{4}\.){2}[a-f0-9]{4})|Incomplete)
Value TYPE (\S+)
Value INTERFACE (\S+)

Start
^\s*Protocol\s+Address\s+Age\s+\(min\)\s+Hardware\s+Addr\s+Type\s+Interface\s*$$ -> ArpTable
^\s*$$
^. -> Error

ArpTable
^\s*${PROTOCOL}\s+${ADDRESS}\s+${AGE_MIN}\s+${HARDWARE_ADDRESS}\s+${TYPE}(?:\s+${INTERFACE})?\s*$$ -> Record
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Value STATUS (.+?)
Value SESSION (\w+?)

Start
^Interface\s+MAC Address\s+Method\s+Domain -> Catch
^Interface\s+(MAC Address|Identifier)\s+Method\s+Domain -> Catch
# Capture time-stamp if vty line has command time-stamping turned on
^Load\s+for\s+
^Time\s+source\s+is
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ Value SA_TRANSFORM ([\S\s]+)
Value SA_IN_USE_SETTINGS ([\S\s]+?)
Value SA_CONN_ID (\d+)
Value SA_FLOW_ID ([\S\s]+)
Value SA_SIBLING_FLAGS (\d+)
Value SA_SIBLING_FLAGS ([\d\w]+)
Value SA_CRYPTO_MAP (\S+)
Value SA_LIFETIME_KBYTES (\d+)
Value SA_LIFETIME_SEC (\d+)
Expand Down
17 changes: 17 additions & 0 deletions ntc_templates/templates/cisco_ios_show_ip_dhcp_binding.textfsm
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Value IP_ADDRESS (\S+)
Value HARDWARE_ADDRESS (\S+)
Value EXPIRATION (\S+)
Value TYPE (\S+)

Start
^\s*Bindings from all pools not associated with VRF:\s*$$
^\s*IP\s+address\s+Client-ID/(?:Hardware\s+address/(?:User\s+name)?)?\s+Lease expiration\s+Type\s*$$ -> DhcpTable
^\s*$$
^. -> Error

DhcpTable
^\s*Hardware\s+address/\s*$$
^\s*User\s+name\s*$$
^\s*${IP_ADDRESS}\s+${HARDWARE_ADDRESS}\s+${EXPIRATION}\s+${TYPE}\s*$$ -> Record
^\s*$$
^. -> Error
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
Value Filldown AS (\d+)
Value Required H (\d+)
Value Required IP_ADDRESS ([0-9A-Fa-f:\.]+)
Value INTERFACE (\S+)
Value HOLD (\d+)
Value UPTIME (\S+)
Value SRTT (\d+)
Value RTO (\d+)
Value Q_CNT (\d+)
Value SEQ_NUM (\d+)
Value VERSION (\S+)
Value RETRANS (\d+)
Value RETRIES (\d+)
Value PREFIXES (\d+)
Value TOPOLOGY_IDS_FROM_PEER (\d+)
Value Fillup MAX_NEIGHBORS (\d+)
Value Fillup CURRENT_NEIGHBORS (\d+)

Start
^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s*$$
^\s*(IP-|)EIGRP(-IPv[46](:\(\d+\))?|)\s+[Nn]eighbors\s+for\s+(process\s+|AS\()${AS}(\)|)\s+VRF default\s*$$
^\s*H\s+Address\s+Interface\s+Hold\s+Uptime\s+SRTT\s+RTO\s+Q\s+Seq\s*$$
^\s+\(sec\)\s+\(ms\)\s+Cnt\s+Num\s*$$ -> Neighbors

Neighbors
^\s*${H}\s+${IP_ADDRESS}\s+${INTERFACE}\s+${HOLD}\s+${UPTIME}\s+${SRTT}\s+${RTO}\s+${Q_CNT}\s+${SEQ_NUM}\s*$$
^\s*Version\s+${VERSION},\s+Retrans:\s+${RETRANS},\s+Retries:\s+${RETRIES},\s+Prefixes:\s+${PREFIXES}\s*$$
^\s*Topology-ids\s+from\s+peer\s+\-\s+${TOPOLOGY_IDS_FROM_PEER}\s*$$ -> Record
^\s*Max\s+Nbrs\:\s+${MAX_NEIGHBORS}\,\s+Current\s+Nbrs\:\s+${CURRENT_NEIGHBORS}\s*$$
^\s*$$
^.* -> Error

EOF
Loading

0 comments on commit e0ffa13

Please sign in to comment.