JIRAID - CLOUDSTACK-6282 Added Networks API calls to test_escalations.py

This commit is contained in:
Anish Kumar Bindal 2014-05-02 13:56:41 +05:30 committed by Gaurav Aradhye
parent dacb541950
commit 25b1c037d6
2 changed files with 1464 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -204,10 +204,42 @@ test_data = {
"StaticNat": "VirtualRouter"
}
},
"network_offering_vlan": {
"name": 'Test Network offering',
"displaytext": 'Test Network offering',
"guestiptype": 'Isolated',
"supportedservices": 'Dhcp,Dns,SourceNat,PortForwarding',
"traffictype": 'GUEST',
"specifyvlan": 'False',
"availability": 'Optional',
"serviceProviderList" : {
"Dhcp": 'VirtualRouter',
"Dns": 'VirtualRouter',
"SourceNat": 'VirtualRouter',
"PortForwarding": 'VirtualRouter',
},
},
"network_offering_without_sourcenat": {
"name": 'Test Network offering',
"displaytext": 'Test Network offering',
"guestiptype": 'Isolated',
"supportedservices": 'Dhcp,Dns,UserData',
"traffictype": 'GUEST',
"availability": 'Optional',
"serviceProviderList" : {
"Dhcp": 'VirtualRouter',
"Dns": 'VirtualRouter',
"UserData": 'VirtualRouter',
},
},
"isolated_network": {
"name": "Isolated Network",
"displaytext": "Isolated Network"
},
"network_without_acl": {
"name": "TestNetwork",
"displaytext": "TestNetwork",
},
"virtual_machine": {
"displayname": "Test VM",
"username": "root",
@ -302,6 +334,12 @@ test_data = {
"displaytext": "TestVPC",
"cidr": "10.0.0.1/24"
},
"vpc_network_domain": {
"name": "TestVPC",
"displaytext": "TestVPC",
"cidr": '10.0.0.1/24',
"network_domain": "TestVPC"
},
"clusters": {
0: {
"clustername": "Xen Cluster",
@ -433,6 +471,13 @@ test_data = {
},
},
"network_acl_rule": {
"protocol":"TCP",
"traffictype":"ingress",
"cidrlist":"0.0.0.0/0",
"startport":"1",
"endport":"1"
},
"network_offering_internal_lb": {
"name": "Network offering for internal lb service",
"displaytext": "Network offering for internal lb service",