X-Git-Url: https://gerrit.akraino.org/r/gitweb?a=blobdiff_plain;f=site_type%2Fovsdpdk-a13%2Ftemplates%2Fsoftware%2Fcharts%2Fosh%2Fopenstack-compute-kit%2Fneutron.j2;fp=site_type%2Fovsdpdk-a13%2Ftemplates%2Fsoftware%2Fcharts%2Fosh%2Fopenstack-compute-kit%2Fneutron.j2;h=3a54c056c40aa0e7df337c81c1641e60e98e515a;hb=4ef0e0a733df21b39be32c773be73c688d4466af;hp=0000000000000000000000000000000000000000;hpb=267230d53447c489d10905f260f503f2e71d414f;p=yaml_builds.git diff --git a/site_type/ovsdpdk-a13/templates/software/charts/osh/openstack-compute-kit/neutron.j2 b/site_type/ovsdpdk-a13/templates/software/charts/osh/openstack-compute-kit/neutron.j2 new file mode 100644 index 0000000..3a54c05 --- /dev/null +++ b/site_type/ovsdpdk-a13/templates/software/charts/osh/openstack-compute-kit/neutron.j2 @@ -0,0 +1,105 @@ +--- +############################################################################## +# Copyright (c) 2018 AT&T Intellectual Property. All rights reserved. # +# # +# Licensed under the Apache License, Version 2.0 (the "License"); you may # +# not use this file except in compliance with the License. # +# # +# You may obtain a copy of the License at # +# http://www.apache.org/licenses/LICENSE-2.0 # +# # +# Unless required by applicable law or agreed to in writing, software # +# distributed under the License is distributed on an "AS IS" BASIS, WITHOUT # +# WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # +# See the License for the specific language governing permissions and # +# limitations under the License. # +############################################################################## +# This file defines hardware-specific settings for neutron. If you use the same +# hardware profile as this environment, you should not need to change this file. +# Otherwise, you should review the settings here and adjust for your hardware. +# In particular: +# 1. logical network interface names +# 2. physical device mappigns +# TODO: Should move to global layer and become tied to the hardware profile + +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: neutron + replacement: true + labels: + component: neutron + layeringDefinition: + abstract: false + layer: site + parentSelector: + name: neutron-global + actions: + - method: merge + path: . + storagePolicy: cleartext + +data: + values: + network: + backend: + - openvswitch + interface: + tunnel: br-phy + conf: + plugins: + ml2_conf: + ml2: + mechanism_drivers: openvswitch,l2population + type_drivers: flat,vlan,vxlan + tenant_network_types: vxlan + ml2_type_vlan: + network_vlan_ranges: "external:3002:3008" + ml2_type_flat: + flat_networks: public + openvswitch_agent: + agent: + tunnel_types: vxlan + ovs: + bridge_mappings: external:br-phy + ovs_dpdk: + enabled: true + driver: vfio-pci + nics: +{% for nic in yaml.dpdk.nics %} + - name: {{ nic.name }} + pci_id: '{{ nic.pci_id }}' + bridge: {{ nic.bridge }} + migrate_ip: {{ nic.migrate_ip }} +{% endfor %} + bridges: + - name: br-phy + bonds: [] + paste: + app:neutronversions: + paste.app_factory: neutron.pecan_wsgi.app:versions_factory + dependencies: + - openstack-neutron-helm-toolkit +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: openstack-neutron-helm-toolkit + layeringDefinition: + abstract: false + layer: global + storagePolicy: cleartext + substitutions: + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .charts.osh.neutron-htk + dest: + path: .source +data: + chart_name: openstack-neutron-helm-toolkit + release: openstack-neutron-helm-toolkit + namespace: helm-toolkit + values: {} + dependencies: [] +...