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:
Gaurav Aradhye 2014-11-28 14:01:17 +05:30 committed by Pierre-Luc Dion
parent d42e3df9cf
commit 98d75b0259
2 changed files with 806 additions and 843 deletions

File diff suppressed because it is too large Load Diff

View File

@ -323,6 +323,7 @@ test_data = {
"name": "webvms",
"type": "host anti-affinity",
},
"userdata": "This is sample data"
},
"virtual_machine2": {
"name": "testvm2",
@ -800,6 +801,13 @@ test_data = {
"endport": "22",
"cidrlist": "0.0.0.0/0"
},
"ingress_rule_ICMP": {
"name": 'ICMP',
"protocol": 'ICMP',
"startport": -1,
"endport": -1,
"cidrlist": '0.0.0.0/0',
},
"vpncustomergateway": {
"ipsecpsk": "secreatKey",
"ikepolicy": "aes128-sha1",
@ -1435,5 +1443,10 @@ test_data = {
"url": "",
"name": "Primary iSCSI"
},
"host": {
"publicport": 22,
"username": "root",
"password": "password",
}
}
}