diff options
author | Debayan Ray <debayan.ray@gmail.com> | 2019-01-03 04:19:33 +0000 |
---|---|---|
committer | Debayan Ray <debayan.ray@gmail.com> | 2019-01-08 12:27:28 +0000 |
commit | 66dc4c674634e1ce2b1883688c65d0577447971c (patch) | |
tree | 938d3d8397f0b8eabfe259f3f45e288047f760c3 /ironic/tests/unit/drivers/third_party_driver_mock_specs.py | |
parent | c10ee94b92174ce78073afc2eacb300fa649736f (diff) | |
download | ironic-66dc4c674634e1ce2b1883688c65d0577447971c.tar.gz |
Fix ironic port creation after Redfish inspection
Change non-existent ``eth_summary`` property to ``summary`` on
ethernet_interfaces resource of Sushy.
Also amended the helper method, ``create_ports_if_not_exist`` in
inspect_utils module to handle Sushy returned ethernet summary
results.
Change-Id: I59a3d269c3508cc1e86d0ad5af3707585b108fa0
Story: 2004638
Task: 28574
Diffstat (limited to 'ironic/tests/unit/drivers/third_party_driver_mock_specs.py')
-rw-r--r-- | ironic/tests/unit/drivers/third_party_driver_mock_specs.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/ironic/tests/unit/drivers/third_party_driver_mock_specs.py b/ironic/tests/unit/drivers/third_party_driver_mock_specs.py index 1511064a4..6a5f906af 100644 --- a/ironic/tests/unit/drivers/third_party_driver_mock_specs.py +++ b/ironic/tests/unit/drivers/third_party_driver_mock_specs.py @@ -142,6 +142,9 @@ SUSHY_SPEC = ( 'PROCESSOR_ARCH_ARM', 'PROCESSOR_ARCH_MIPS', 'PROCESSOR_ARCH_OEM', + 'STATE_ENABLED', + 'STATE_DISABLED', + 'STATE_ABSENT', ) SUSHY_AUTH_SPEC = ( |