Adaptations for OVS-DPDK blueprint
[yaml_builds.git] / site_type / ovsdpdk-a13 / templates / software / charts / osh / openstack-compute-kit / openvswitch.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
18 schema: armada/Chart/v1
19 metadata:
20   schema: metadata/Document/v1
21   name: openvswitch
22   replacement: true
23   labels:
24     name: openvswitch-global
25   layeringDefinition:
26     abstract: false
27     layer: site
28     parentSelector:
29       name: openvswitch-global
30     actions:
31       - method: merge
32         path: .
33   storagePolicy: cleartext
34
35 data:
36   values:
37     pod:
38       resources:
39         enabled: true
40         ovs:
41           vswitchd:
42             requests:
43               memory: "8Gi"
44               cpu: "4000m"
45             limits:
46               memory: "8Gi"
47               cpu: "4000m"
48               hugepages-1Gi: "8Gi"
49     conf:
50       ovs_dpdk:
51         enabled: true
52         hugepages_mountpath: /dev/hugepages_1G
53         socket_memory: '4096,4096'
54         pmd_cpu_mask: '0xF'
55         vhostuser_socket_dir: vhostuser
56   dependencies:
57     - openstack-openvswitch-helm-toolkit
58 ...
59 ---
60 schema: armada/Chart/v1
61 metadata:
62   schema: metadata/Document/v1
63   name: openstack-openvswitch-helm-toolkit
64   layeringDefinition:
65     abstract: false
66     layer: global
67   storagePolicy: cleartext
68   substitutions:
69     # Chart source
70     - src:
71         schema: pegleg/SoftwareVersions/v1
72         name: software-versions
73         path: .charts.osh.openvswitch-htk
74       dest:
75         path: .source
76
77 data:
78   chart_name: openstack-openvswitch-helm-toolkit
79   release: openstack-openvswitch-helm-toolkit
80   namespace: helm-toolkit
81   values: {}
82   dependencies: []
83 ...