Fix operational topology URL in ClusterOpenFlow.robot 85/100385/2
authorSangwook Ha <sangwook.ha@verizon.com>
Mon, 4 Apr 2022 15:59:26 +0000 (08:59 -0700)
committerSangwook Ha <sangwook.ha@verizon.com>
Mon, 4 Apr 2022 16:08:09 +0000 (09:08 -0700)
There are a few test cases in OpenFlow cluster test suite
still using the Bierman02 URL for operational topology.
Replace it with the RFC8040 URL.

Change-Id: I8ff21b10397705e15ecce046d0c865b48305a907
Signed-off-by: Sangwook Ha <sangwook.ha@verizon.com>
csit/libraries/ClusterOpenFlow.robot

index d1dea64f2a0d988e51b1939bb519ae0d8f1e5bb7..1291f2b8fdadefffe0fc20ad9cd7f8175e7ffa30 100644 (file)
@@ -60,7 +60,7 @@ Check OpenFlow Network Operational Information For Sample Topology
     ${dictionary}    Create Dictionary    openflow:1=4    openflow:2=5    openflow:3=5
     Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_NODES_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
     ${dictionary}    Create Dictionary    openflow:1=21    openflow:2=19    openflow:3=19
-    Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
+    Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
 
 Check No OpenFlow Network Operational Information
     [Arguments]    ${controller_index_list}=${EMPTY}
@@ -132,7 +132,7 @@ Take OpenFlow Device Link Down and Verify
     ${ouput}=    MininetKeywords.Send Mininet Command    ${mininet_conn_id}    link s1 s2 down
     Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${operational_port_1}    dictionary=${dictionary}    member_index_list=${controller_index_list}
     ${dictionary}    Create Dictionary    openflow:1=16    openflow:2=14    openflow:3=19
-    Wait Until Keyword Succeeds    20s    2s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
+    Wait Until Keyword Succeeds    20s    2s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
 
 Take OpenFlow Device Link Up and Verify
     [Arguments]    ${controller_index_list}=${EMPTY}
@@ -141,7 +141,7 @@ Take OpenFlow Device Link Up and Verify
     ${ouput}=    MininetKeywords.Send Mininet Command    ${mininet_conn_id}    link s1 s2 up
     Wait Until Keyword Succeeds    5s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${operational_port_1}    dictionary=${dictionary}    member_index_list=${controller_index_list}
     ${dictionary}    Create Dictionary    openflow:1=21    openflow:2=19    openflow:3=19
-    Wait Until Keyword Succeeds    10s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
+    Wait Until Keyword Succeeds    10s    1s    ClusterManagement.Check_Item_Occurrence_Member_List_Or_All    uri=${RFC8040_OPERATIONAL_TOPO_API}    dictionary=${dictionary}    member_index_list=${controller_index_list}
 
 Verify Switch Connections Running On Member
     [Arguments]    ${switch_count}    ${member_index}