Add an example and blank labconfig files
[joid.git] / labconfig / example / example / labconfig.yaml
1 lab:
2   # Change the location and rack name. You deployment will be named as
3   # a combination of these two values
4   location: your_company
5   racks:
6   - rack: pod1
7     # Nodes specification
8     nodes:
9     - name: rack-1-m1
10       architecture: x86_64
11       roles: [network,control]
12       # Node network interfaces. Use custom names, the interfaces will be
13       # renamed to what you select here, instead of trying to guess the OS name
14       nics:
15       - ifname: eth0
16         spaces: [admin]
17         mac: ["12:34:56:78:9a:bc"]
18       - ifname: eth1
19         spaces: [floating]
20         mac: ["12:34:56:78:9a:bd"]
21       # BMC configuration
22       power:
23         type: ipmi
24         address: 192.168.10.101
25         user: admin
26         pass: admin
27     - name: rack-1-m2
28       architecture: x86_64
29       roles: [compute,control,storage]
30       nics:
31       - ifname: eth0
32         spaces: [admin]
33         mac: ["23:45:67:89:ab:cd"]
34       - ifname: eth1
35         spaces: [floating]
36         mac: ["23:45:67:89:ab:ce"]
37       power:
38         type: ipmi
39         address: 192.168.10.102
40         user: admin
41         pass: admin
42     - name: rack-1-m3
43       architecture: x86_64
44       roles: [compute,control,storage]
45       nics:
46       - ifname: eth0
47         spaces: [admin]
48         mac: ["34:56:78:9a:bc:de"]
49       - ifname: eth1
50         spaces: [floating]
51         mac: ["34:56:78:9a:bc:df"]
52       power:
53         type: ipmi
54         address: 192.168.10.103
55         user: admin
56         pass: admin
57     - name: rack-1-m4
58       architecture: x86_64
59       roles: [compute,storage]
60       nics:
61       - ifname: eth0
62         spaces: [admin]
63         mac: ["45:67:89:ab:cd:ef"]
64       - ifname: eth1
65         spaces: [floating]
66         mac: ["45:67:89:ab:ce:f0"]
67       power:
68         type: ipmi
69         address: 192.168.10.104
70         user: admin
71         pass: admin
72     - name: rack-1-m5
73       architecture: x86_64
74       roles: [compute,storage]
75       nics:
76       - ifname: eth0
77         spaces: [admin]
78         mac: ["56:78:9a:bc:de:f0"]
79       - ifname: eth1
80         spaces: [floating]
81         mac: ["56:78:9a:bc:df:f1"]
82       power:
83         type: ipmi
84         address: 192.168.10.105
85         user: admin
86         pass: admin
87     # Floating IP range in format:  start,end,gateway,CIDR
88     floating-ip-range: 10.5.15.6,10.5.15.250,10.5.15.254,10.5.15.0/24
89     # Port used for external connectivity
90     ext-port: "eth1"
91     # IP of a DNS server (8.8.8.8 is Google DNS)
92     dns: 8.8.8.8
93 opnfv:
94   # Ubuntu version
95   distro: xenial
96   # OpenStack version
97   openstack: ocata
98   # OPNFV release
99   release: d
100   # OpenStack mode
101   type: noha
102   # SDN controller
103   sdncontroller:
104   - type: nosdn
105   # Storage type and configuration
106   storage:
107   - type: ceph
108     disk: /dev/sdb
109   # Special feature(s) to deploy
110   feature: odl_l2
111   # Configured IP networks
112   spaces:
113   - type: admin
114     bridge: brAdmin
115     cidr: 10.5.1.0/24
116     gateway:
117     vlan:
118   - type: floating
119     bridge: brExt
120     cidr: 10.5.15.0/24
121     gateway: 10.5.15.1
122     vlan: