Skip to content

Commit e6863c6

Browse files
ustcweizhouAnthony Xu
authored andcommitted
Integration test for advanced zone with security groups
Description: This patch includes three parts for advancedsg: (1) Marvin support. (2) devcloud support. (3) integration test scripts Testing Done: devcloud testing ok. Signed-off-by: Anthony Xu <anthony.xu@citrix.com>
1 parent 297115c commit e6863c6

11 files changed

Lines changed: 1461 additions & 24 deletions

File tree

setup/dev/advancedsg.cfg

Lines changed: 185 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,185 @@
1+
# Licensed to the Apache Software Foundation (ASF) under one
2+
# or more contributor license agreements. See the NOTICE file
3+
# distributed with this work for additional information
4+
# regarding copyright ownership. The ASF licenses this file
5+
# to you under the Apache License, Version 2.0 (the
6+
# "License"); you may not use this file except in compliance
7+
# with the License. You may obtain a copy of the License at
8+
#
9+
# http://www.apache.org/licenses/LICENSE-2.0
10+
#
11+
# Unless required by applicable law or agreed to in writing,
12+
# software distributed under the License is distributed on an
13+
# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
14+
# KIND, either express or implied. See the License for the
15+
# specific language governing permissions and limitations
16+
# under the License.
17+
18+
{
19+
"zones": [
20+
{
21+
"name": "Sandbox-Simulator",
22+
"dns1": "10.147.28.6",
23+
"physical_networks": [
24+
{
25+
"name": "Sandbox-pnet",
26+
"tags": [
27+
"cloud-simulator-pnet"
28+
],
29+
"broadcastdomainrange": "Zone",
30+
"providers": [
31+
{
32+
"broadcastdomainrange": "ZONE",
33+
"name": "VirtualRouter"
34+
},
35+
{
36+
"broadcastdomainrange": "ZONE",
37+
"name": "SecurityGroupProvider"
38+
}
39+
],
40+
"traffictypes": [
41+
{
42+
"typ": "Guest"
43+
},
44+
{
45+
"typ": "Management",
46+
"simulator": "cloud-simulator-mgmt"
47+
}
48+
],
49+
"isolationmethods": [
50+
"VLAN"
51+
]
52+
}
53+
],
54+
"securitygroupenabled": "true",
55+
"ipranges": [
56+
{
57+
"startip": "10.147.31.150",
58+
"endip": "10.147.31.159",
59+
"netmask": "255.255.255.0",
60+
"vlan": "31",
61+
"gateway": "10.147.31.1"
62+
}
63+
],
64+
"networktype": "Advanced",
65+
"pods": [
66+
{
67+
"endip": "10.147.29.159",
68+
"name": "POD0",
69+
"startip": "10.147.29.150",
70+
"netmask": "255.255.255.0",
71+
"clusters": [
72+
{
73+
"clustername": "C0",
74+
"hypervisor": "Simulator",
75+
"hosts": [
76+
{
77+
"username": "root",
78+
"url": "http://simulator0",
79+
"password": "password"
80+
}
81+
],
82+
"clustertype": "CloudManaged",
83+
"primaryStorages": [
84+
{
85+
"url": "nfs://10.147.28.6:/export/home/sandbox/primary",
86+
"name": "PS0"
87+
}
88+
]
89+
}
90+
],
91+
"gateway": "10.147.29.1"
92+
}
93+
],
94+
"internaldns1": "10.147.28.6",
95+
"secondaryStorages": [
96+
{
97+
"url": "nfs://10.147.28.6:/export/home/sandbox/sstor"
98+
}
99+
]
100+
}
101+
],
102+
"dbSvr": {
103+
"dbSvr": "localhost",
104+
"passwd": "cloud",
105+
"db": "cloud",
106+
"port": 3306,
107+
"user": "cloud"
108+
},
109+
"logger": [
110+
{
111+
"name": "TestClient",
112+
"file": "testclient.log"
113+
},
114+
{
115+
"name": "TestCase",
116+
"file": "testcase.log"
117+
}
118+
],
119+
"globalConfig": [
120+
{
121+
"name": "storage.cleanup.interval",
122+
"value": "300"
123+
},
124+
{
125+
"name": "direct.agent.load.size",
126+
"value": "1000"
127+
},
128+
{
129+
"name": "default.page.size",
130+
"value": "10000"
131+
},
132+
{
133+
"name": "instance.name",
134+
"value": "QA"
135+
},
136+
{
137+
"name": "workers",
138+
"value": "10"
139+
},
140+
{
141+
"name": "vm.op.wait.interval",
142+
"value": "5"
143+
},
144+
{
145+
"name": "account.cleanup.interval",
146+
"value": "600"
147+
},
148+
{
149+
"name": "guest.domain.suffix",
150+
"value": "sandbox.simulator"
151+
},
152+
{
153+
"name": "expunge.delay",
154+
"value": "60"
155+
},
156+
{
157+
"name": "vm.allocation.algorithm",
158+
"value": "random"
159+
},
160+
{
161+
"name": "expunge.interval",
162+
"value": "60"
163+
},
164+
{
165+
"name": "expunge.workers",
166+
"value": "3"
167+
},
168+
{
169+
"name": "secstorage.allowed.internal.sites",
170+
"value": "10.147.28.0/24"
171+
},
172+
{
173+
"name": "check.pod.cidrs",
174+
"value": "true"
175+
}
176+
],
177+
"mgtSvr": [
178+
{
179+
"mgtSvrIp": "localhost",
180+
"passwd": "password",
181+
"user": "root",
182+
"port": 8096
183+
}
184+
]
185+
}

0 commit comments

Comments
 (0)