From 7a2be19d6650f8e79a02c1a4992f467ba73c0dba Mon Sep 17 00:00:00 2001 From: James Denton Date: Thu, 7 Oct 2021 08:39:15 -0500 Subject: [PATCH] Implements framework for ironic_neutron_agent and Neutron 'baremetal' plugin This patch implements the framework for the ironic_neutron_agent group to be used with the 'baremetal' plugin for Neutron. Change-Id: If89e56dc72f017bc57be8cede73d12bf8df572dd --- inventory/env.d/neutron.yml | 4 ++++ inventory/inventory.ini | 2 ++ tests/test_inventory.py | 1 + 3 files changed, 7 insertions(+) diff --git a/inventory/env.d/neutron.yml b/inventory/env.d/neutron.yml index d79533ad39..5c4250320a 100644 --- a/inventory/env.d/neutron.yml +++ b/inventory/env.d/neutron.yml @@ -14,6 +14,9 @@ # limitations under the License. component_skel: + ironic_neutron_agent: + belongs_to: + - neutron_all neutron_agent: belongs_to: - neutron_all @@ -54,6 +57,7 @@ container_skel: - network_containers - network-agent_containers contains: + - ironic_neutron_agent - neutron_agent - neutron_bgp_dragent - neutron_dhcp_agent diff --git a/inventory/inventory.ini b/inventory/inventory.ini index 6043bb06cf..ddfa0b3b9c 100644 --- a/inventory/inventory.ini +++ b/inventory/inventory.ini @@ -179,6 +179,7 @@ murano_engine [murano_engine] [neutron_all:children] +ironic_neutron_agent neutron_agent neutron_bgp_dragent neutron_dhcp_agent @@ -191,6 +192,7 @@ neutron_ovn_controller neutron_ovn_northd neutron_server neutron_sriov_nic_agent +[ironic_neutron_agent] [neutron_agent] [neutron_bgp_dragent] [neutron_dhcp_agent] diff --git a/tests/test_inventory.py b/tests/test_inventory.py index 1291f792d1..d32597a485 100644 --- a/tests/test_inventory.py +++ b/tests/test_inventory.py @@ -275,6 +275,7 @@ class TestAnsibleInventoryFormatConstraints(unittest.TestCase): 'ironic-inspector_containers', 'ironic-inspector_hosts', 'ironic_inspector_container', + 'ironic_neutron_agent', 'key-manager_containers', 'key-manager_hosts', 'key-manager_all',