# Copyright 2017 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. #################### # # bootstrap_seed.yaml - Site server design definition for physical layer # #################### # version the schema in this file so consumers can rationally parse it --- apiVersion: 'v1.0' kind: BaremetalNode metadata: name: controller01 region: sitename date: 17-FEB-2017 author: sh8121@att.com description: Describe layer 2/3 attributes. Primarily CIs used for configuring server interfaces spec: host_profile: k8-node-public # the hostname for a server, could be used in multiple DNS domains to # represent different interfaces interfaces: - device_name: bond0 networks: # '!' prefix for the value of the primary key indicates a record should be removed - '!private' # Addresses assigned to network interfaces addressing: # Which network the address applies to. If a network appears in addressing # that isn't assigned to an interface, design validation will fail - network: pxe # The address assigned. Either a explicit IPv4 or IPv6 address # or dhcp or slaac address: dhcp - network: mgmt address: 172.16.1.20 - network: public address: 172.16.3.20 metadata: tags: - os_ctl rack: rack01 --- apiVersion: 'v1.0' kind: BaremetalNode metadata: name: compute01 region: sitename date: 17-FEB-2017 author: sh8121@att.com description: Describe layer 2/3 attributes. Primarily CIs used for configuring server interfaces spec: host_profile: k8-node addressing: - network: pxe address: dhcp - network: mgmt address: 172.16.1.21 - network: private address: 172.16.2.21