dhcp:
start: 172.30.2.201
end: 172.30.2.254
- inf: net4
ksn:
vlan: 44
interface: bond0.44
- 8.8.8.8
- 8.8.4.4
ingress_domain: dellgen10.akraino.org
- server_domain: lab.akraino.org
+ domain: lab.akraino.org
sriovnets:
- physical: sriovnet1
interface: enp135s0f0
ksn: 172.29.1.40
neutron: 10.0.102.40
root_password: akraino,d
- oem: Dell
# bios_template: dell_r740_g14_uefi_base.xml.template
# boot_template: dell_r740_g14_uefi_httpboot.xml.template
# http_boot_device: NIC.Slot.2-1-1
dhcp:
start: 172.30.1.201
end: 172.30.1.254
- inf: net4
ksn:
vlan: 44
interface: bond0.44
- 8.8.8.8
- 8.8.8.8
ingress_domain: hpgen10.akraino.org
- server_domain: lab.akraino.org
+ domain: lab.akraino.org
sriovnets:
- physical: sriovnet1
interface: ens6f0
ksn: 172.29.1.30
neutron: 10.0.101.30
root_password: akraino,d
- oem: HPE
mac_address: 3c:fd:fe:aa:90:b0
# bios_template: hpe_dl380_g10_uefi_base.json.template
# boot_template: hpe_dl380_g10_uefi_httpboot.json.template
mountpoint: /var
- name : sdk
partitions:
- - name: cephj
+ - name: ceph
size: 300g
mountpoint: /var/lib/ceph/journal
disks_compute:
# add keys for backward compatibility
defaults = dict( [('oob_user',siteyaml['ipmi_admin']['username'])] + defaults.items())
defaults = dict( [('oob_password',siteyaml['ipmi_admin']['password'])] + defaults.items())
-defaults = dict( [('oem',siteyaml['hardware']['vendor'])] + defaults.items())
print 'Using defaults:'
for line in yaml.dump(defaults,default_flow_style=False).split('\n'):
end: {{yaml.networks.pxe.ranges.dhcp.end}}
dns:
domain: {% if 'dns' in yaml.networks.pxe and 'domain' in yaml.networks.pxe.dns %}{{yaml.networks.pxe.dns.domain}}
- {% else %}{{yaml.dns.server_domain}}
+ {% else %}{{yaml.dns.domain}}
{% endif %}
servers: '{% if 'dns' in yaml.networks.pxe %}{{yaml.networks.pxe.dns.servers}}{% else %}{{yaml.dns.upstream_servers|join(' ')}}{% endif %}'
...
end: {{yaml.networks.host.ranges.static.end}}
dns:
domain: {% if 'dns' in yaml.networks.host and 'domain' in yaml.networks.host.dns %}{{yaml.networks.host.dns.domain}}
- {% else %}{{yaml.dns.server_domain}}
+ {% else %}{{yaml.dns.domain}}
{% endif %}
servers: '{% if 'dns' in yaml.networks.host %}{{yaml.networks.host.dns.servers}}{% else %}{{yaml.dns.upstream_servers|join(' ')}}{% endif %}'
...
# host name for server
SRV_NAME={{yaml.genesis.name}}
-# server oem - Dell or HPE (case sensitive)
-SRV_OEM={{yaml.genesis.oem}}
-
# out of band interface information for server (idrac/ilo/etc)
SRV_OOB_IP={{yaml.genesis.oob}}
SRV_OOB_USR={{yaml.ipmi_admin.username}}
SRV_MAC={{yaml.genesis.mac_address}}
{% endif %}
-# name of network interface used during build when ipxe.efi is booted and when os is booted
-# ipxe numbers ports from 0-n in pci bus order.
-# the netx value will depend on how many nics are in the server
-# and which pci device number is assigned to the slot
-SRV_IPXE_INF={{yaml.networks.pxe.inf}}
-
-# the build interface is the nic used by the Ubuntu installed to load the OS
-SRV_BLD_INF={{yaml.networks.slaves[0].name}}
-
# the boot device is the device name on which the OS will be loaded
SRV_BOOT_DEVICE={{yaml.disks[0].name}}
SRV_CEPH_DEVICE={{yaml.disks[1].name}}
SRV_GATEWAY={{yaml.networks.host.routes.gateway}}
SRV_DNS="{% if 'dns' in yaml.networks.host %}{{yaml.networks.host.dns.servers}}{% else %}{{yaml.dns.upstream_servers|join(' ')}}{% endif %}"
SRV_DOMAIN={% if 'dns' in yaml.networks.pxe and 'domain' in yaml.networks.pxe.dns %}{{yaml.networks.pxe.dns.domain}}
- {% else %}{{yaml.dns.server_domain}}
+ {% else %}{{yaml.dns.domain}}
{% endif %}
SRV_DNSSEARCH={% if 'dns' in yaml.networks.pxe and 'domain' in yaml.networks.pxe.dns %}{{yaml.networks.pxe.dns.domain}}
- {% else %}{{yaml.dns.server_domain}}
+ {% else %}{{yaml.dns.domain}}
{% endif %}
SRV_NTP=ntp.ubuntu.org