add containerized openstack cli
[yaml_builds.git] / site_type / sriov-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 {% if 'dpdk' in yaml %}
41         ovs:
42           vswitchd:
43             requests:
44               memory: "8Gi"
45               cpu: "4000m"
46             limits:
47               memory: "8Gi"
48               cpu: "4000m"
49               hugepages-1Gi: "8Gi"
50     conf:
51       ovs_dpdk:
52         enabled: true
53         hugepages_mountpath: /dev/hugepages_1G
54         socket_memory: '4096,4096'
55         pmd_cpu_mask: '0xF'
56         vhostuser_socket_dir: vhostuser
57 {% endif %}
58   dependencies:
59     - openstack-openvswitch-helm-toolkit
60 ...
61 ---
62 schema: armada/Chart/v1
63 metadata:
64   schema: metadata/Document/v1
65   name: openstack-openvswitch-helm-toolkit
66   layeringDefinition:
67     abstract: false
68     layer: global
69   storagePolicy: cleartext
70   substitutions:
71     # Chart source
72     - src:
73         schema: pegleg/SoftwareVersions/v1
74         name: software-versions
75         path: .charts.osh.openvswitch-htk
76       dest:
77         path: .source
78
79 data:
80   chart_name: openstack-openvswitch-helm-toolkit
81   release: openstack-openvswitch-helm-toolkit
82   namespace: helm-toolkit
83   values: {}
84   dependencies: []
85 ...