Home
last modified time | relevance | path

Searched hist:"1 b0ceb23" (Results 1 – 4 of 4) sorted by relevance

/openbmc/openbmc-test-automation/tools/
H A Dupdate_mac.robot1b0ceb23 Wed May 31 16:03:01 CDT 2017 Michael Walsh <micwalsh@us.ibm.com> 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>
/openbmc/openbmc-test-automation/extended/
H A Dstandby_bmc.robot1b0ceb23 Wed May 31 16:03:01 CDT 2017 Michael Walsh <micwalsh@us.ibm.com> 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>
/openbmc/openbmc-test-automation/lib/
H A Dbmc_network_utils.robot1b0ceb23 Wed May 31 16:03:01 CDT 2017 Michael Walsh <micwalsh@us.ibm.com> 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>
H A Dutils.robot1b0ceb23 Wed May 31 16:03:01 CDT 2017 Michael Walsh <micwalsh@us.ibm.com> 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>