[CI] Test Ironic Inspector API
Per the recent Kayobe brekage due to TLS support in Ironic [1], let's test Ironic Inspector API as well. [1] https://review.opendev.org/750804 Change-Id: I7ccf0c4286f8907bc2fa2eabc41ec2876c9815a9
This commit is contained in:
parent
8a8c221286
commit
e94f97399b
@ -15,7 +15,7 @@ function setup_openstack_clients {
|
|||||||
packages+=(python-zunclient)
|
packages+=(python-zunclient)
|
||||||
fi
|
fi
|
||||||
if [[ $SCENARIO == ironic ]]; then
|
if [[ $SCENARIO == ironic ]]; then
|
||||||
packages+=(python-ironicclient)
|
packages+=(python-ironicclient python-ironic-inspector-client)
|
||||||
fi
|
fi
|
||||||
if [[ $SCENARIO == masakari ]]; then
|
if [[ $SCENARIO == masakari ]]; then
|
||||||
packages+=(python-masakariclient)
|
packages+=(python-masakariclient)
|
||||||
|
@ -103,6 +103,8 @@ function test_ironic_logged {
|
|||||||
baremetal_driver_list=$(openstack baremetal driver list)
|
baremetal_driver_list=$(openstack baremetal driver list)
|
||||||
openstack baremetal node list
|
openstack baremetal node list
|
||||||
openstack baremetal port list
|
openstack baremetal port list
|
||||||
|
# Ironic Inspector API
|
||||||
|
openstack baremetal introspection rule list
|
||||||
|
|
||||||
# Sanity check.
|
# Sanity check.
|
||||||
if ! echo "$baremetal_driver_list" | grep fake-hardware; then
|
if ! echo "$baremetal_driver_list" | grep fake-hardware; then
|
||||||
|
Loading…
Reference in New Issue
Block a user