X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=csit%2Fsuites%2Ftopoprocessing%2Fbasic-topology-operations%2F010_Aggregation.robot;h=a43776cee73be9ad9957bac79af353b8d72dadf2;hb=992637f25d5454de57b7fa5f6f460e77cc2af2f3;hp=62d6f3c72135a75c500b550b5eee901bfa11393f;hpb=e0595f0be74a24a20c20aea289e1b51dc3646a43;p=integration%2Ftest.git
diff --git a/csit/suites/topoprocessing/basic-topology-operations/010_Aggregation.robot b/csit/suites/topoprocessing/basic-topology-operations/010_Aggregation.robot
index 62d6f3c721..a43776cee7 100644
--- a/csit/suites/topoprocessing/basic-topology-operations/010_Aggregation.robot
+++ b/csit/suites/topoprocessing/basic-topology-operations/010_Aggregation.robot
@@ -19,17 +19,17 @@ Resource ../../../libraries/TopoprocessingKeywords.robot
*** Test Cases ***
Unification Node
[Documentation] Test unification operation on Network Topology model
- ${request} Prepare Unification Topology Request ${UNIFICATION_NT} network-topology-model node network-topology-pcep:path-computation-client/network-topology-pcep:ip-address network-topo:1
+ ${request} Prepare Unification Topology Request ${UNIFICATION_NT} network-topology-model node l3-unicast-igp-topology:igp-node-attributes/isis-topology:isis-node-attributes/isis-topology:ted/isis-topology:te-router-id-ipv4 network-topo:1
... network-topo:2
${resp} Send Basic Request ${request} network-topology:network-topology/topology/topo:1
Should Contain ${resp.content} topo:1
Should Contain X Times ${resp.content} node: 9
: FOR ${index} IN RANGE 1 9
- \ Should Contain X Times ${resp.content} pcep:${index} 1
- ${node} Get Element ${resp.content} xpath=.//node/supporting-node[node-ref='pcep:10']/..
+ \ Should Contain X Times ${resp.content} bgp:${index} 1
+ ${node} Get Element ${resp.content} xpath=.//node/supporting-node[node-ref='bgp:10']/..
${node} Element to String ${node}
- Should Contain X Times ${node} pcep:10 1
- Should Contain X Times ${node} pcep:5 1
+ Should Contain X Times ${node} bgp:10 1
+ Should Contain X Times ${node} bgp:5 1
Unification Node Inventory
[Documentation] Test unification operation on inventory model
@@ -48,20 +48,21 @@ Unification Node Inventory
${node} Element to String ${node}
Should Contain X Times ${node} of-node:10 1
Should Contain X Times ${node} of-node:4 1
+
Unification Scripting Node
[Documentation] Test unification operation on Network Topology model using scripting
- ${request} Prepare Unification Topology Request ${UNIFICATION_NT} network-topology-model node network-topology-pcep:path-computation-client/network-topology-pcep:ip-address network-topo:1
+ ${request} Prepare Unification Topology Request ${UNIFICATION_NT} network-topology-model node l3-unicast-igp-topology:igp-node-attributes/isis-topology:isis-node-attributes/isis-topology:ted/isis-topology:te-router-id-ipv4 network-topo:1
... network-topo:2
${request} Insert Scripting into Request ${request} javascript if (originalItem.getLeafNode().getValue().indexOf("192.168.1.1") > -1 && newItem.getLeafNode().getValue().indexOf("192.168.1.3") > -1 || originalItem.getLeafNode().getValue().indexOf("192.168.1.3") > -1 && newItem.getLeafNode().getValue().indexOf("192.168.1.1") > -1) {aggregable.setResult(true);} else { aggregable.setResult(false);}
${resp} Send Basic Request ${request} network-topology:network-topology/topology/topo:1
Should Contain ${resp.content} topo:1
Should Contain X Times ${resp.content} node: 9
: FOR ${index} IN RANGE 1 10
- \ Should Contain X Times ${resp.content} pcep:${index} 1
- ${node} Get Element ${resp.content} xpath=.//node/supporting-node[node-ref='pcep:1']/..
+ \ Should Contain X Times ${resp.content} bgp:${index} 1
+ ${node} Get Element ${resp.content} xpath=.//node/supporting-node[node-ref='bgp:1']/..
${node} Element to String ${node}
- Should Contain X Times ${node} pcep:1 1
- Should Contain X Times ${node} pcep:6 1
+ Should Contain X Times ${node} bgp:1 1
+ Should Contain X Times ${node} bgp:6 1
Unification Scripting Node Inventory
[Documentation] Test unification operation on inventory model using scripting
@@ -80,16 +81,16 @@ Unification Scripting Node Inventory
Unification Node Inside
[Documentation] Test of unification type of aggregation inside on nodes on Network Topology model
- ${request} Prepare Unification Inside Topology Request ${UNIFICATION_NT_AGGREGATE_INSIDE} network-topology-model node network-topology-pcep:path-computation-client/network-topology-pcep:ip-address network-topo:1
+ ${request} Prepare Unification Inside Topology Request ${UNIFICATION_NT_AGGREGATE_INSIDE} network-topology-model node l3-unicast-igp-topology:igp-node-attributes/isis-topology:isis-node-attributes/isis-topology:ted/isis-topology:te-router-id-ipv4 network-topo:1
${resp} Send Basic Request ${request} network-topology:network-topology/topology/topo:1
Should Contain ${resp.content} topo:1
Should Contain X Times ${resp.content} node: 4
${response_xml} Parse XML ${resp.content}
- ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='pcep:3']/..
+ ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='bgp:3']/..
${node} Element To String ${node}
Should Contain X Times ${node} 2
- Should Contain ${node} pcep:3
- Should Contain ${node} pcep:4
+ Should Contain ${node} bgp:3
+ Should Contain ${node} bgp:4
Unification Node Inside Inventory
[Documentation] Test of unification type of aggregation inside on nodes on Inventory model
@@ -113,16 +114,16 @@ Unification Termination Point Inside
${response_xml} Element to String ${response_xml}
Should Contain X Times ${resp.content} node: 5
Should Contain X Times ${response_xml} 6
- ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='pcep:1']/..
+ ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='bgp:1']/..
${node} Element to String ${node}
Should Contain X Times ${node} 2
- ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='pcep:3']/..
+ ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='bgp:3']/..
${node} Element to String ${node}
Should Contain X Times ${node} 2
- ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='pcep:4']/..
+ ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='bgp:4']/..
${node} Element to String ${node}
Should Contain X Times ${node} 1
- ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='pcep:5']/..
+ ${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='bgp:5']/..
${node} Element to String ${node}
Should Contain X Times ${node} 1
@@ -149,4 +150,4 @@ Unification Termination Point Inside Inventory
Should Contain X Times ${node} 1
${node} Get Element ${response_xml} xpath=.//node/supporting-node[node-ref='of-node:5']/..
${node} Element to String ${node}
- Should Contain X Times ${node} 1
\ No newline at end of file
+ Should Contain X Times ${node} 1