0f39a55942
Adding the baclient code to Drydock requires a refactor of the build automation to support multiple languages and multiple artifacts included in a single Docker image NOTE: the go source here is a placeholder 'hello world' sample Change-Id: I1b4883f018b33b3d4fcd7cbcb6cba660fcdc93de
129 lines
3.0 KiB
YAML
129 lines
3.0 KiB
YAML
#Copyright 2018 AT&T Intellectual Property. All other 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.
|
|
---
|
|
schema: 'drydock/HostProfile/v1'
|
|
metadata:
|
|
schema: 'metadata/Document/v1'
|
|
name: defaults
|
|
storagePolicy: 'cleartext'
|
|
labels:
|
|
application: 'drydock'
|
|
data:
|
|
hardware_profile: HPGen9v3
|
|
oob:
|
|
type: ipmi
|
|
network: oob
|
|
account: admin
|
|
credential: admin
|
|
storage:
|
|
physical_devices:
|
|
sda:
|
|
labels:
|
|
role: rootdisk
|
|
partitions:
|
|
- name: root
|
|
size: 20g
|
|
bootable: true
|
|
filesystem:
|
|
mountpoint: '/'
|
|
fstype: 'ext4'
|
|
mount_options: 'defaults'
|
|
- name: boot
|
|
size: 1g
|
|
bootable: false
|
|
filesystem:
|
|
mountpoint: '/boot'
|
|
fstype: 'ext4'
|
|
mount_options: 'defaults'
|
|
sdb:
|
|
volume_group: 'log_vg'
|
|
volume_groups:
|
|
log_vg:
|
|
logical_volumes:
|
|
- name: 'log_lv'
|
|
size: '500m'
|
|
filesystem:
|
|
mountpoint: '/var/log'
|
|
fstype: 'xfs'
|
|
mount_options: 'defaults'
|
|
platform:
|
|
image: 'xenial'
|
|
kernel: 'ga-16.04'
|
|
kernel_params:
|
|
quiet: true
|
|
console: ttyS2
|
|
metadata:
|
|
owner_data:
|
|
foo: bar
|
|
---
|
|
schema: 'drydock/BaremetalNode/v1'
|
|
metadata:
|
|
schema: 'metadata/Document/v1'
|
|
name: controller01
|
|
storagePolicy: 'cleartext'
|
|
labels:
|
|
application: 'drydock'
|
|
data:
|
|
host_profile: defaults
|
|
addressing:
|
|
- network: pxe
|
|
address: dhcp
|
|
- network: mgmt
|
|
address: 172.16.1.20
|
|
- network: public
|
|
address: 172.16.3.20
|
|
- network: oob
|
|
address: 172.16.100.20
|
|
metadata:
|
|
rack: rack1
|
|
---
|
|
schema: 'drydock/HardwareProfile/v1'
|
|
metadata:
|
|
schema: 'metadata/Document/v1'
|
|
name: HPGen9v3
|
|
storagePolicy: 'cleartext'
|
|
labels:
|
|
application: 'drydock'
|
|
data:
|
|
vendor: HP
|
|
generation: '8'
|
|
hw_version: '3'
|
|
bios_version: '2.2.3'
|
|
boot_mode: bios
|
|
bootstrap_protocol: pxe
|
|
pxe_interface: 0
|
|
device_aliases:
|
|
prim_nic01:
|
|
address: '0000:00:03.0'
|
|
dev_type: '82540EM Gigabit Ethernet Controller'
|
|
bus_type: 'pci'
|
|
prim_nic02:
|
|
address: '0000:00:04.0'
|
|
dev_type: '82540EM Gigabit Ethernet Controller'
|
|
bus_type: 'pci'
|
|
primary_boot:
|
|
address: '2:0.0.0'
|
|
dev_type: 'VBOX HARDDISK'
|
|
bus_type: 'scsi'
|
|
cpu_sets:
|
|
sriov: '2,4'
|
|
hugepages:
|
|
sriov:
|
|
size: '1G'
|
|
count: 300
|
|
dpdk:
|
|
size: '2M'
|
|
count: 530000
|
|
...
|