Adaptations for OVS-DPDK blueprint
[yaml_builds.git] / site_type / ovsdpdk-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
25 schema: armada/Chart/v1
26 metadata:
27   schema: metadata/Document/v1
28   name: neutron
29   replacement: true
30   labels:
31     component: neutron
32   layeringDefinition:
33     abstract: false
34     layer: site
35     parentSelector:
36       name: neutron-global
37     actions:
38       - method: merge
39         path: .
40   storagePolicy: cleartext
41
42 data:
43   values:
44     network:
45       backend:
46         - openvswitch
47       interface:
48         tunnel: br-phy
49     conf:
50       plugins:
51         ml2_conf:
52           ml2:
53             mechanism_drivers: openvswitch,l2population
54             type_drivers: flat,vlan,vxlan
55             tenant_network_types: vxlan
56           ml2_type_vlan:
57             network_vlan_ranges: "external:3002:3008"
58           ml2_type_flat:
59             flat_networks: public
60         openvswitch_agent:
61           agent:
62             tunnel_types: vxlan
63           ovs:
64             bridge_mappings: external:br-phy
65       ovs_dpdk:
66         enabled: true
67         driver: vfio-pci
68         nics:
69 {% for nic in yaml.dpdk.nics %}
70           - name: {{ nic.name }}
71             pci_id: '{{ nic.pci_id }}'
72             bridge: {{ nic.bridge }}
73             migrate_ip: {{ nic.migrate_ip }}
74 {% endfor %}
75         bridges:
76           - name: br-phy
77         bonds: []
78       paste:
79         app:neutronversions:
80           paste.app_factory: neutron.pecan_wsgi.app:versions_factory
81   dependencies:
82     - openstack-neutron-helm-toolkit
83 ---
84 schema: armada/Chart/v1
85 metadata:
86   schema: metadata/Document/v1
87   name: openstack-neutron-helm-toolkit
88   layeringDefinition:
89     abstract: false
90     layer: global
91   storagePolicy: cleartext
92   substitutions:
93     - src:
94         schema: pegleg/SoftwareVersions/v1
95         name: software-versions
96         path: .charts.osh.neutron-htk
97       dest:
98         path: .source
99 data:
100   chart_name: openstack-neutron-helm-toolkit
101   release: openstack-neutron-helm-toolkit
102   namespace: helm-toolkit
103   values: {}
104   dependencies: []
105 ...