From ad2e1c33c60299e8d86b36616b7cf7f0bea284dd Mon Sep 17 00:00:00 2001 From: Bjoern Teipel Date: Tue, 3 Jan 2017 18:38:12 -0600 Subject: [PATCH] Implementation Neutron SR-IOV This change adds the required container skeleton `neutron_sriov_nic_agent` to bind the SR-IOV agent to necessary container groups Co-Authored-By: James Denton Closes-Bug: #1653283 Change-Id: I343f25a615840907168b0fa7d64fc61c01e0b49b Depends-On: I7b580db0496ff009a2f64c71447b2977f22d6bf6 Depends-On: Ia62725e2369f75000157e0ab2c3f858e61fef10d --- playbooks/inventory/env.d/neutron.yml | 3 +++ playbooks/inventory/env.d/nova.yml | 1 + tests/test_inventory.py | 1 + 3 files changed, 5 insertions(+) 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',