summaryrefslogtreecommitdiffstats
path: root/xci/var/idf.yml
blob: 8ed55f6fd15ac18673655fc2a84eb8cd9517fcea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
---
# SPDX-license-identifier: Apache-2.0
##############################################################################
# Copyright (c) 2018 Orange and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################

idf:
  version: 0.1
  net_config: &net_config
    admin:
      interface: 2
      network: 192.168.122.0
      mask: 22
    mgmt:
      interface: 0
      network: 172.29.236.0
      mask: 22
    storage:
      interface: 1
      network: 172.29.240.0
      mask: 22
    public:
      interface: 2
      network: 192.168.122.0
      mask: 24
      gateway: 192.168.122.1
      dns:
        - 192.168.122.1
    private:
      interface: 3
      network: 172.29.244.0
      mask: 22
  osa: &idf_osa
    nodes_roles:
      opnfv: [deployment]
      node1: [controller]
      node2: [compute, storage]
      node3: [compute, storage]
      node4: [controller]
      node5: [controller]
    groups:
      openstack:
        - controller
        - compute
        - storage
    hostnames:
      opnfv: opnfv
      node1: controller00
      node2: compute00
      node3: compute01
      node4: controller01
      node5: controller02
    network:
      # network mapping
      network_mapping:
        # Management network used by installer components to communicate
        net-mgmt: mgmt
        # Storage Network
        net-storage: storage
        # Internal network for communication between VNF
        net-internal: private
        # Public network for VNF remote acces (ext-net in Openstack)
        net-vnf: public
  kubespray: &idf_kubespray
    nodes_roles:
      opnfv: [opnfv]
      node1: [kube-master, etcd, vault]
      node2: [kube-node]
      node3: [kube-node]
      node4: [kube-master, etcd, vault]
      node5: [kube-master, etcd, vault]
    groups:
      k8s-cluster:
        - kube-node
        - kube-master
    hostnames:
      opnfv: opnfv
      node1: master1
      node2: node1
      node3: node2
      node4: master2
      node5: master3
    network:
      # network mapping
      network_mapping:
        # Management network used by installer components to communicate
        net-mgmt: mgmt
        # Storage Network
        net-storage: storage
        # Internal network for communication between VNF
        net-internal: private
        # Public network for VNF remote acces (ext-net in Openstack)
        net-vnf: public
  osh: &idf_osh
    nodes_roles:
      opnfv: [opnfv]
      node1: [kube-master, etcd, vault]
      node2: [kube-node]
      node3: [kube-node]
      node4: [kube-master, etcd, vault]
      node5: [kube-master, etcd, vault]
    groups:
      k8s-cluster:
        - kube-node
        - kube-master
    hostnames:
      opnfv: opnfv
      node1: master1
      node2: node1
      node3: node2
      node4: master2
      node5: master3
    network:
      # network mapping
      network_mapping:
        # Management network used by installer components to communicate
        net-mgmt: mgmt
        # Storage Network
        net-storage: storage
        # Internal network for communication between VNF
        net-internal: private
        # Public network for VNF remote acces (ext-net in Openstack)
        net-vnf: public
xci:
  pod_name: vpod1
  net_config: *net_config
  flavors:
    mini:
      - opnfv
      - node1
      - node2
    noha:
      - opnfv
      - node1
      - node2
      - node3
    ha:
      - opnfv
      - node1
      - node2
      - node3
      - node4
      - node5
  # net_config network to be used by the PXE
  pxe_network: public

  # As the MAC of generated bridges are generated, we use a list of local
  # bridges to create libvirt networks
  jumphost_interfaces_bridges:
    - name: virbr0
      ip: 192.168.122.1

  extra_addresses:
    opnfv: 192.168.122.2

  installers:
    osa: *idf_osa
    kubespray: *idf_kubespray
    osh: *idf_osh