Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 1 | resource_registry: |
| 2 | "MCP2::NetworkAcc": ../fragments/NetworkAccBM.yaml |
| 3 | "MCP2::NetworkAccStorage": ../fragments/NetworkAccVMStorage.yaml |
| 4 | "MCP2::NetworkPrvFl": ../fragments/NetworkPrvFl.yaml |
Vasyl Saienko | ad3a3a6 | 2020-05-14 16:52:52 +0300 | [diff] [blame] | 5 | "MCP2::NetworkIronicFlat": ../fragments/NetworkIronicFlat.yaml |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 6 | "MCP2::SrvInstances": ../fragments/SrvInstancesBM.yaml |
| 7 | "MCP2::SrvInstancesCeph": ../fragments/SrvInstancesBMCeph.yaml |
| 8 | "MCP2::SrvInstancesCephOSD": ../fragments/SrvInstancesBMCephOSD.yaml |
| 9 | |
| 10 | parameters: |
| 11 | image: bionic-server-cloudimg-amd64-20190612 |
| 12 | ucp_flavor: si-bm-410-128-16-hdd0-ssd2x1t |
| 13 | masters_flavor: si-bm-410-128-16-hdd0-ssd2x1t |
| 14 | workers_flavor: si-bm-410-128-32-hdd0-ssd2x1t |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 15 | cmps_flavor: si-bm-410-128-16-hdd0-ssd1x500g |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 16 | gtws_flavor: oscore-bm-lab-01 |
| 17 | lmas_flavor: oscore-bm-lab-01 |
| 18 | osds_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 19 | spares_flavor: si-bm-410-64-16-hdd2x2t-ssd1x500g-spare |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 20 | masters_size: 2 # UCP nodes |
| 21 | worker_size: 3 # OpenStack controller nodes |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 22 | cmp_size: 3 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 23 | gtw_size: 0 |
| 24 | lma_size: 0 |
| 25 | osd_size: 3 |
| 26 | spare_size: 1 |
| 27 | ucp_boot_timeout: 1200 |
| 28 | cluster_public_key: ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCp0evjOaK8c8SKYK4r2+0BN7g+8YSvQ2n8nFgOURCyvkJqOHi1qPGZmuN0CclYVdVuZiXbWw3VxRbSW3EH736VzgY1U0JmoTiSamzLHaWsXvEIW8VCi7boli539QJP0ikJiBaNAgZILyCrVPN+A6mfqtacs1KXdZ0zlMq1BPtFciR1JTCRcVs5vP2Wwz5QtY2jMIh3aiwkePjMTQPcfmh1TkOlxYu5IbQyZ3G1ahA0mNKI9a0dtF282av/F6pwB/N1R1nEZ/9VtcN2I1mf1NW/tTHEEcTzXYo1R/8K9vlqAN8QvvGLZtZduGviNVNoNWvoxaXxDt8CPv2B2NCdQFZp |
| 29 | public_net_id: 'physnet1-410' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 30 | control_network_cidr: '172.16.50.128/25' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 31 | private_floating_network_cidr: '172.16.51.0/25' |
| 32 | private_floating_network_pool_start: '172.16.51.10' |
| 33 | private_floating_network_pool_end: '172.16.51.30' |
| 34 | private_floating_network_ipam_pool_start: '172.16.51.31' |
| 35 | private_floating_network_ipam_pool_end: '172.16.51.62' |
| 36 | private_floating_network_gateway: '172.16.51.1' |
Vasyl Saienko | c943f43 | 2020-04-21 12:15:57 +0300 | [diff] [blame] | 37 | private_floating_network_interface: 'os-floating' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 38 | metallb_address_pools: [ '172.16.51.130-172.16.51.250' ] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 39 | private_floating_interface: 'os-floating' |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 40 | storage_frontend_interface: 'ceph-control' |
| 41 | storage_backend_interface: 'ceph-replica' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 42 | tunnel_interface: 'os-tenant' |
| 43 | live_migration_interface: 'os-tenant' |
Vasyl Saienko | 73082e5 | 2020-04-03 18:52:57 +0300 | [diff] [blame] | 44 | worker_metadata: {"labels": {"openstack-control-plane":"enabled", "openvswitch":"enabled", "openstack-gateway": "enabled","local-volume-provisioner": "enabled","role": "stacklight", "stacklight": "enabled"}} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 45 | cmp_metadata: {"labels": {"openstack-compute-node":"enabled","openvswitch":"enabled"}} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 46 | osd_metadata: {"labels": {"role": "ceph-osd-node"}} |
| 47 | spare_metadata: {"labels": {"role": "spare-node"}} |
| 48 | |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 49 | hardware_metadata: | |
| 50 | '0c:c4:7a:33:26:7c': |
| 51 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 52 | - path: /usr/share/metadata/ceph.yaml |
| 53 | content: | |
| 54 | storageDevices: |
| 55 | - name: sdb |
| 56 | role: hdd |
| 57 | sizeGb: 500 |
| 58 | - name: sdc |
| 59 | role: hdd |
| 60 | sizeGb: 500 |
| 61 | ramGb: 64 |
| 62 | cores: 12 |
| 63 | ips: |
| 64 | - 192.168.122.101 |
| 65 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 66 | - path: '/etc/netplan/99-cz7714-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 67 | content: | |
| 68 | network: |
| 69 | version: 2 |
| 70 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 71 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 72 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 73 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 74 | ens3f1: *mtu9100 |
| 75 | ens3f2: *mtu9100 |
| 76 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 77 | bonds: |
| 78 | bond0: |
| 79 | dhcp4: no |
| 80 | interfaces: [eno1, ens3f1] |
| 81 | parameters: |
| 82 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 83 | mii-monitor-interval: 1000 |
| 84 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 85 | bond1: |
| 86 | dhcp4: no |
| 87 | interfaces: [ens3f2, ens3f3] |
| 88 | parameters: |
| 89 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 90 | mii-monitor-interval: 1000 |
| 91 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 92 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 93 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.130/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 94 | os-floating: { id: 412, link: bond1 } |
| 95 | k8s-metallb: { id: 413, link: bond0 } |
| 96 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 97 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 98 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.10/24 ], mtu: 9100 } |
| 99 | ceph-replica: { id: 417, link: bond0, addresses: [ {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 100 | '0c:c4:7a:33:26:6e': |
| 101 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 102 | - path: /usr/share/metadata/ceph.yaml |
| 103 | content: | |
| 104 | storageDevices: |
| 105 | - name: sdb |
| 106 | role: hdd |
| 107 | sizeGb: 500 |
| 108 | - name: sdc |
| 109 | role: hdd |
| 110 | sizeGb: 500 |
| 111 | ramGb: 64 |
| 112 | cores: 12 |
| 113 | ips: |
| 114 | - 192.168.122.102 |
| 115 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 116 | - path: '/etc/netplan/99-cz7725-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 117 | content: | |
| 118 | network: |
| 119 | version: 2 |
| 120 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 121 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 122 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 123 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 124 | ens3f1: *mtu9100 |
| 125 | ens3f2: *mtu9100 |
| 126 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 127 | bonds: |
| 128 | bond0: |
| 129 | dhcp4: no |
| 130 | interfaces: [eno1, ens3f1] |
| 131 | parameters: |
| 132 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 133 | mii-monitor-interval: 1000 |
| 134 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 135 | bond1: |
| 136 | dhcp4: no |
| 137 | interfaces: [ens3f2, ens3f3] |
| 138 | parameters: |
| 139 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 140 | mii-monitor-interval: 1000 |
| 141 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 142 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 143 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.131/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 144 | os-floating: { id: 412, link: bond1 } |
| 145 | k8s-metallb: { id: 413, link: bond0 } |
| 146 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 147 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 148 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.11/24 ], mtu: 9100 } |
| 149 | ceph-replica: { id: 417, link: bond0, addresses: [ {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 150 | '0c:c4:7a:33:26:6a': |
| 151 | write_files: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 152 | - path: /usr/share/metadata/ceph.yaml |
| 153 | content: | |
| 154 | storageDevices: |
| 155 | - name: sdb |
| 156 | role: hdd |
| 157 | sizeGb: 500 |
| 158 | - name: sdc |
| 159 | role: hdd |
| 160 | sizeGb: 500 |
| 161 | ramGb: 64 |
| 162 | cores: 12 |
| 163 | ips: |
| 164 | - 192.168.122.103 |
| 165 | crushPath: {} |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 166 | - path: '/etc/netplan/99-cz7726-osd.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 167 | content: | |
| 168 | network: |
| 169 | version: 2 |
| 170 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 171 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 172 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 173 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 174 | ens3f1: *mtu9100 |
| 175 | ens3f2: *mtu9100 |
| 176 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 177 | bonds: |
| 178 | bond0: |
| 179 | dhcp4: no |
| 180 | interfaces: [eno1, ens3f1] |
| 181 | parameters: |
| 182 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 183 | mii-monitor-interval: 1000 |
| 184 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 185 | bond1: |
| 186 | dhcp4: no |
| 187 | interfaces: [ens3f2, ens3f3] |
| 188 | parameters: |
| 189 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 190 | mii-monitor-interval: 1000 |
| 191 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 192 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 193 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.132/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 194 | os-floating: { id: 412, link: bond1 } |
| 195 | k8s-metallb: { id: 413, link: bond0 } |
| 196 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 197 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 198 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.12/24 ], mtu: 9100 } |
| 199 | ceph-replica: { id: 417, link: bond0, addresses: [ {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 200 | '0c:c4:7a:34:92:94': |
| 201 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 202 | - path: '/etc/netplan/99-cz7727-spare.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 203 | content: | |
| 204 | network: |
| 205 | version: 2 |
| 206 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 207 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 208 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 209 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 210 | ens3f1: *mtu9100 |
| 211 | ens3f2: *mtu9100 |
| 212 | ens3f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 213 | bonds: |
| 214 | bond0: |
| 215 | dhcp4: no |
| 216 | interfaces: [eno1, ens3f1] |
| 217 | parameters: |
| 218 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 219 | mii-monitor-interval: 1000 |
| 220 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 221 | bond1: |
| 222 | dhcp4: no |
| 223 | interfaces: [ens3f2, ens3f3] |
| 224 | parameters: |
| 225 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 226 | mii-monitor-interval: 1000 |
| 227 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 228 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 229 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.133/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 230 | os-floating: { id: 412, link: bond1 } |
| 231 | k8s-metallb: { id: 413, link: bond0 } |
| 232 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 233 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 234 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.13/24 ], mtu: 9100 } |
| 235 | ceph-replica: { id: 417, link: bond0, addresses: [ {{ STORAGE_BACKEND_INTERFACE_IP }}/{{ STORAGE_BACKEND_NETWORK_NETMASK }} ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 236 | '0c:c4:7a:aa:e0:9e': |
| 237 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 238 | - path: '/etc/netplan/99-cz10095-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 239 | content: | |
| 240 | network: |
| 241 | version: 2 |
| 242 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 243 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 244 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 245 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 246 | ens11f1: *mtu9100 |
| 247 | ens11f2: *mtu9100 |
| 248 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 249 | bonds: |
| 250 | bond0: |
| 251 | dhcp4: no |
| 252 | interfaces: [ens11f0, ens11f1] |
| 253 | parameters: |
| 254 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 255 | mii-monitor-interval: 1000 |
| 256 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 257 | bond1: |
| 258 | dhcp4: no |
| 259 | interfaces: [ens11f2, ens11f3] |
| 260 | parameters: |
| 261 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 262 | mii-monitor-interval: 1000 |
| 263 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 264 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 265 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.134/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 266 | os-floating: { id: 412, link: bond1 } |
| 267 | k8s-metallb: { id: 413, link: bond0 } |
| 268 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 269 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 270 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.14/24 ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 271 | '0c:c4:7a:aa:e0:9c': |
| 272 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 273 | - path: '/etc/netplan/99-cz10096-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 274 | content: | |
| 275 | network: |
| 276 | version: 2 |
| 277 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 278 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 279 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 280 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 281 | ens11f1: *mtu9100 |
| 282 | ens11f2: *mtu9100 |
| 283 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 284 | bonds: |
| 285 | bond0: |
| 286 | dhcp4: no |
| 287 | interfaces: [ens11f0, ens11f1] |
| 288 | parameters: |
| 289 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 290 | mii-monitor-interval: 1000 |
| 291 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 292 | bond1: |
| 293 | dhcp4: no |
| 294 | interfaces: [ens11f2, ens11f3] |
| 295 | parameters: |
| 296 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 297 | mii-monitor-interval: 1000 |
| 298 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 299 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 300 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.135/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 301 | os-floating: { id: 412, link: bond1 } |
| 302 | k8s-metallb: { id: 413, link: bond0 } |
| 303 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 304 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 305 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.15/24 ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 306 | '0c:c4:7a:aa:78:2c': |
| 307 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 308 | - path: '/etc/netplan/99-cz10097-os-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 309 | content: | |
| 310 | network: |
| 311 | version: 2 |
| 312 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 313 | ens11f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 314 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 315 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 316 | ens11f1: *mtu9100 |
| 317 | ens11f2: *mtu9100 |
| 318 | ens11f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 319 | bonds: |
| 320 | bond0: |
| 321 | dhcp4: no |
| 322 | interfaces: [ens11f0, ens11f1] |
| 323 | parameters: |
| 324 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 325 | mii-monitor-interval: 1000 |
| 326 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 327 | bond1: |
| 328 | dhcp4: no |
| 329 | interfaces: [ens11f2, ens11f3] |
| 330 | parameters: |
| 331 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 332 | mii-monitor-interval: 1000 |
| 333 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 334 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 335 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.136/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 336 | os-floating: { id: 412, link: bond1 } |
| 337 | k8s-metallb: { id: 413, link: bond0 } |
| 338 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 339 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 340 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.16/24 ], mtu: 9100 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 341 | '0c:c4:7a:aa:78:7a': |
| 342 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 343 | - path: '/etc/netplan/99-cz10098-ucp-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 344 | content: | |
| 345 | network: |
| 346 | version: 2 |
| 347 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 348 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 349 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 350 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 351 | ens4f1: *mtu9100 |
| 352 | ens4f2: *mtu9100 |
| 353 | ens4f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 354 | bonds: |
| 355 | bond0: |
| 356 | dhcp4: no |
| 357 | interfaces: [eno1, ens4f1] |
| 358 | parameters: |
| 359 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 360 | mii-monitor-interval: 1000 |
| 361 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 362 | bond1: |
| 363 | dhcp4: no |
| 364 | interfaces: [ens4f2, ens4f3] |
| 365 | parameters: |
| 366 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 367 | mii-monitor-interval: 1000 |
| 368 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 369 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 370 | k8s-control: { id: 411, link: bond0, addresses: [ {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.137/25{% endif %} ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 371 | os-floating: { id: 412, link: bond1 } |
| 372 | k8s-metallb: { id: 413, link: bond0 } |
| 373 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 374 | '0c:c4:7a:aa:e0:98': |
| 375 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 376 | - path: '/etc/netplan/99-cz10099-ucp-control.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 377 | content: | |
| 378 | network: |
| 379 | version: 2 |
| 380 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 381 | eno1: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 382 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 383 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 384 | ens4f1: *mtu9100 |
| 385 | ens4f2: *mtu9100 |
| 386 | ens4f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 387 | bonds: |
| 388 | bond0: |
| 389 | dhcp4: no |
| 390 | interfaces: [eno1, ens4f1] |
| 391 | parameters: |
| 392 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 393 | mii-monitor-interval: 1000 |
| 394 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 395 | bond1: |
| 396 | dhcp4: no |
| 397 | interfaces: [ens4f2, ens4f3] |
| 398 | parameters: |
| 399 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 400 | mii-monitor-interval: 1000 |
| 401 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 402 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 403 | k8s-control: { id: 411, link: bond0, addresses: [ {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.138/25{% endif %} ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 404 | os-floating: { id: 412, link: bond1 } |
| 405 | k8s-metallb: { id: 413, link: bond0 } |
| 406 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 407 | '0c:c4:7a:aa:78:7c': |
| 408 | write_files: |
| 409 | - path: '/etc/netplan/99-cz10100-ucp-control.yaml' |
| 410 | content: | |
| 411 | network: |
| 412 | version: 2 |
| 413 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 414 | eno1: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 415 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 416 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 417 | ens4f1: *mtu9100 |
| 418 | ens4f2: *mtu9100 |
| 419 | ens4f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 420 | bonds: |
| 421 | bond0: |
| 422 | dhcp4: no |
| 423 | interfaces: [eno1, ens4f1] |
| 424 | parameters: |
| 425 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 426 | mii-monitor-interval: 1000 |
| 427 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 428 | bond1: |
| 429 | dhcp4: no |
| 430 | interfaces: [ens4f2, ens4f3] |
| 431 | parameters: |
| 432 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 433 | mii-monitor-interval: 1000 |
| 434 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 435 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 436 | k8s-control: { id: 411, link: bond0, addresses: [ {% if UCP_MASTER_HOST == "" %}172.16.50.254/25{% else %}172.16.50.139/25{% endif %} ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 437 | os-floating: { id: 412, link: bond1 } |
| 438 | k8s-metallb: { id: 413, link: bond0 } |
| 439 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 440 | '0c:c4:7a:55:6a:28': |
| 441 | write_files: |
| 442 | - path: '/etc/netplan/99-cz7636-os-compute.yaml' |
| 443 | content: | |
| 444 | network: |
| 445 | version: 2 |
| 446 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 447 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 448 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 449 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 450 | enp3s0f1: *mtu9100 |
| 451 | enp3s0f2: *mtu9100 |
| 452 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 453 | bonds: |
| 454 | bond0: |
| 455 | dhcp4: no |
| 456 | interfaces: [enp3s0f0, enp3s0f1] |
| 457 | parameters: |
| 458 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 459 | mii-monitor-interval: 1000 |
| 460 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 461 | bond1: |
| 462 | dhcp4: no |
| 463 | interfaces: [enp3s0f2, enp3s0f3] |
| 464 | parameters: |
| 465 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 466 | mii-monitor-interval: 1000 |
| 467 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 468 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 469 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.140/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 470 | os-floating: { id: 412, link: bond1 } |
| 471 | k8s-metallb: { id: 413, link: bond0 } |
| 472 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 473 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 474 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.17/24 ], mtu: 9100 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 475 | '0c:c4:7a:54:a2:5e': |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 476 | write_files: |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 477 | - path: '/etc/netplan/99-cz7641-os-compute.yaml' |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 478 | content: | |
| 479 | network: |
| 480 | version: 2 |
| 481 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 482 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 483 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 484 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 485 | enp3s0f1: *mtu9100 |
| 486 | enp3s0f2: *mtu9100 |
| 487 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 488 | bonds: |
| 489 | bond0: |
| 490 | dhcp4: no |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 491 | interfaces: [enp3s0f0, enp3s0f1] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 492 | parameters: |
| 493 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 494 | mii-monitor-interval: 1000 |
| 495 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 496 | bond1: |
| 497 | dhcp4: no |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 498 | interfaces: [enp3s0f2, enp3s0f3] |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 499 | parameters: |
| 500 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 501 | mii-monitor-interval: 1000 |
| 502 | mtu: 9100 |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 503 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 504 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.141/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 505 | os-floating: { id: 412, link: bond1 } |
| 506 | k8s-metallb: { id: 413, link: bond0 } |
| 507 | management: { id: 414, link: bond0 } |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 508 | ceph-control: { id: 415, link: bond1, addresses: [ {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} ] , mtu: 9100 } |
| 509 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.18/24 ], mtu: 9100 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 510 | '0c:c4:7a:54:a0:50': |
| 511 | write_files: |
| 512 | - path: '/etc/netplan/99-cz7642-os-compute.yaml' |
| 513 | content: | |
| 514 | network: |
| 515 | version: 2 |
| 516 | ethernets: |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 517 | enp3s0f0: &mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 518 | dhcp4: false |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 519 | mtu: 9100 |
Oleksii Butenko | daeb5f4 | 2020-04-12 12:07:56 +0300 | [diff] [blame] | 520 | enp3s0f1: *mtu9100 |
| 521 | enp3s0f2: *mtu9100 |
| 522 | enp3s0f3: *mtu9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 523 | bonds: |
| 524 | bond0: |
| 525 | dhcp4: no |
| 526 | interfaces: [enp3s0f0, enp3s0f1] |
| 527 | parameters: |
| 528 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 529 | mii-monitor-interval: 1000 |
| 530 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 531 | bond1: |
| 532 | dhcp4: no |
| 533 | interfaces: [enp3s0f2, enp3s0f3] |
| 534 | parameters: |
| 535 | mode: active-backup |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 536 | mii-monitor-interval: 1000 |
| 537 | mtu: 9100 |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 538 | vlans: |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 539 | k8s-control: { id: 411, link: bond0, addresses: [ 172.16.50.142/25 ] } |
Oleksii Butenko | fe55023 | 2020-05-19 21:24:48 +0300 | [diff] [blame] | 540 | os-floating: { id: 412, link: bond1 } |
| 541 | k8s-metallb: { id: 413, link: bond0 } |
| 542 | management: { id: 414, link: bond0 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 543 | ceph-control: |
| 544 | id: 415 |
| 545 | link: bond1 |
| 546 | addresses: |
| 547 | - {{ STORAGE_FRONTEND_INTERFACE_IP }}/{{ STORAGE_FRONTEND_NETWORK_NETMASK }} |
Oleksii Butenko | b8dcc26 | 2020-04-01 12:15:07 +0300 | [diff] [blame] | 548 | mtu: 9100 |
Oleksii Butenko | a1ccba4 | 2020-06-01 13:29:27 +0300 | [diff] [blame] | 549 | os-tenant: { id: 416, link: bond1, addresses: [ 10.14.0.19/24 ], mtu: 9100 } |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 550 | |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 551 | functions_override: | |
| 552 | |
| 553 | function network_config { |
| 554 | |
| 555 | DEBIAN_FRONTEND=noninteractive apt -y install bridge-utils ifenslave vlan |
| 556 | sudo modprobe bonding |
| 557 | netplan --debug apply |
| 558 | sleep 15 |
| 559 | |
Dennis Dmitriev | ea89421 | 2020-03-12 21:36:43 +0200 | [diff] [blame] | 560 | # Re-init the variables related to the just configured k8s-control network |
| 561 | CONTROL_IP_ADDRESS=$(ip route get ${CONTROL_NETWORK_CIDR%/*} | head -n1 | fgrep -v ' via ' | awk '/ src / {print $6}') |
| 562 | |
| 563 | #UCP_MASTER_HOST=${UCP_MASTER_HOST:-${CONTROL_IP_ADDRESS}} |
| 564 | # Hardcoded IP for the UCP node because the servers output contain PXE IP instead of k8s_control IP |
| 565 | UCP_MASTER_HOST=172.16.50.254 |
| 566 | UCP_IP_ADDRESS=${UCP_IP_ADDRESS:-$CONTROL_IP_ADDRESS} |
Dennis Dmitriev | 81da422 | 2020-02-25 17:53:04 +0200 | [diff] [blame] | 567 | } |