summaryrefslogtreecommitdiffstats
path: root/labs/ericsson/idf-pod2.yaml
blob: 301241b66f5673e8d17191426efd45e6adcf4720 (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
##############################################################################
# Copyright (c) 2018 Ericsson AB, Mirantis Inc., Enea AB 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
##############################################################################
---
### ERICSSON POD 2 installer descriptor file ###
idf:
  version: 0.1
  installer: ['apex', 'compass4nfv', 'daisy', 'osa']
  net_config: &net_config
    admin:
      interface: 2
      network: 192.168.122.0    # Untagged, 'PXE/Admin' on wiki, different IP
      mask: 24
    mgmt:
      interface: 1
      network: 172.29.236.0
      mask: 22
    storage:
      interface: 3
      network: 172.29.240.0      # Tagged, not the same with 'storage' on wiki
      mask: 22
    private:
      interface: 4
      network: 172.29.242.0      # Tagged, not the same with 'private' on wiki
      mask: 22
    public:
      interface: 2
      network: 192.168.122.0     # Untagged, 'public' on wiki
      mask: 24
      gateway: 192.168.122.1
      dns:
        - 8.8.8.8
        - 8.8.4.4
  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: admin
        # 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
      deployment_host_interfaces:
        # Ordered-list, index should be in sync with interface index in PDF
        - 'eno49'
        - 'ens1f0'
        - 'ens1f1'
        - 'ens2f0'
        - 'ens2f1'
  kubespray: &idf_kubespray
    nodes_roles:
      opnvf: [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


xci:
  pod_name: pod1
  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