Merge "Moving all pdfs to pharos repo"
[pharos.git] / labs / zte / pod2 / daisy / config / network.yml
1 ##############################################################################
2 # Copyright (c) 2017 ZTE Corporation and others.
3 # hu.zhijiang@zte.com.cn
4 # sun.jing22@zte.com.cn
5 # All rights reserved. This program and the accompanying materials
6 # are made available under the terms of the Apache License, Version 2.0
7 # which accompanies this distribution, and is available at
8 # http://www.apache.org/licenses/LICENSE-2.0
9 ##############################################################################
10
11 ##############################################################################
12 # Description
13 # MANAGEMENT: used for PXE, vlan used
14 # SOTRAGE: used for storage access
15 # EXTERNAL: tenant public/floating IP associated network,
16 #     requires a dedicated interface
17 # PUBLICAPI: used for horizon access, openstack API access
18 # TENANT: used for tenant access, vlan and VxLan supported, default VxLan
19 ##############################################################################
20 ---
21 network-config-metadata:
22   title: 'Deployment Adapter for baremetal POD'
23   version: '0.1'
24   created: 'Feb 2 2017'
25   comment: 'For Daisy initial'
26 networks:
27   - cidr: '192.168.71.0/24'
28     gateway: '192.168.71.1'
29     ip_ranges:
30       - 'start': '192.168.71.2'
31         'end': '192.168.71.254'
32     vlan_id: 171
33     name: 'MANAGEMENT'
34   - cidr: '192.168.72.0/24'
35     gateway: '192.168.72.1'
36     ip_ranges:
37       - 'start': '192.168.72.2'
38         'end': '192.168.72.254'
39     vlan_id: 172
40     name: 'STORAGE'
41   - cidr: '172.70.0.0/24'
42     gateway: '172.70.0.1'
43     ip_ranges:
44       - 'start': '172.70.0.2'
45         'end': '172.70.0.100'
46     vlan_id: 173
47     'name': 'EXTERNAL'
48     network_name: 'admin_external'
49     mapping: 'physnet1'
50   - cidr: '192.168.71.0/24'
51     gateway: '192.168.71.1'
52     ip_ranges:
53       - 'start': '192.168.71.2'
54         'end': '192.168.71.254'
55     vlan_id: 171
56     name: 'PUBLICAPI'
57   - cidr: '192.168.73.0/24'
58     gateway: '192.168.73.1'
59     ip_ranges:
60       - 'start': '192.168.73.2'
61         'end': '192.168.73.254'
62     vlan_id: 1130
63     name: 'TENANT'
64   - cidr: '10.20.7.0/24'
65     gateway: '10.20.7.1'
66     ip_ranges:
67       - 'start': '10.20.7.20'
68         'end': '10.20.7.200'
69     vlan_id: null
70     name: 'HEARTBEAT'
71 interfaces:
72   - name: 'EXTERNAL'
73     interface: 'ens44f1'
74   - name: 'MANAGEMENT'
75     interface: 'ens12f0'
76   - name: 'PUBLICAPI'
77     interface: 'ens12f0'
78   - name: 'STORAGE'
79     interface: 'ens12f1'
80   - name: 'TENANT'
81     interface: 'ens44f0'
82   - name: 'HEARTBEAT'
83     interface: 'ens4f0'
84 internal_vip: '192.168.71.10'
85 public_vip: '10.20.7.11'