2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may #
6 # not use this file except in compliance with the License. #
8 # You may obtain a copy of the License at #
9 # http://www.apache.org/licenses/LICENSE-2.0 #
11 # Unless required by applicable law or agreed to in writing, software #
12 # distributed under the License is distributed on an "AS IS" BASIS, WITHOUT #
13 # WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. #
14 # See the License for the specific language governing permissions and #
15 # limitations under the License. #
16 ##############################################################################
17 # This file defines hardware-specific settings for neutron. If you use the same
18 # hardware profile as this environment, you should not need to change this file.
19 # Otherwise, you should review the settings here and adjust for your hardware.
21 # 1. logical network interface names
22 # 2. physical device mappigns
23 # TODO: Should move to global layer and become tied to the hardware profile
25 schema: armada/Chart/v1
27 schema: metadata/Document/v1
40 storagePolicy: cleartext
46 node_selector_key: sriov
47 node_selector_value: enabled
53 tunnel_device: '{{yaml.networks.neutron.interface}}'
55 {% for sriovnet in yaml.sriov.nets %}
56 - device: {{sriovnet.interface}}
64 bridge_mappings: bond0:br-bond0
67 firewall_driver: neutron.agent.firewall.NoopFirewallDriver
70 physical_device_mappings: '
71 {%- for sriovnet in yaml.sriov.nets -%}
72 {%- if loop.index > 1 -%}
75 {{sriovnet.physical}}:{{sriovnet.interface}}
79 mechanism_drivers: l2population,openvswitch,sriovnicswitch
81 network_vlan_ranges: bond0:46:300
82 {%- for sriovnet in yaml.sriov.nets -%}
83 ,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}