diff --git a/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm b/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm index 13bf0ecde9..548b60efc6 100644 --- a/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm +++ b/ntc_templates/templates/cisco_asa_show_ospf_interface_brief.textfsm @@ -1,6 +1,6 @@ Value INTERFACE (\S+) Value PROCESS (\d+) -Value AREA (\d+) +Value AREA (\S+) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+) Value NETMASK (\d+\.\d+\.\d+\.\d+) Value COST (\d+) diff --git a/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm b/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm index bbffc663ff..2f73409c02 100644 --- a/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm +++ b/ntc_templates/templates/cisco_asa_show_ospf_neighbor.textfsm @@ -1,5 +1,5 @@ Value NEIGHBOR_ID (\d+\.\d+\.\d+\.\d+) -Value PRIORITY (\d+) +Value PRIORITY (\S+) Value STATE (\S+\/\s+\-|\S+) Value DEAD_TIME (\d+:\d+:\d+) Value IP_ADDRESS (\d+\.\d+\.\d+\.\d+) diff --git a/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw index b8cb6ee38d..f43fbade51 100644 --- a/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw +++ b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.raw @@ -2,3 +2,4 @@ Interface PID Area IP Address/Mask Cost State Nbrs F/C Outside 101 101 10.10.100.10/255.255.255.248 10 P2P 1/1 Transit 100 100 10.255.111.1/255.255.255.248 10 BDR 1/1 Inside 100 110 10.25.1.17/255.255.255.240 10 DR 2/2 +CustA 101 0.0.1.1 10.200.0.1/255.255.255.240 10 DR 0/0 \ No newline at end of file diff --git a/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml index cefbf516dc..c3cb72d647 100644 --- a/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml +++ b/tests/cisco_asa/show_ospf_interface_brief/cisco_asa_show_ospf_interface_brief.yml @@ -24,3 +24,11 @@ parsed_sample: netmask: "255.255.255.240" process: "100" state: "DR" + - area: "0.0.1.1" + cost: "10" + interface: "CustA" + ip_address: "10.200.0.1" + neighbors_fc: "0/0" + netmask: "255.255.255.240" + process: "101" + state: "DR"