blob: 9218e61b7e45be788507535f0eb85a356c684c06 [file] [log] [blame]
Fatih Degirmenci34433e62019-02-20 00:12:03 +01001---
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=========================================================
19idf:
20 version: 0.1
21 net_config: &net_config
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010022 admin:
Fatih Degirmenci34433e62019-02-20 00:12:03 +010023 interface: 0
24 network: 10.1.0.0
25 mask: 24
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010026 public:
Fatih Degirmenci34433e62019-02-20 00:12:03 +010027 interface: 1
28 network: 10.2.0.0
29 mask: 24
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010030 gateway: 10.2.0.1
Fatih Degirmenci801dde72019-04-03 06:03:24 +000031 dns:
32 - 8.8.8.8
33 - 8.8.4.4
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010034 mgmt:
Fatih Degirmenci34433e62019-02-20 00:12:03 +010035 interface: 2
36 network: 10.3.0.0
37 mask: 24
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010038 neutron:
39 interface: 3
40 network: 10.4.0.0
41 mask: 24
Fatih Degirmenci34433e62019-02-20 00:12:03 +010042 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 Degirmenci9c16fb02019-03-03 20:50:12 +010056 # Admin network
57 net_admin: admin
58 # Public network
Fatih Degirmenci34433e62019-02-20 00:12:03 +010059 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 Yagnaramane540d552019-10-30 15:20:36 +010064 storage:
65 volume:
Sriram Yagnaraman005e18b2020-01-20 10:01:28 +000066 # 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 Yagnaramana4ff7192020-01-02 12:40:52 +000069 # Cinder storage driver, options are ["lvm", "ceph"]
70 driver: "lvm"
71 # Cinder backup storage driver, options are ["nfs"]
72 backup_driver: "nfs"
Fatih Degirmenci34433e62019-02-20 00:12:03 +010073 kubespray: &idf_kubespray
74 nodes_roles:
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010075 node1: [k8s-cluster, kube-master, etcd, vault]
76 node2: [k8s-cluster, kube-node]
Cian Johnston4dc3cba2021-04-14 12:56:39 +000077 node3: [k8s-cluster, kube-node, storage]
Fatih Degirmenci34433e62019-02-20 00:12:03 +010078 groups:
79 k8s-cluster:
80 - kube-node
81 - kube-master
82 hostnames:
Fatih Degirmenci2b291852019-08-30 12:09:37 +020083 node1: master0
Cian Johnston4dc3cba2021-04-14 12:56:39 +000084 node2: worker0
85 node3: storage0
Fatih Degirmenci34433e62019-02-20 00:12:03 +010086 network:
87 # network mapping
88 network_mapping:
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010089 # Admin network
90 net_admin: admin
91 # Public network
Fatih Degirmenci34433e62019-02-20 00:12:03 +010092 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
98engine:
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +010099 pod_name: vpod
Fatih Degirmenci34433e62019-02-20 00:12:03 +0100100 net_config: *net_config
101
102 # net_config network to be used by the PXE
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +0100103 pxe_network: admin
Fatih Degirmenci34433e62019-02-20 00:12:03 +0100104
105 # interface to be used by the PXE
Fatih Degirmenci9c16fb02019-03-03 20:50:12 +0100106 pxe_interface: br_admin
Fatih Degirmenci34433e62019-02-20 00:12:03 +0100107
108 installers:
109 kolla: *idf_kolla
110 kubespray: *idf_kubespray
111
112# vim: set ts=2 sw=2 expandtab: