... This suite tests sending and receiveing route refresh message.
... It uses odl and exabgp as bgp peers.
... Sending route refresh message from odl is initiated via restconf.
-... If route refresh received by odl also correct advertising of routes
+... If route refresh is received by odl, correct advertising of routes
... is verified. Receiving of route refresh by odl is verified by
... checking appropriate message counter via odl-bgpcep-bgp-cli and
... restconf using BGP neighbor operational state
${output}= KarafKeywords.Safe_Issue_Command_On_Karaf_Console bgp:operational-state -rib example-bgp-rib -neighbor ${TOOLS_SYSTEM_IP}
&{mapping} BuiltIn.Create_Dictionary IP=${TOOLS_SYSTEM_IP} COUNT=${expcount}
${expstate} TemplatedRequests.Resolve_Text_From_Template_File folder=${BGP_RR_VAR_FOLDER}/operational_cli/ file_name=update.txt mapping=${mapping}
+ ${expstate_ipv4} TemplatedRequests.Resolve_Text_From_Template_File folder=${BGP_RR_VAR_FOLDER}/operational_cli/ file_name=update_ipv4.txt mapping=${mapping}
BuiltIn.Should_Contain ${output} ${expstate}
+ BuiltIn.Should_Contain ${output} ${expstate_ipv4}
Verify_ExaBgp_Received_Route_Refresh
[Arguments] ${expcount}
UPDATE | 4 \r
Messages Sent | \r
NOTIFICATION | 0 \r
-UPDATE | 4 \r
- | \r
-AFI state | \r
-====================== | \r
-Family | IPV4UNICAST \r
-Active | true \r
-Prefixes | \r
-Installed | 0 \r
-Sent | 0 \r
-Received | 0 \r
- | \r
-AFI state | \r
-====================== | \r
-Family | L2VPNEVPN \r
-Active | false \r
- | \r
-AFI state | \r
-====================== | \r
-Family | L3VPNIPV4UNICAST\r
-Active | true \r
-Prefixes | \r
-Installed | 0 \r
-Sent | 0 \r
-Received | 0
+UPDATE | 4
UPDATE | $COUNT \r
Messages Sent | \r
NOTIFICATION | 0 \r
-UPDATE | 4 \r
- | \r
-AFI state | \r
-====================== | \r
-Family | IPV4UNICAST \r
-Active | true \r
-Prefixes | \r
-Installed | 0 \r
-Sent | $COUNT \r
-Received | 0 \r
- | \r
-AFI state | \r
-====================== | \r
-Family | L2VPNEVPN \r
-Active | false \r
- | \r
-AFI state | \r
-====================== | \r
-Family | L3VPNIPV4UNICAST\r
-Active | true \r
-Prefixes | \r
-Installed | 0 \r
-Sent | 0 \r
-Received | 0
+UPDATE | 4