update host profiles and use chart default values
[yaml_builds.git] / site_type / sriov-a13 / templates / software / charts / osh / openstack-compute-kit / neutron.j2
1 ---
2 ##############################################################################
3 # Copyright (c) 2018 AT&T Intellectual Property. All rights reserved.        #
4 #                                                                            #
5 # Licensed under the Apache License, Version 2.0 (the "License"); you may    #
6 # not use this file except in compliance with the License.                   #
7 #                                                                            #
8 # You may obtain a copy of the License at                                    #
9 #       http://www.apache.org/licenses/LICENSE-2.0                           #
10 #                                                                            #
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.
20 # In particular:
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
24 schema: armada/Chart/v1
25 metadata:
26   schema: metadata/Document/v1
27   name: neutron-fixme
28   layeringDefinition:
29     abstract: false
30     layer: site
31     parentSelector:
32       name: neutron-global
33     actions:
34       - method: merge
35         path: .
36   storagePolicy: cleartext
37 data: {}
38 #data:
39 #  values:
40 #    labels:
41 #      agent:
42 #        sriov:
43 #          node_selector_key: sriov
44 #          node_selector_value: enabled
45 #    network:
46 #      backend:
47 #        - openvswitch
48 #        - sriov
49 #      interface:
50 #        tunnel_device: '{{yaml.networks.neutron.interface}}'
51 #      sriov:
52 #{% for sriovnet in yaml.sriov.nets %}
53 #        - device: {{sriovnet.interface}}
54 #          num_vfs: 32
55 #          mtu: 9000
56 #          promisc: false
57 #{% endfor %}
58 #      # auto_bridge_add:
59 #      #   br-ex: {{yaml.networks.neutron.interface}}
60 #    conf:
61 #      plugins:
62 #        openvswitch_agent:
63 #          ovs:
64 #            bridge_mappings: "bond0:br-ex"
65 #        sriov_agent:
66 #          securitygroup:
67 #            firewall_driver: neutron.agent.firewall.NoopFirewallDriver
68 #          sriov_nic:
69 #            exclude_devices: ""
70 #            physical_device_mappings: '
71 #{%- for sriovnet in yaml.sriov.nets -%}
72 #{%- if loop.index > 1 -%},{%- endif -%}
73 #{{sriovnet.physical}}:{{sriovnet.interface}}
74 #{%- endfor -%}'
75 #        ml2_conf:
76 #          ml2:
77 #            mechanism_drivers: openvswitch,l2population,sriovnicswitch
78 #            # type_drivers: flat,vlan
79 #            # tenant_network_types: vlan
80 #          ml2_type_vlan:
81 #            network_vlan_ranges: bond0:46:300
82 #{%- for sriovnet in yaml.sriov.nets -%}
83 #,{{sriovnet.physical}}:{{sriovnet.vlan_start}}:{{sriovnet.vlan_end}}
84 #{%- endfor %}
85 #
86 #          # ml2_type_flat:
87 #          #  flat_networks: public
88 #        ml2_conf_sriov: null
89 #      paste:
90 #        app:neutronversions:
91 #          paste.app_factory: neutron.pecan_wsgi.app:versions_factory
92 #  dependencies:
93 #    - openstack-neutron-helm-toolkit
94 ...