Moved some utils.robot keywords to new bmc_network_utils.robot.
utils.robot has gotten quite messy. Ideally it ought to be broken down
into several smaller files such as:
lib/state.robot
lib/bmc_info_utils.robot
lib/init_state_change.robot
lib/code_update_utils.robot
As part of that solution, lib/bmc_network_utils.robot has been created
to contain the following two keywords which were formerly in
utils.robot:
- Check And Reset MAC
- Set MAC Address
The only user of these functions is tools/update_mac.robot which has
been modified to resource the new file.
This change also serves to fix a problem that was recently introduced
by an addition to utils.robot. The following line had been added:
Resource ../extended/obmc_boot_test_resource.robot
However, when this test is run,
robot ... -v keyword_string:get_state -v lib_file_path:state.py
extended/run_keyword.robot
It failed because of this import/resource loop:
state.py -> utils.robot -> obmc_boot_test_resource.robot -> state.py
etc.
Change-Id: Ib5a7aab87056e9d091a1a37b9e1d69dda801e298
Signed-off-by: Michael Walsh <micwalsh@us.ibm.com>
4 files changed