Rename XYZ_NETWORK_MANAGER variable to NETWORK_MANAGER in test code
Resolves openbmc/openbmc-test-automation#1234
Change-Id: Ib02caa48d16046f514acbf32e99f717ea09ccf0d
Signed-off-by: manasarm <manashsarma@in.ibm.com>
diff --git a/extended/test_host_network.robot b/extended/test_host_network.robot
index 7de46be..4d46033 100644
--- a/extended/test_host_network.robot
+++ b/extended/test_host_network.robot
@@ -43,13 +43,13 @@
Run IPMI command ${ipmi_raw_cmd}
- ${data}= Read Properties ${XYZ_NETWORK_MANAGER}host0/intf/addr
+ ${data}= Read Properties ${NETWORK_MANAGER}host0/intf/addr
Should Contain ${data["Origin"]} Static
Should Be Equal ${data["Address"]} ${ip_address}
Should Be Equal ${data["Gateway"]} ${gateway_ip}
${new_mac_address}=
- ... Read Attribute ${XYZ_NETWORK_MANAGER}host0/intf MACAddress
+ ... Read Attribute ${NETWORK_MANAGER}host0/intf MACAddress
Should Be Equal ${new_mac_address} ${mac_address}
@@ -65,9 +65,9 @@
... ${SET_ADDR_PREFIX}${SPACE}${mac_address_hex}${SPACE}${DHCP}
Run IPMI command ${ipmi_raw_cmd}
- ${origin}= Read Attribute ${XYZ_NETWORK_MANAGER}host0/intf/addr Origin
+ ${origin}= Read Attribute ${NETWORK_MANAGER}host0/intf/addr Origin
${new_mac_address}=
- ... Read Attribute ${XYZ_NETWORK_MANAGER}host0/intf MACAddress
+ ... Read Attribute ${NETWORK_MANAGER}host0/intf MACAddress
Should Contain ${origin} DHCP
Should Be Equal ${new_mac_address} ${mac_address}