35ece6c35a7ff9ed6f698c5e8cc61f95f0689f83
[yaml_builds.git] / site / site30 / profiles / host / compute-r01.yaml
1 ---
2 ##############################################################################
3 # Copyright © 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: drydock/HostProfile/v1
19 metadata:
20   schema: metadata/Document/v1
21   name: MyComputePlane_HP
22   storagePolicy: cleartext
23   labels:
24     hosttype: MyComputePlane_HP
25   layeringDefinition:
26     abstract: false
27     layer: site
28   substitutions:
29     - dest:
30         path: .oob.credential
31       src:
32         schema: deckhand/Passphrase/v1
33         name: ipmi_admin_password
34         path: .
35 data:
36   oob:
37     type: 'ipmi'
38     network: 'oob'
39     account: 'Administrator'
40   primary_network: 'oam'
41   hardware_profile: DELL_HP_Generic
42   interfaces:
43     pxe:
44       device_link: pxe
45       slaves:
46         - 'eno1'
47       networks:
48         - 'pxe'
49     bond0:
50       device_link: bond0
51       slaves:
52         - 'ens3f0'
53         - 'ens3f1'
54       networks:
55         - 'oam'
56         - 'storage'
57         - 'overlay'
58         - 'calico'
59   storage:
60     physical_devices:
61       sdj:
62         labels:
63           bootdrive: 'true'
64         partitions:
65           - name: 'root'
66             size: '20g'
67             bootable: true
68             filesystem:
69               mountpoint: '/'
70               fstype: 'ext4'
71               mount_options: 'defaults'
72           - name: 'boot'
73             size: '1g'
74             filesystem:
75               mountpoint: '/boot'
76               fstype: 'ext4'
77               mount_options: 'defaults'
78           - name: 'var'
79             size: '>300g'
80             filesystem:
81               mountpoint: '/var'
82               fstype: 'ext4'
83               mount_options: 'defaults'
84       sdk:
85         partitions:
86           - name: 'nova'
87             size: '99%'
88             filesystem:
89               mountpoint: '/var/lib/nova'
90               fstype: 'ext4'
91               mount_options: 'defaults'
92   platform:
93     image: 'xenial'
94     kernel: 'hwe-16.04'
95     kernel_params:
96       console: 'ttyS1,115200n8'
97   metadata:
98     owner_data:
99       openstack-nova-compute: enabled
100       openvswitch: enabled
101       openstack-libvirt: kernel
102       beta.kubernetes.io/fluentd-ds-ready: 'true'
103 ...
104