- Remove All Elements At URI ${SERVICE_SCHED_TYPES_URI}
- Add Elements To URI From File ${SERVICE_ROUNDROBIN_SCHED_TYPE_URI} ${SERVICE_ROUNDROBIN_SCHED_TYPE_FILE}
- Post Elements To URI As JSON ${OPERATIONS_CREATE_RSP_URI} ${CREATE_RSP1_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_CREATE_RSP_URI} ${CREATE_RSP2_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_CREATE_RSP_URI} ${CREATE_RSP3_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_CREATE_RSP_URI} ${CREATE_RSP4_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_CREATE_RSP_URI} ${CREATE_RSP5_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_CREATE_RSP_URI} ${CREATE_RSP6_INPUT}
- ${path1_hop0} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-1/rendered-service-path-hop/0/
- ${path1_hop1} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-1/rendered-service-path-hop/1/
- ${path1_hop2} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-1/rendered-service-path-hop/2/
- ${path2_hop0} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-2/rendered-service-path-hop/0/
- ${path2_hop1} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-2/rendered-service-path-hop/1/
- ${path2_hop2} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-2/rendered-service-path-hop/2/
- ${path3_hop0} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-3/rendered-service-path-hop/0/
- ${path3_hop1} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-3/rendered-service-path-hop/1/
- ${path3_hop2} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-3/rendered-service-path-hop/2/
- ${path4_hop0} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-4/rendered-service-path-hop/0/
- ${path4_hop1} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-4/rendered-service-path-hop/1/
- ${path4_hop2} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-4/rendered-service-path-hop/2/
- ${path5_hop0} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-5/rendered-service-path-hop/0/
- ${path5_hop1} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-5/rendered-service-path-hop/1/
- ${path5_hop2} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-5/rendered-service-path-hop/2/
- ${path6_hop0} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-6/rendered-service-path-hop/0/
- ${path6_hop1} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-6/rendered-service-path-hop/1/
- ${path6_hop2} Get JSON Elements From URI ${OPERATIONAL_RSPS_URI}rendered-service-path/SFC1-100-Path-6/rendered-service-path-hop/2/
- Should Be Equal ${path1_hop0} ${path4_hop0}
- Should Not Be Equal ${path1_hop0} ${path2_hop0}
- Should Be Equal ${path1_hop1} ${path4_hop1}
- Should Not Be Equal ${path1_hop1} ${path2_hop1}
- Should Be Equal ${path1_hop2} ${path4_hop2}
- Should Not Be Equal ${path1_hop2} ${path2_hop2}
- Should Be Equal ${path2_hop0} ${path5_hop0}
- Should Not Be Equal ${path2_hop0} ${path3_hop0}
- Should Be Equal ${path2_hop1} ${path5_hop1}
- Should Not Be Equal ${path2_hop1} ${path3_hop1}
- Should Be Equal ${path2_hop2} ${path5_hop2}
- Should Not Be Equal ${path2_hop2} ${path3_hop2}
- Should Be Equal ${path3_hop0} ${path6_hop0}
- Should Not Be Equal ${path3_hop0} ${path1_hop0}
- Should Be Equal ${path3_hop1} ${path6_hop1}
- Should Not Be Equal ${path3_hop1} ${path1_hop1}
- Should Be Equal ${path3_hop2} ${path6_hop2}
- Should Not Be Equal ${path3_hop2} ${path1_hop2}
- Post Elements To URI As JSON ${OPERATIONS_DELETE_RSP_URI} ${DELETE_RSP1_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_DELETE_RSP_URI} ${DELETE_RSP2_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_DELETE_RSP_URI} ${DELETE_RSP3_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_DELETE_RSP_URI} ${DELETE_RSP4_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_DELETE_RSP_URI} ${DELETE_RSP5_INPUT}
- Post Elements To URI As JSON ${OPERATIONS_DELETE_RSP_URI} ${DELETE_RSP6_INPUT}
+ Utils.Remove All Elements At URI ${SERVICE_SCHED_TYPES_URI}
+ Utils.Add Elements To URI From File ${SERVICE_ROUNDROBIN_SCHED_TYPE_URI} ${SERVICE_ROUNDROBIN_SCHED_TYPE_FILE}
+ SfcKeywords.Delete All Sfps And Wait For Rsps Deletion
+ # Create the SFPs which will create the RSPs with the Random scheduler
+ SfcKeywords.Create Sfp And Wait For Rsp Creation ${SERVICE_FUNCTION_PATHS_FILE}
+ ${rsp1_name} = SfcKeywords.Get Rendered Service Path Name SFC1-100
+ ${rsp2_name} = SfcKeywords.Get Rendered Service Path Name SFC1-200
+ ${rsp3_name} = SfcKeywords.Get Rendered Service Path Name SFC1-300
+ ${rsp4_name} = SfcKeywords.Get Rendered Service Path Name SFC2-100
+ ${rsp5_name} = SfcKeywords.Get Rendered Service Path Name SFC2-200
+ ${path1_hop0} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/0/
+ ${path1_hop1} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/1/
+ ${path1_hop2} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/2/
+ ${path2_hop0} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/0/
+ ${path2_hop1} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/1/
+ ${path2_hop2} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/2/
+ ${path3_hop0} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/0/
+ ${path3_hop1} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/1/
+ ${path3_hop2} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/2/
+ ${path4_hop0} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/0/
+ ${path4_hop1} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/1/
+ ${path4_hop2} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/2/
+ ${path5_hop0} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/0/
+ ${path5_hop1} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/1/
+ ${path5_hop2} = SfcKeywords.Get JSON Elements From URI ${OPERATIONAL_RSP_URI}/${rsp1_name}/rendered-service-path-hop/2/
+ BuiltIn.Should Be Equal ${path1_hop0} ${path4_hop0}
+ BuiltIn.Should Not Be Equal ${path1_hop0} ${path2_hop0}
+ BuiltIn.Should Be Equal ${path1_hop1} ${path4_hop1}
+ BuiltIn.Should Not Be Equal ${path1_hop1} ${path2_hop1}
+ BuiltIn.Should Be Equal ${path1_hop2} ${path4_hop2}
+ BuiltIn.Should Not Be Equal ${path1_hop2} ${path2_hop2}
+ BuiltIn.Should Be Equal ${path2_hop0} ${path5_hop0}
+ BuiltIn.Should Not Be Equal ${path2_hop0} ${path3_hop0}
+ BuiltIn.Should Be Equal ${path2_hop1} ${path5_hop1}
+ BuiltIn.Should Not Be Equal ${path2_hop1} ${path3_hop1}
+ BuiltIn.Should Be Equal ${path2_hop2} ${path5_hop2}
+ BuiltIn.Should Not Be Equal ${path2_hop2} ${path3_hop2}
+ BuiltIn.Should Be Equal ${path3_hop0} ${path1_hop0}
+ BuiltIn.Should Not Be Equal ${path3_hop0} ${path1_hop0}
+ BuiltIn.Should Be Equal ${path3_hop1} ${path1_hop1}
+ BuiltIn.Should Not Be Equal ${path3_hop1} ${path1_hop1}
+ BuiltIn.Should Be Equal ${path3_hop2} ${path1_hop2}
+ BuiltIn.Should Not Be Equal ${path3_hop2} ${path1_hop2}