diff --git a/playbooks/inventory/env.d/neutron.yml b/playbooks/inventory/env.d/neutron.yml index cdcc88c637..92e01b9e32 100644 --- a/playbooks/inventory/env.d/neutron.yml +++ b/playbooks/inventory/env.d/neutron.yml @@ -41,6 +41,9 @@ component_skel: neutron_metadata_agent: belongs_to: - neutron_all + neutron_sriov_nic_agent: + belongs_to: + - neutron_all neutron_server: belongs_to: - neutron_all diff --git a/playbooks/inventory/env.d/nova.yml b/playbooks/inventory/env.d/nova.yml index ed1221013f..f46e8139f1 100644 --- a/playbooks/inventory/env.d/nova.yml +++ b/playbooks/inventory/env.d/nova.yml @@ -57,6 +57,7 @@ container_skel: contains: - neutron_linuxbridge_agent - neutron_openvswitch_agent + - neutron_sriov_nic_agent - nova_compute properties: is_metal: true diff --git a/tests/test_inventory.py b/tests/test_inventory.py index 97bdebae10..a405e1770f 100644 --- a/tests/test_inventory.py +++ b/tests/test_inventory.py @@ -292,6 +292,7 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase): 'neutron_metadata_agent', 'neutron_metering_agent', 'neutron_openvswitch_agent', + 'neutron_sriov_nic_agent', 'neutron_server', 'neutron_server_container', 'nova_all',