Skip to content

Commit 552cd83

Browse files
Locharla, SandeepLocharla, Sandeep
authored andcommitted
CSTACKEX-189: Cloudstack StoragePool Operations automation tests
1 parent 8ae97bf commit 552cd83

5 files changed

Lines changed: 1560 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
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.
Lines changed: 117 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,117 @@
1+
{
2+
"zones": [
3+
{
4+
"name": "Zone-ONTAP",
5+
"localstorageenabled": true,
6+
"dns1": "8.8.8.8",
7+
"internal_dns1": "10.192.0.250",
8+
"guestcidraddress": "10.1.1.0/24",
9+
"physical_networks": [
10+
{
11+
"broadcastdomainrange": "Zone",
12+
"name": "physical_network",
13+
"vlan": "100-300",
14+
"traffictypes": [
15+
{"typ": "Guest"},
16+
{"typ": "Management"},
17+
{"typ": "Public"}
18+
],
19+
"providers": [
20+
{
21+
"broadcastdomainrange": "ZONE",
22+
"name": "VirtualRouter"
23+
}
24+
]
25+
}
26+
],
27+
"secondaryStorages": [
28+
{
29+
"url": "nfs://10.193.56.61/exports/secondary",
30+
"provider": "NFS",
31+
"tags": "secondary-nfs"
32+
}
33+
],
34+
"ipranges": [
35+
{
36+
"gateway": "10.193.56.1",
37+
"startip": "10.193.56.70",
38+
"endip": "10.193.56.79",
39+
"netmask": "255.255.252.0",
40+
"vlan": "untagged"
41+
}
42+
],
43+
"pods": [
44+
{
45+
"name": "Pod-ONTAP",
46+
"gateway": "10.193.56.1",
47+
"startip": "10.193.56.80",
48+
"endip": "10.193.56.89",
49+
"netmask": "255.255.252.0",
50+
"clusters": [
51+
{
52+
"clustername": "KVM-Cluster-ONTAP",
53+
"hypervisor": "KVM",
54+
"clustertype": "CloudManaged",
55+
"hosts": [
56+
{
57+
"url": "http://10.193.56.61",
58+
"username": "root",
59+
"password": "netapp1!",
60+
"hosttags": "kvmHostONTAP"
61+
}
62+
],
63+
"primaryStorages": [
64+
{
65+
"name": "primary-nfs-ontap",
66+
"url": "nfs://10.193.56.61/exports/primary",
67+
"scope": "CLUSTER",
68+
"provider": "DefaultPrimary",
69+
"tags": "primary-nfs"
70+
}
71+
]
72+
}
73+
]
74+
}
75+
]
76+
}
77+
],
78+
"dbSvr": {
79+
"dbSvr": "10.193.56.61",
80+
"passwd": "cloud",
81+
"db": "cloud",
82+
"port": 3306,
83+
"user": "cloud"
84+
},
85+
"logger": {
86+
"LogFolderPath": "/tmp/"
87+
},
88+
"TestData": {
89+
"Path": "test/integration/plugins/ontap/ontap.cfg"
90+
},
91+
"mgtSvr": [
92+
{
93+
"mgtSvrIp": "10.193.56.61",
94+
"port": 8096,
95+
"user": "admin",
96+
"passwd": "password",
97+
"hypervisor": "kvm",
98+
"timeout": 600
99+
}
100+
],
101+
"ontap": {
102+
"storageIP": "10.196.35.107",
103+
"svmName": "vs0",
104+
"username": "admin",
105+
"password": "netapp1!",
106+
"protocol": "NFS3",
107+
"storagePoolScope": "CLUSTER",
108+
"storagePoolProvider": "NetApp ONTAP",
109+
"storagePoolTags": "ontap-nfs3",
110+
"capacitybytes": 3355443200
111+
},
112+
"cloudstack": {
113+
"zoneName": "Zone1",
114+
"clusterName": "Cluster1",
115+
"domainName": "ROOT"
116+
}
117+
}

0 commit comments

Comments
 (0)