summaryrefslogtreecommitdiff
path: root/ironic/tests/unit/drivers/third_party_driver_mock_specs.py
diff options
context:
space:
mode:
authorDebayan Ray <debayan.ray@gmail.com>2019-01-03 04:19:33 +0000
committerDebayan Ray <debayan.ray@gmail.com>2019-01-08 12:27:28 +0000
commit66dc4c674634e1ce2b1883688c65d0577447971c (patch)
tree938d3d8397f0b8eabfe259f3f45e288047f760c3 /ironic/tests/unit/drivers/third_party_driver_mock_specs.py
parentc10ee94b92174ce78073afc2eacb300fa649736f (diff)
downloadironic-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.py3
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 = (