/
new-server.json
123 lines (123 loc) · 4.32 KB
/
new-server.json
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
{
"server": [
{
"cluster_id": "new-cluster",
"domain": "demo.juniper.net",
"id": "newserver12",
"parameters" : {
"provision": {
"contrail": {
"compute": {
"dpdk": {
"core_mask": "",
"huge_pages": ""
}
},
"storage": {
"storage_repo_id": "",
"storage_osd_disks": [],
"storage_chassis_id":""
}
}
}
},
"contrail": {
"control_data_interface": "eth1"
},
"top_of_rack": {
"switches" : [
{
"id": "1",
"ip_address": "10.87.141.84",
"tunnel_ip_address": "10.87.141.84",
"switch_name": "TOR1",
"type": "ovs",
"ovs_port": "6632",
"ovs_protocol": "tcp",
"http_server_port": "9912",
"vendor_name": "Juniper"
},
{
"id": "2",
"ip_address": "10.87.141.83",
"tunnel_ip_address": "10.87.141.83",
"switch_name": "TOR2",
"type": "ovs",
"ovs_port": "6632",
"ovs_protocol": "tcp",
"http_server_port": "9913",
"vendor_name": "Juniper"
}
]
},
"network" : {
"interfaces": [
{
"name": "eth1",
"dhcp": true,
"mac_address": "aa:bb:cc:dd:ee:ff",
"ip_address": "172.16.70.40/24",
"default_gateway": "172.16.70.254"
},
{
"name": "p20p1",
"mac_address": "aa:bb:cc:dd:ee:ab"
},
{
"name": "p20p2",
"mac_address": "aa:bb:cc:dd:ee:cd"
},
{
"name": "bond0",
"type": "bond",
"ip_address": "10.224.11.10/24",
"default_gateway": "10.224.12.1",
"bond_options": {"miimon": "100", "mode": "802.3ad","xmit_hash_policy": "layer3+4"},
"member_interfaces": ["p20p1", "p20p2"]
},
{
"default_gateway": "3.3.2.254",
"ip_address": "3.3.2.0/24",
"name": "eth2",
"mac_address": "aa:bb:cc:dd:ee:ef"
},
{
"default_gateway": "3.3.3.254",
"ip_address": "3.3.3.0/24",
"name": "eth4",
"mac_address": "aa:bb:cc:dd:ee:12"
}
],
"management_interface": "eth1",
"provisioning": "kickstart",
"routes": [
{
"gateway": "3.3.2.254",
"interface": "enp129s0f0",
"netmask": "255.255.255.0",
"network": "3.3.4.0"
},
{
"gateway": "3.3.3.254",
"interface": "enp129s0f1",
"netmask": "255.255.255.0",
"network": "3.3.5.0"
}
]
},
"password": "juniper",
"roles": [
"control",
"webui",
"openstack",
"collector",
"compute",
"database",
"config"
],
"ipmi_address": "10.84.6.62",
"ipmi_username": "ADMIN",
"ipmi_password": "ADMIN"
}
]
}