mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
CLOUDSTACK-7991: test_security_groups.py - Move config data to test_data.py and fix pep8 issues
Signed-off-by: Pierre-Luc Dion <pdion891@apache.org>
This commit is contained in:
parent
d42e3df9cf
commit
98d75b0259
File diff suppressed because it is too large
Load Diff
@ -323,6 +323,7 @@ test_data = {
|
|||||||
"name": "webvms",
|
"name": "webvms",
|
||||||
"type": "host anti-affinity",
|
"type": "host anti-affinity",
|
||||||
},
|
},
|
||||||
|
"userdata": "This is sample data"
|
||||||
},
|
},
|
||||||
"virtual_machine2": {
|
"virtual_machine2": {
|
||||||
"name": "testvm2",
|
"name": "testvm2",
|
||||||
@ -800,6 +801,13 @@ test_data = {
|
|||||||
"endport": "22",
|
"endport": "22",
|
||||||
"cidrlist": "0.0.0.0/0"
|
"cidrlist": "0.0.0.0/0"
|
||||||
},
|
},
|
||||||
|
"ingress_rule_ICMP": {
|
||||||
|
"name": 'ICMP',
|
||||||
|
"protocol": 'ICMP',
|
||||||
|
"startport": -1,
|
||||||
|
"endport": -1,
|
||||||
|
"cidrlist": '0.0.0.0/0',
|
||||||
|
},
|
||||||
"vpncustomergateway": {
|
"vpncustomergateway": {
|
||||||
"ipsecpsk": "secreatKey",
|
"ipsecpsk": "secreatKey",
|
||||||
"ikepolicy": "aes128-sha1",
|
"ikepolicy": "aes128-sha1",
|
||||||
@ -1435,5 +1443,10 @@ test_data = {
|
|||||||
"url": "",
|
"url": "",
|
||||||
"name": "Primary iSCSI"
|
"name": "Primary iSCSI"
|
||||||
},
|
},
|
||||||
|
"host": {
|
||||||
|
"publicport": 22,
|
||||||
|
"username": "root",
|
||||||
|
"password": "password",
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user