Skip to content

Commit 0412cb8

Browse files
author
Marcus Sorensen
committed
Summary: Edit devcloud cfg files for advanced networking, add comments
1 parent 7374056 commit 0412cb8

2 files changed

Lines changed: 128 additions & 1 deletion

File tree

‎tools/devcloud/devcloud-advanced.cfg‎

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# This configuration is meant for running advanced networking, with management server on the laptop.
2+
# It requires that the user run a DNS resolver within devcloud via 'apt-get install dnsmasq'
3+
14
{
25
"zones": [
36
{
@@ -81,7 +84,7 @@
8184
"gateway": "192.168.56.1"
8285
}
8386
],
84-
"internaldns1": "8.8.4.4",
87+
"internaldns1": "192.168.56.10",
8588
"secondaryStorages": [
8689
{
8790
"url": "nfs://192.168.56.10:/opt/storage/secondary"
Lines changed: 124 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,124 @@
1+
# This config is designed to run as an advanced network, with management server in devcloud
2+
# It also requires an 'apt-get install dnsmasq' to run a resolver in devcloud for internal dns
3+
4+
{
5+
"zones": [
6+
{
7+
"localstorageenabled": "true",
8+
"name": "testzone",
9+
"guestcidraddress": "10.1.1.0/24",
10+
"dns1": "8.8.8.8",
11+
"physical_networks": [
12+
{
13+
"broadcastdomainrange": "Zone",
14+
"vlan": "3900-4000",
15+
"name": "eth0",
16+
"traffictypes": [
17+
{
18+
"xen": "Pool-wide network associated with eth0",
19+
"typ": "Management"
20+
},
21+
{
22+
"xen": "Pool-wide network associated with eth0",
23+
"typ": "Guest"
24+
}
25+
],
26+
"providers": [
27+
{
28+
"broadcastdomainrange": "ZONE",
29+
"name": "VirtualRouter"
30+
},
31+
{
32+
"broadcastdomainrange": "ZONE",
33+
"name": "VpcVirtualRouter"
34+
}
35+
]
36+
},
37+
{
38+
"broadcastdomainrange": "Zone",
39+
"name": "eth1",
40+
"traffictypes": [
41+
{
42+
"xen": "Pool-wide network associated with eth1",
43+
"typ": "Public"
44+
}
45+
],
46+
"providers": [
47+
{
48+
"broadcastdomainrange": "ZONE",
49+
"name": "VirtualRouter"
50+
}
51+
]
52+
}
53+
],
54+
"ipranges": [
55+
{
56+
"startip": "10.0.3.100",
57+
"endip": "10.0.3.199",
58+
"netmask": "255.255.255.0",
59+
"vlan": "untagged",
60+
"gateway": "10.0.3.2"
61+
}
62+
],
63+
"networktype": "Advanced",
64+
"pods": [
65+
{
66+
"endip": "192.168.56.249",
67+
"name": "testpod",
68+
"startip": "192.168.56.200",
69+
"netmask": "255.255.255.0",
70+
"clusters": [
71+
{
72+
"clustername": "testcluster",
73+
"hypervisor": "XenServer",
74+
"hosts": [
75+
{
76+
"username": "root",
77+
"url": "http://192.168.56.10/",
78+
"password": "password"
79+
}
80+
],
81+
"clustertype": "CloudManaged"
82+
}
83+
],
84+
"gateway": "192.168.56.1"
85+
}
86+
],
87+
"internaldns1": "192.168.56.10",
88+
"secondaryStorages": [
89+
{
90+
"url": "nfs://192.168.56.10:/opt/storage/secondary"
91+
}
92+
]
93+
}
94+
],
95+
"dbSvr": {
96+
"dbSvr": "127.0.0.1",
97+
"passwd": "cloud",
98+
"db": "cloud",
99+
"port": 3306,
100+
"user": "cloud"
101+
},
102+
"logger": [
103+
{
104+
"name": "TestClient",
105+
"file": "/var/log/testclient.log"
106+
},
107+
{
108+
"name": "TestCase",
109+
"file": "/var/log/testcase.log"
110+
}
111+
],
112+
"mgtSvr": [
113+
{
114+
"mgtSvrIp": "192.168.56.10",
115+
"port": 8096
116+
}
117+
],
118+
"globalConfig": [
119+
{
120+
"name": "host",
121+
"value": "192.168.56.10"
122+
}
123+
]
124+
}

0 commit comments

Comments
 (0)