Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 1 | --- |
| 2 | # ============LICENSE_START======================================================= |
| 3 | # Copyright (C) 2019 The Nordix Foundation. All rights reserved. |
| 4 | # ================================================================================ |
| 5 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 6 | # you may not use this file except in compliance with the License. |
| 7 | # You may obtain a copy of the License at |
| 8 | # |
| 9 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 10 | # |
| 11 | # Unless required by applicable law or agreed to in writing, software |
| 12 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 13 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 14 | # See the License for the specific language governing permissions and |
| 15 | # limitations under the License. |
| 16 | # |
| 17 | # SPDX-License-Identifier: Apache-2.0 |
| 18 | # ============LICENSE_END========================================================= |
| 19 | idf: |
| 20 | version: 0.1 |
| 21 | net_config: &net_config |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 22 | admin: |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 23 | interface: 0 |
| 24 | network: 10.1.0.0 |
| 25 | mask: 24 |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 26 | public: |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 27 | interface: 1 |
| 28 | network: 10.2.0.0 |
| 29 | mask: 24 |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 30 | gateway: 10.2.0.1 |
Fatih Degirmenci | 801dde7 | 2019-04-03 06:03:24 +0000 | [diff] [blame] | 31 | dns: |
| 32 | - 8.8.8.8 |
| 33 | - 8.8.4.4 |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 34 | mgmt: |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 35 | interface: 2 |
| 36 | network: 10.3.0.0 |
| 37 | mask: 24 |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 38 | neutron: |
| 39 | interface: 3 |
| 40 | network: 10.4.0.0 |
| 41 | mask: 24 |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 42 | kolla: &idf_kolla |
| 43 | nodes_roles: |
| 44 | node1: [controller] |
| 45 | node2: [compute] |
| 46 | groups: |
| 47 | openstack: |
| 48 | - controller |
| 49 | - compute |
| 50 | hostnames: |
| 51 | node1: controller00 |
| 52 | node2: compute00 |
| 53 | network: |
| 54 | # network mapping |
| 55 | network_mapping: |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 56 | # Admin network |
| 57 | net_admin: admin |
| 58 | # Public network |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 59 | net_public: public |
| 60 | # Management network used by installer components to communicate |
| 61 | net_mgmt: mgmt |
| 62 | # Internal network for communication between VNF |
| 63 | net_neutron: neutron |
Sriram Yagnaraman | e540d55 | 2019-10-30 15:20:36 +0100 | [diff] [blame] | 64 | storage: |
| 65 | volume: |
Sriram Yagnaraman | 005e18b | 2020-01-20 10:01:28 +0000 | [diff] [blame] | 66 | # Cinder storage type, options are ["size", "device"] |
| 67 | # Using size, will result in creation of a loopback device of that size |
| 68 | device: "/dev/vdb" |
Sriram Yagnaraman | a4ff719 | 2020-01-02 12:40:52 +0000 | [diff] [blame] | 69 | # Cinder storage driver, options are ["lvm", "ceph"] |
| 70 | driver: "lvm" |
| 71 | # Cinder backup storage driver, options are ["nfs"] |
| 72 | backup_driver: "nfs" |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 73 | kubespray: &idf_kubespray |
| 74 | nodes_roles: |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 75 | node1: [k8s-cluster, kube-master, etcd, vault] |
| 76 | node2: [k8s-cluster, kube-node] |
Cian Johnston | 4dc3cba | 2021-04-14 12:56:39 +0000 | [diff] [blame] | 77 | node3: [k8s-cluster, kube-node, storage] |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 78 | groups: |
| 79 | k8s-cluster: |
| 80 | - kube-node |
| 81 | - kube-master |
| 82 | hostnames: |
Fatih Degirmenci | 2b29185 | 2019-08-30 12:09:37 +0200 | [diff] [blame] | 83 | node1: master0 |
Cian Johnston | 4dc3cba | 2021-04-14 12:56:39 +0000 | [diff] [blame] | 84 | node2: worker0 |
| 85 | node3: storage0 |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 86 | network: |
| 87 | # network mapping |
| 88 | network_mapping: |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 89 | # Admin network |
| 90 | net_admin: admin |
| 91 | # Public network |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 92 | net_public: public |
| 93 | # Management network used by installer components to communicate |
| 94 | net_mgmt: mgmt |
| 95 | # Internal network for communication between VNF |
| 96 | net_neutron: neutron |
| 97 | |
| 98 | engine: |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 99 | pod_name: vpod |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 100 | net_config: *net_config |
| 101 | |
| 102 | # net_config network to be used by the PXE |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 103 | pxe_network: admin |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 104 | |
| 105 | # interface to be used by the PXE |
Fatih Degirmenci | 9c16fb0 | 2019-03-03 20:50:12 +0100 | [diff] [blame] | 106 | pxe_interface: br_admin |
Fatih Degirmenci | 34433e6 | 2019-02-20 00:12:03 +0100 | [diff] [blame] | 107 | |
| 108 | installers: |
| 109 | kolla: *idf_kolla |
| 110 | kubespray: *idf_kubespray |
| 111 | |
| 112 | # vim: set ts=2 sw=2 expandtab: |