diff options
author | 2019-10-02 19:33:33 +0000 | |
---|---|---|
committer | 2019-12-04 19:59:09 +0000 | |
commit | f23db145a7d5c425b12d346cb99e462ce5e9a815 (patch) | |
tree | 9e1153e427d739c831fbbd71ee153b92310520bd /type/cntt/software/charts/osh/openstack-compute-kit/openvswitch-dpdk.yaml | |
parent | 77a1f5b22527c07f186e4d961ae1febe3fda2801 (diff) |
Deploy ovs-dpdk to pod18
This ps creates artifacts needed to support deployment
of ovs-dpdk. Most of the common artifacts are under
cntt umbrella, but currently only deploys to pod18.
Signed-off-by: Roy Tang <roy.s.tang@att.com>
Change-Id: Id02abc1b907ad33b423466acae21ad6c88dbd246
Diffstat (limited to 'type/cntt/software/charts/osh/openstack-compute-kit/openvswitch-dpdk.yaml')
-rw-r--r-- | type/cntt/software/charts/osh/openstack-compute-kit/openvswitch-dpdk.yaml | 115 |
1 files changed, 115 insertions, 0 deletions
diff --git a/type/cntt/software/charts/osh/openstack-compute-kit/openvswitch-dpdk.yaml b/type/cntt/software/charts/osh/openstack-compute-kit/openvswitch-dpdk.yaml new file mode 100644 index 0000000..7fe5e40 --- /dev/null +++ b/type/cntt/software/charts/osh/openstack-compute-kit/openvswitch-dpdk.yaml @@ -0,0 +1,115 @@ +--- +# OVS-DPDK NOTE: +# This chart is created to support deployment of ovs-dpdk. +# Do not use for env that uses regular ovs kernel. + +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: openvswitch-dpdk + labels: + name: openvswitch-dpdk-cntt + component: openswitch + layeringDefinition: + abstract: false + layer: type + parentSelector: + name: openvswitch-global + actions: + - method: merge + path: . + storagePolicy: cleartext + substitutions: + # Chart source + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .ovs-dpdk.charts.osh.openvswitch + dest: + path: .source + # Images + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .ovs-dpdk.images.osh.openvswitch + dest: + path: .values.images.tags + # OVS-DPDK config + - src: + schema: drydock/HardwareProfile/v1 + name: intel-s2600wt + path: .cpu_sets.dpdk-lcore-mask + dest: + path: .values.conf.ovs_dpdk.lcore_mask + - src: + schema: drydock/HardwareProfile/v1 + name: intel-s2600wt + path: .cpu_sets.pmd-cpu-mask + dest: + path: .values.conf.ovs_dpdk.pmd_cpu_mask + - src: + schema: pegleg/CommonAddresses/v1 + name: common-addresses-ovsdpdk + path: .bridge_for_ovsdpdk + dest: + - path: .values.network.external_bridge + - path: .values.network.interface.external +data: + values: + pod: + resources: + enabled: true + ovs: + vswitchd_dpdk: + requests: + memory: "2Gi" + cpu: "2" + limits: + memory: "2Gi" + cpu: "2" + hugepages-1Gi: "1Gi" + conf: + ovs_dpdk: + enabled: true + socket_memory: 4096,4096 + vhostuser_socket_dir: vhostuser + hugepages_mountpath: /dev/hugepages + # OVS-DPDK NOTE: Need to wait for sriov agent to come up and configure VFs first + dependencies: + static: + vswitchd: + pod: + - requireSameNode: true + labels: + application: neutron + component: neutron-sriov-agent + dependencies: + - openvswitch-htk-dpdk +... +--- +schema: armada/Chart/v1 +metadata: + schema: metadata/Document/v1 + name: openvswitch-htk-dpdk + labels: + name: openvswitch-htk-dpdk-cntt + component: openvswitch + layeringDefinition: + abstract: false + layer: type + storagePolicy: cleartext + substitutions: + - src: + schema: pegleg/SoftwareVersions/v1 + name: software-versions + path: .ovs-dpdk.charts.osh.openvswitch-htk + dest: + path: .source +data: + chart_name: openvswitch-htk + release: openvswitch-htk + namespace: openvswitch-htk + values: {} + dependencies: [] +... + |