From d6adc05cf48889b7dffcc59036b7df260ea6c158 Mon Sep 17 00:00:00 2001 From: karthik s Date: Thu, 21 Jul 2016 16:50:08 +0530 Subject: Add sriov_numvfs in THT Allow the operator to configure sriov_numvfs for each of the required SR-IOV interfaces. Depends-On: I2c1fce461d4602cd9f7de44b34e94920d1a581a6 Change-Id: I56b7ae268535a8e423e65e8f1b99763c44d99eca implements: blueprint tripleo-sriov Signed-off-by: karthik s --- puppet/services/neutron-sriov-agent.yaml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/puppet/services/neutron-sriov-agent.yaml b/puppet/services/neutron-sriov-agent.yaml index 700b44c7..559500df 100644 --- a/puppet/services/neutron-sriov-agent.yaml +++ b/puppet/services/neutron-sriov-agent.yaml @@ -32,6 +32,13 @@ parameters: physical_device_mappings list. type: comma_delimited_list default: "" + NeutronSriovNumVFs: + description: > + Provide the list of VFs to be reserved for each SR-IOV interface. + Format ":",":" + Example "eth1:4096","eth2:128" + type: comma_delimited_list + default: "" EndpointMap: default: {} description: Mapping of service endpoint -> protocol. Typically set @@ -46,5 +53,6 @@ outputs: config_settings: neutron::agents::ml2::sriov::physical_device_mappings: {get_param: NeutronPhysicalDevMappings} neutron::agents::ml2::sriov::exclude_devices: {get_param: NeutronExcludeDevices} + neutron::agents::ml2::sriov::number_of_vfs: {get_param: NeutronSriovNumVFs} step_config: | include ::tripleo::profile::base::neutron::sriov -- cgit 1.2.3-korg