Extended Tests URI changes
This need to go in post https://gerrit.openbmc-project.xyz/#/c/1294/
are merged. In the near future, the OpenBMC URI will start with
"/xyz/openbmc_project" instead of "/org/openbmc".
Change-Id: I9d8a12b788f63de66f0dba91dea6ec05ba841857
Signed-off-by: George Keishing <gkeishin@in.ibm.com>
diff --git a/extended/test_networkd_ext.robot b/extended/test_networkd_ext.robot
index d966976..3f41da8 100755
--- a/extended/test_networkd_ext.robot
+++ b/extended/test_networkd_ext.robot
@@ -41,7 +41,9 @@
${arglist}= Create List eth0 ${NEW_IP} ${NEW_MASK} ${NEW_GATEWAY}
${args}= Create Dictionary data=@{arglist}
- run keyword and ignore error Call Method /org/openbmc/NetworkManager/Interface/ SetAddress4 data=${args}
+ run keyword and ignore error
+ ... Call Method
+ ... ${OPENBMC_BASE_URI}NetworkManager/Interface/ SetAddress4 data=${args}
Wait For Host To Ping ${NEW_IP}
Set Suite Variable ${AUTH_URI} https://${NEW_IP}
@@ -66,7 +68,9 @@
${arglist}= Create List eth0 ${OLD_IP} ${OLD_MASK} ${OLD_GATEWAY}
${args}= Create Dictionary data=@{arglist}
- run keyword and ignore error Call Method /org/openbmc/NetworkManager/Interface/ SetAddress4 data=${args}
+ run keyword and ignore error
+ ... Call Method
+ ... ${OPENBMC_BASE_URI}NetworkManager/Interface/ SetAddress4 data=${args}
Wait For Host To Ping ${OLD_IP}
Set Suite Variable ${AUTH_URI} https://${OLD_IP}
@@ -142,7 +146,8 @@
[arguments] ${intf}
@{arglist}= Create List ${intf}
${args}= Create Dictionary data=@{arglist}
- ${resp}= Call Method /org/openbmc/NetworkManager/Interface/ GetAddress4 data=${args}
+ ${resp}= Call Method
+ ... ${OPENBMC_BASE_URI}NetworkManager/Interface/ GetAddress4 data=${args}
should be equal as strings ${resp.status_code} ${HTTP_OK}
${json} = to json ${resp.content}
Log ${json['data'][2]}
@@ -165,7 +170,8 @@
[Arguments] ${intf} ${address} ${result}
${arglist}= Create List ${intf} ${address}
${args}= Create Dictionary data=@{arglist}
- ${resp}= Call Method /org/openbmc/NetworkManager/Interface/ SetHwAddress data=${args}
+ ${resp}= Call Method
+ ... ${OPENBMC_BASE_URI}NetworkManager/Interface/ SetHwAddress data=${args}
should not be equal as strings ${resp.status_code} ${HTTP_OK}
${json} = to json ${resp.content}
should be equal as strings ${json['status']} ${result}
@@ -175,7 +181,8 @@
[Arguments] ${intf} ${address} ${result}
${arglist}= Create List ${intf} ${address}
${args}= Create Dictionary data=@{arglist}
- ${resp}= Call Method /org/openbmc/NetworkManager/Interface/ SetHwAddress data=${args}
+ ${resp}= Call Method
+ ... ${OPENBMC_BASE_URI}NetworkManager/Interface/ SetHwAddress data=${args}
should be equal as strings ${resp.status_code} ${HTTP_OK}
${json} = to json ${resp.content}
should be equal as strings ${json['status']} ${result}
@@ -185,6 +192,7 @@
@{arglist}= Create List ${intf}
${args}= Create Dictionary data=@{arglist}
- ${resp}= Call Method /org/openbmc/NetworkManager/Interface/ GetHwAddress data=${args}
+ ${resp}= Call Method
+ ... ${OPENBMC_BASE_URI}NetworkManager/Interface/ GetHwAddress data=${args}
${json} = to json ${resp.content}
should be equal as strings ${json['data']} ${address}