238 lines
5.7 KiB
JSON
238 lines
5.7 KiB
JSON
{
|
|
"configuration": {
|
|
"site": "seaworthy-virt",
|
|
"primary_repo": "./",
|
|
"aux_repos": []
|
|
},
|
|
"ingress": {
|
|
"domain": "gate.local",
|
|
"ca": "-----BEGIN CERTIFICATE-----\nMIIDCzCCAfOgAwIBAgIUXetmvJ5wIpXdUOIn3Vg4D0hVLe4wDQYJKoZIhvcNAQEL\nBQAwFTETMBEGA1UEAwwKaW5ncmVzcy1jYTAeFw0xOTEyMDQxOTU5MTJaFw0yOTEy\nMDExOTU5MTJaMBUxEzARBgNVBAMMCmluZ3Jlc3MtY2EwggEiMA0GCSqGSIb3DQEB\nAQUAA4IBDwAwggEKAoIBAQCikS+idIoIpoHHWJUK8XYplluWIMRV4ssXmOqrVZiB\nVLdC1mkpnEo01RkCxw7YB9srXaRiemq7NqKpbNpxsZ6aII0QRgQbKXXjL8J9pX42\n0S0V6S/FGLLb0e80VhEbLhVuTX3V//fYg6CeGF3vy/UgoPGUYlXaHAgsZhBqS3yA\nQhq+kqUjwET/EoIoLWMqo+2PAIe/xHNqWH4sFexfj8GG1C1QpalTNdODkvQwZzSo\nMeu+UJbWTL7s+QJKemTVJJKCU9g1rFxbA6GypnV9xavgUR1sB0HlG7mmLnXqjKHm\nEgG78JZUkB2mrxKveVdW+Uad90EguKkuJUPirW0KHQl7AgMBAAGjUzBRMB0GA1Ud\nDgQWBBT7o/yXQYABZqcLW+D9+OMo84dHCDAfBgNVHSMEGDAWgBT7o/yXQYABZqcL\nW+D9+OMo84dHCDAPBgNVHRMBAf8EBTADAQH/MA0GCSqGSIb3DQEBCwUAA4IBAQBM\n0AF2+r5IeP1w0AZJjw0strgJ8HZNt4AVuD6nziqr1mtntKt5vEdWWgVqAVeAspnK\nglrYzGstw/dRAVhlZaKi8P5hl0taZto81tWoMLmXhu2WIwyf86JOmtE6HTGGO2jt\nPsuhwvqx592Ikq/WwiASHlJx/jP1Un4F/FewIy0StzkOIiEMXCtIF+RPbkS1y0pD\nzPgL0O9imT9CFZtm4e1nBE6BCahhiWO+PveI3c24BeGBRx79LYg0DY5E9aBkU/WV\nWpd7Y1dHqZxSBjd4UeDVZi/whs7Zv+I90Hcsb+PkrssKOJUivZ8RuR/2yKD40ujo\nDw3iF3Hyn5UCh4uA8ZJu\n-----END CERTIFICATE-----",
|
|
"172.24.1.5": ["maas"],
|
|
"172.24.1.6": ["drydock","shipyard","keystone"]
|
|
},
|
|
"disk_layouts":{
|
|
"simple": {
|
|
"vda": {
|
|
"size": 96,
|
|
"io_profile": "fast",
|
|
"bootstrap": true
|
|
}
|
|
},
|
|
"multi": {
|
|
"vda": {
|
|
"size": 48,
|
|
"io_profile": "fast",
|
|
"bootstrap": true
|
|
},
|
|
"vdb": {
|
|
"size": 16,
|
|
"io_profile": "fast",
|
|
"format": {"type": "ext4", "mountpoint": "/var"}
|
|
}
|
|
}
|
|
},
|
|
"networking":{
|
|
"pxe": {
|
|
"roles":["ssh","bgp", "dns"],
|
|
"layer2": {
|
|
"mtu": 1500,
|
|
"address": "52:54:00:00:dd:31"
|
|
},
|
|
"layer3": {
|
|
"cidr": "172.24.1.0/24",
|
|
"address": "172.24.1.1",
|
|
"gateway": "172.24.1.1",
|
|
"routing": {
|
|
"mode": "nat"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"stages": [
|
|
{
|
|
"name": "Gate Setup",
|
|
"script": "gate-setup.sh"
|
|
},
|
|
{
|
|
"name": "Pegleg Collection",
|
|
"script": "pegleg-collect.sh"
|
|
},
|
|
{
|
|
"name": "Pegleg Render",
|
|
"script": "pegleg-render.sh"
|
|
},
|
|
{
|
|
"name": "Generate Certificates",
|
|
"script": "generate-certificates.sh"
|
|
},
|
|
{
|
|
"name": "Build Scripts",
|
|
"script": "build-scripts.sh"
|
|
},
|
|
{
|
|
"name": "Create VMs",
|
|
"script": "create-vms.sh"
|
|
},
|
|
{
|
|
"name": "Register Ingress",
|
|
"script": "ingress-dns.sh",
|
|
"arguments": ["build"]
|
|
},
|
|
{
|
|
"name": "Create BGP router",
|
|
"script": "bgp-router.sh",
|
|
"arguments": ["build"]
|
|
},
|
|
{
|
|
"name": "Pre Genesis Setup",
|
|
"script": "genesis-setup.sh"
|
|
},
|
|
{
|
|
"name": "Genesis",
|
|
"script": "genesis.sh",
|
|
"on_error": "collect_genesis_info.sh"
|
|
},
|
|
{
|
|
"name": "Validate Genesis",
|
|
"script": "validate-genesis.sh",
|
|
"on_error": "collect_genesis_info.sh"
|
|
},
|
|
{
|
|
"name": "Load Site Design",
|
|
"script": "shipyard-load-design.sh"
|
|
},
|
|
{
|
|
"name": "Deploy Site",
|
|
"script": "shipyard-deploy-site.sh"
|
|
},
|
|
{
|
|
"name": "Validate Kube",
|
|
"script": "validate-kube.sh",
|
|
"on_error": "collect_genesis_info.sh"
|
|
}
|
|
],
|
|
"vm": {
|
|
"build": {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"disk_layout": "simple",
|
|
"networking": {
|
|
"ens3": {
|
|
"mac": "52:54:00:00:be:31",
|
|
"pci": {
|
|
"slot": 3,
|
|
"port": 0
|
|
},
|
|
"attachment": {
|
|
"network": "pxe"
|
|
}
|
|
},
|
|
"addresses": {
|
|
"pxe": {
|
|
"ip": "172.24.1.9"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": true,
|
|
"userdata": "packages: [docker.io]"
|
|
},
|
|
"n0" : {
|
|
"memory": 24576,
|
|
"vcpus": 16,
|
|
"disk_layout": "simple",
|
|
"networking": {
|
|
"ens3": {
|
|
"mac": "52:54:00:00:a4:31",
|
|
"pci": {
|
|
"slot": 3,
|
|
"port": 0
|
|
},
|
|
"attachment": {
|
|
"network": "pxe"
|
|
}
|
|
},
|
|
"addresses": {
|
|
"pxe": {
|
|
"ip": "172.24.1.10"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": true
|
|
},
|
|
"n1" : {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"disk_layout": "simple",
|
|
"networking": {
|
|
"ens3": {
|
|
"mac": "52:54:00:00:a3:31",
|
|
"pci": {
|
|
"slot": 3,
|
|
"port": 0
|
|
},
|
|
"attachment": {
|
|
"network": "pxe"
|
|
}
|
|
},
|
|
"addresses": {
|
|
"pxe": {
|
|
"ip": "172.24.1.11"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": false
|
|
},
|
|
"n2" : {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"disk_layout": "simple",
|
|
"networking": {
|
|
"ens3": {
|
|
"mac": "52:54:00:1a:95:0d",
|
|
"pci": {
|
|
"slot": 3,
|
|
"port": 0
|
|
},
|
|
"attachment": {
|
|
"network": "pxe"
|
|
}
|
|
},
|
|
"addresses": {
|
|
"pxe": {
|
|
"ip": "172.24.1.12"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": false
|
|
},
|
|
"n3" : {
|
|
"memory": 3072,
|
|
"vcpus": 2,
|
|
"disk_layout": "simple",
|
|
"networking": {
|
|
"ens3": {
|
|
"mac": "52:54:00:31:c2:36",
|
|
"pci": {
|
|
"slot": 3,
|
|
"port": 0
|
|
},
|
|
"attachment": {
|
|
"network": "pxe"
|
|
}
|
|
},
|
|
"addresses": {
|
|
"pxe": {
|
|
"ip": "172.24.1.13"
|
|
}
|
|
}
|
|
},
|
|
"bootstrap": false
|
|
}
|
|
|
|
},
|
|
"bgp" : {
|
|
"quagga_as": 64688,
|
|
"calico_as": 64671
|
|
}
|
|
}
|