mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Merge remote-tracking branch 'apache/4.16' into 4.17
This commit is contained in:
commit
20865901d1
@ -86,7 +86,7 @@ test_data = {
|
|||||||
"username": "User",
|
"username": "User",
|
||||||
# Random characters are appended for unique
|
# Random characters are appended for unique
|
||||||
# username
|
# username
|
||||||
"password": "fr3sca",
|
"password": "fr3sca"
|
||||||
},
|
},
|
||||||
"small": {
|
"small": {
|
||||||
"displayname": "testserver",
|
"displayname": "testserver",
|
||||||
@ -146,7 +146,7 @@ test_data = {
|
|||||||
"displaytext": "LargeInstance",
|
"displaytext": "LargeInstance",
|
||||||
"cpunumber": 1,
|
"cpunumber": 1,
|
||||||
"cpuspeed": 1024,
|
"cpuspeed": 1024,
|
||||||
"memory": 2048,
|
"memory": 2048
|
||||||
},
|
},
|
||||||
"hasmall": {
|
"hasmall": {
|
||||||
"name": "HA Small Instance",
|
"name": "HA Small Instance",
|
||||||
@ -251,7 +251,7 @@ test_data = {
|
|||||||
"traffictype": "GUEST",
|
"traffictype": "GUEST",
|
||||||
"availability": "Optional",
|
"availability": "Optional",
|
||||||
"serviceProviderList": {
|
"serviceProviderList": {
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"nw_off_isolated_netscaler": {
|
"nw_off_isolated_netscaler": {
|
||||||
"name": "Netscaler",
|
"name": "Netscaler",
|
||||||
@ -326,12 +326,12 @@ test_data = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nw_off_L2_persistent": {
|
"nw_off_L2_persistent": {
|
||||||
"name": 'Test L2 Network Offering persistent',
|
"name": "Test L2 Network Offering persistent",
|
||||||
"displaytext": 'Test L2 Network Offering persistent',
|
"displaytext": "Test L2 Network Offering persistent",
|
||||||
"guestiptype": 'L2',
|
"guestiptype": "L2",
|
||||||
"traffictype": 'GUEST',
|
"traffictype": "GUEST",
|
||||||
"ispersistent": 'True',
|
"ispersistent": "True",
|
||||||
"specifyVlan": 'True'
|
"specifyVlan": "True"
|
||||||
},
|
},
|
||||||
"network_offering_vlan": {
|
"network_offering_vlan": {
|
||||||
"name": "Test Network offering",
|
"name": "Test Network offering",
|
||||||
@ -486,20 +486,6 @@ test_data = {
|
|||||||
"SecurityGroup": "SecurityGroupProvider"
|
"SecurityGroup": "SecurityGroupProvider"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"shared_network_config_drive_offering": {
|
|
||||||
"name": 'shared_network_config_drive_offering',
|
|
||||||
"displaytext": 'shared_network_config_drive_offering',
|
|
||||||
"guestiptype": 'shared',
|
|
||||||
"supportedservices": 'Dhcp,UserData',
|
|
||||||
"traffictype": 'GUEST',
|
|
||||||
"specifyVlan": "True",
|
|
||||||
"specifyIpRanges": "True",
|
|
||||||
"availability": 'Optional',
|
|
||||||
"serviceProviderList": {
|
|
||||||
"Dhcp": "VirtualRouter",
|
|
||||||
"UserData": 'ConfigDrive'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"shared_network_sg": {
|
"shared_network_sg": {
|
||||||
"name": "Shared-Network-SG-Test",
|
"name": "Shared-Network-SG-Test",
|
||||||
"displaytext": "Shared-Network_SG-Test",
|
"displaytext": "Shared-Network_SG-Test",
|
||||||
@ -660,7 +646,7 @@ test_data = {
|
|||||||
"serviceCapabilityList": {
|
"serviceCapabilityList": {
|
||||||
"SourceNat": {
|
"SourceNat": {
|
||||||
"SupportedSourceNatTypes": "peraccount",
|
"SupportedSourceNatTypes": "peraccount",
|
||||||
"RedundantRouter": "true"
|
"RedundantRouter": "true",
|
||||||
},
|
},
|
||||||
"lb": {
|
"lb": {
|
||||||
"SupportedLbIsolation": "dedicated"
|
"SupportedLbIsolation": "dedicated"
|
||||||
@ -690,16 +676,16 @@ test_data = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nw_offering_reduced_vpc": {
|
"nw_offering_reduced_vpc": {
|
||||||
"name": 'Reduced Network for VPC',
|
"name": "Reduced Network for VPC",
|
||||||
"displaytext": 'Reduced Network for VPC',
|
"displaytext": "Reduced Network for VPC",
|
||||||
"guestiptype": 'Isolated',
|
"guestiptype": "Isolated",
|
||||||
"supportedservices": 'Dhcp,StaticNat,SourceNat,NetworkACL,UserData,'
|
"supportedservices": "Dhcp,StaticNat,SourceNat,NetworkACL,UserData,"
|
||||||
'Dns',
|
"Dns",
|
||||||
"traffictype": 'GUEST',
|
"traffictype": "GUEST",
|
||||||
"availability": 'Optional',
|
"availability": "Optional",
|
||||||
"tags": "native",
|
"tags": "native",
|
||||||
"useVpc": 'on',
|
"useVpc": "on",
|
||||||
"ispersistent": 'True',
|
"ispersistent": "True",
|
||||||
"serviceProviderList": {
|
"serviceProviderList": {
|
||||||
"Dhcp": "VpcVirtualRouter",
|
"Dhcp": "VpcVirtualRouter",
|
||||||
"StaticNat": "VpcVirtualRouter",
|
"StaticNat": "VpcVirtualRouter",
|
||||||
@ -777,51 +763,51 @@ test_data = {
|
|||||||
"protocol": "TCP"
|
"protocol": "TCP"
|
||||||
},
|
},
|
||||||
"nw_off_ncc_SharedSP": {
|
"nw_off_ncc_SharedSP": {
|
||||||
"name": 'SharedSP',
|
"name": "SharedSP",
|
||||||
"displaytext": 'SharedSP',
|
"displaytext": "SharedSP",
|
||||||
"guestiptype": 'Isolated',
|
"guestiptype": "Isolated",
|
||||||
"supportedservices":
|
"supportedservices":
|
||||||
'Dhcp,Dns,SourceNat,Lb,StaticNat',
|
"Dhcp,Dns,SourceNat,Lb,StaticNat",
|
||||||
"traffictype": 'GUEST',
|
"traffictype": "GUEST",
|
||||||
"availability": 'Optional',
|
"availability": "Optional",
|
||||||
"serviceProviderList": {
|
"serviceProviderList": {
|
||||||
"Dhcp": 'VirtualRouter',
|
"Dhcp": "VirtualRouter",
|
||||||
"Dns": 'VirtualRouter',
|
"Dns": "VirtualRouter",
|
||||||
"SourceNat": 'VirtualRouter',
|
"SourceNat": "VirtualRouter",
|
||||||
"Lb": 'Netscaler',
|
"Lb": "Netscaler",
|
||||||
"StaticNat": 'VirtualRouter'
|
"StaticNat": "VirtualRouter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"nw_off_ncc_DedicatedSP": {
|
"nw_off_ncc_DedicatedSP": {
|
||||||
"name": 'DedicatedSP',
|
"name": "DedicatedSP",
|
||||||
"displaytext": 'DedicatedSP',
|
"displaytext": "DedicatedSP",
|
||||||
"guestiptype": 'Isolated',
|
"guestiptype": "Isolated",
|
||||||
"supportedservices":
|
"supportedservices":
|
||||||
'Dhcp,Dns,SourceNat,Lb,StaticNat',
|
"Dhcp,Dns,SourceNat,Lb,StaticNat",
|
||||||
"traffictype": 'GUEST',
|
"traffictype": "GUEST",
|
||||||
"availability": 'Optional',
|
"availability": "Optional",
|
||||||
"serviceProviderList": {
|
"serviceProviderList": {
|
||||||
"Dhcp": 'VirtualRouter',
|
"Dhcp": "VirtualRouter",
|
||||||
"Dns": 'VirtualRouter',
|
"Dns": "VirtualRouter",
|
||||||
"SourceNat": 'VirtualRouter',
|
"SourceNat": "VirtualRouter",
|
||||||
"Lb": 'Netscaler',
|
"Lb": "Netscaler",
|
||||||
"StaticNat": 'VirtualRouter'
|
"StaticNat": "VirtualRouter"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"NCC": {
|
"NCC": {
|
||||||
"NCCIP": '10.102.195.215',
|
"NCCIP": "10.102.195.215"
|
||||||
},
|
},
|
||||||
"NSShared": {
|
"NSShared": {
|
||||||
"NSIP": '10.102.195.210',
|
"NSIP": "10.102.195.210"
|
||||||
},
|
},
|
||||||
"NSDedicated": {
|
"NSDedicated": {
|
||||||
"NSIP": '10.102.195.212'
|
"NSIP": "10.102.195.212"
|
||||||
},
|
},
|
||||||
"servicepackage_shared": {
|
"servicepackage_shared": {
|
||||||
"name": "SharedSP",
|
"name": "SharedSP"
|
||||||
},
|
},
|
||||||
"servicepackage_dedicated": {
|
"servicepackage_dedicated": {
|
||||||
"name": "DedicatedSP",
|
"name": "DedicatedSP"
|
||||||
},
|
},
|
||||||
|
|
||||||
"nw_off_isolated_persistent_netscaler": {
|
"nw_off_isolated_persistent_netscaler": {
|
||||||
@ -843,7 +829,7 @@ test_data = {
|
|||||||
"Lb": "Netscaler",
|
"Lb": "Netscaler",
|
||||||
"UserData": "VirtualRouter",
|
"UserData": "VirtualRouter",
|
||||||
"StaticNat": "VirtualRouter"
|
"StaticNat": "VirtualRouter"
|
||||||
}
|
},
|
||||||
|
|
||||||
},
|
},
|
||||||
"network_acl_rule": {
|
"network_acl_rule": {
|
||||||
@ -890,7 +876,7 @@ test_data = {
|
|||||||
},
|
},
|
||||||
"updatenatrulerange": {
|
"updatenatrulerange": {
|
||||||
"privateport": 50,
|
"privateport": 50,
|
||||||
"privateendport": 55,
|
"privateendport": 55
|
||||||
},
|
},
|
||||||
"egress_80": {
|
"egress_80": {
|
||||||
"startport": 80,
|
"startport": 80,
|
||||||
@ -989,7 +975,7 @@ test_data = {
|
|||||||
"isfeatured": True,
|
"isfeatured": True,
|
||||||
"ispublic": True,
|
"ispublic": True,
|
||||||
"ostype": "Windows Server 2012 (64-bit)",
|
"ostype": "Windows Server 2012 (64-bit)",
|
||||||
"mode": 'HTTP_DOWNLOAD',
|
"mode": "HTTP_DOWNLOAD"
|
||||||
},
|
},
|
||||||
"isfeatured": True,
|
"isfeatured": True,
|
||||||
"ispublic": True,
|
"ispublic": True,
|
||||||
@ -1270,7 +1256,8 @@ test_data = {
|
|||||||
"url": "iscsi://192.168.100.21/iqn.2012-01.localdomain.clo-cstack-cos6:iser/1",
|
"url": "iscsi://192.168.100.21/iqn.2012-01.localdomain.clo-cstack-cos6:iser/1",
|
||||||
"name": "Primary iSCSI"
|
"name": "Primary iSCSI"
|
||||||
},
|
},
|
||||||
"volume": {"diskname": "Test Volume",
|
"volume": {
|
||||||
|
"diskname": "Test Volume",
|
||||||
"size": 1
|
"size": 1
|
||||||
},
|
},
|
||||||
"volume_write_path": {
|
"volume_write_path": {
|
||||||
@ -1278,7 +1265,7 @@ test_data = {
|
|||||||
"size": 1, # in GBs
|
"size": 1, # in GBs
|
||||||
"xenserver": {"rootdiskdevice":"/dev/xvda",
|
"xenserver": {"rootdiskdevice":"/dev/xvda",
|
||||||
"datadiskdevice_1": "/dev/xvdb",
|
"datadiskdevice_1": "/dev/xvdb",
|
||||||
"datadiskdevice_2": "/dev/xvdc" # Data Disk
|
"datadiskdevice_2": "/dev/xvdc", # Data Disk
|
||||||
},
|
},
|
||||||
"kvm": {"rootdiskdevice": "/dev/vda",
|
"kvm": {"rootdiskdevice": "/dev/vda",
|
||||||
"datadiskdevice_1": "/dev/vdb",
|
"datadiskdevice_1": "/dev/vdb",
|
||||||
@ -1319,23 +1306,23 @@ test_data = {
|
|||||||
"vpntest_vpc": {
|
"vpntest_vpc": {
|
||||||
"name": "vpc_vpn",
|
"name": "vpc_vpn",
|
||||||
"displaytext": "vpc-vpn",
|
"displaytext": "vpc-vpn",
|
||||||
"cidr": "10.1.1.0/24"
|
"cidr": "10.254.1.0/24"
|
||||||
},
|
},
|
||||||
"ntwk": {
|
"ntwk": {
|
||||||
"name": "tier1",
|
"name": "tier1",
|
||||||
"displaytext": "vpc-tier1",
|
"displaytext": "vpc-tier1",
|
||||||
"gateway": "10.1.1.1",
|
"gateway": "10.254.1.1",
|
||||||
"netmask": "255.255.255.192"
|
"netmask": "255.255.255.192"
|
||||||
},
|
},
|
||||||
"vpc2": {
|
"vpc2": {
|
||||||
"name": "vpc2_vpn",
|
"name": "vpc2_vpn",
|
||||||
"displaytext": "vpc2-vpn",
|
"displaytext": "vpc2-vpn",
|
||||||
"cidr": "10.2.1.0/24"
|
"cidr": "10.253.1.0/24"
|
||||||
},
|
},
|
||||||
"ntwk2": {
|
"ntwk2": {
|
||||||
"name": "tier2",
|
"name": "tier2",
|
||||||
"displaytext": "vpc-tier2",
|
"displaytext": "vpc-tier2",
|
||||||
"gateway": "10.2.1.1",
|
"gateway": "10.253.1.1",
|
||||||
"netmask": "255.255.255.192"
|
"netmask": "255.255.255.192"
|
||||||
},
|
},
|
||||||
"privateport": 22,
|
"privateport": 22,
|
||||||
@ -1346,7 +1333,8 @@ test_data = {
|
|||||||
"diskname": "Test Volume",
|
"diskname": "Test Volume",
|
||||||
"sparse": {
|
"sparse": {
|
||||||
"name": "Sparse Type Disk offering",
|
"name": "Sparse Type Disk offering",
|
||||||
"displaytext": "Sparse Type Disk offering",
|
"displaytext":
|
||||||
|
"Sparse Type Disk offering",
|
||||||
"disksize": 1, # in GB
|
"disksize": 1, # in GB
|
||||||
"provisioningtype": "sparse"
|
"provisioningtype": "sparse"
|
||||||
},
|
},
|
||||||
@ -1453,7 +1441,7 @@ test_data = {
|
|||||||
"clustertype": "CloudManaged",
|
"clustertype": "CloudManaged",
|
||||||
"url": "http://10.102.192.57",
|
"url": "http://10.102.192.57",
|
||||||
"username": "root",
|
"username": "root",
|
||||||
"password": "freebsd"
|
"password": "freebsd",
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"account": {
|
"account": {
|
||||||
@ -1473,7 +1461,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU260Q",
|
"displaytext": "vGPU260Q",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600, # in MHz
|
"cpuspeed": 1600, # in MHz
|
||||||
"memory": 3072 # In MBs
|
"memory": 3072, # In MBs
|
||||||
},
|
},
|
||||||
"GRID K240Q":
|
"GRID K240Q":
|
||||||
{
|
{
|
||||||
@ -1481,7 +1469,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU240Q",
|
"displaytext": "vGPU240Q",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600, # in MHz
|
"cpuspeed": 1600, # in MHz
|
||||||
"memory": 3072 # In MBs
|
"memory": 3072, # In MBs
|
||||||
},
|
},
|
||||||
"GRID K220Q":
|
"GRID K220Q":
|
||||||
{
|
{
|
||||||
@ -1489,7 +1477,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU220Q",
|
"displaytext": "vGPU220Q",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600, # in MHz
|
"cpuspeed": 1600, # in MHz
|
||||||
"memory": 3072 # In MBs
|
"memory": 3072, # In MBs
|
||||||
},
|
},
|
||||||
"GRID K200":
|
"GRID K200":
|
||||||
{
|
{
|
||||||
@ -1497,7 +1485,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU200",
|
"displaytext": "vGPU200",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600, # in MHz
|
"cpuspeed": 1600, # in MHz
|
||||||
"memory": 3072 # In MBs
|
"memory": 3072, # In MBs
|
||||||
},
|
},
|
||||||
"passthrough":
|
"passthrough":
|
||||||
{
|
{
|
||||||
@ -1505,7 +1493,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU passthrough",
|
"displaytext": "vGPU passthrough",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600, # in MHz
|
"cpuspeed": 1600, # in MHz
|
||||||
"memory": 3072 # In MBs
|
"memory": 3072, # In MBs
|
||||||
},
|
},
|
||||||
"GRID K140Q":
|
"GRID K140Q":
|
||||||
{
|
{
|
||||||
@ -1515,7 +1503,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU140Q",
|
"displaytext": "vGPU140Q",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600,
|
"cpuspeed": 1600,
|
||||||
"memory": 3072
|
"memory": 3072,
|
||||||
},
|
},
|
||||||
"GRID K120Q":
|
"GRID K120Q":
|
||||||
{
|
{
|
||||||
@ -1523,7 +1511,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU120Q",
|
"displaytext": "vGPU120Q",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600,
|
"cpuspeed": 1600,
|
||||||
"memory": 3072
|
"memory": 3072,
|
||||||
},
|
},
|
||||||
"GRID K100":
|
"GRID K100":
|
||||||
{
|
{
|
||||||
@ -1531,7 +1519,7 @@ test_data = {
|
|||||||
"displaytext": "vGPU100",
|
"displaytext": "vGPU100",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600,
|
"cpuspeed": 1600,
|
||||||
"memory": 3072
|
"memory": 3072,
|
||||||
},
|
},
|
||||||
"nonvgpuoffering":
|
"nonvgpuoffering":
|
||||||
{
|
{
|
||||||
@ -1539,7 +1527,7 @@ test_data = {
|
|||||||
"displaytext": "nonvgpuoffering",
|
"displaytext": "nonvgpuoffering",
|
||||||
"cpunumber": 2,
|
"cpunumber": 2,
|
||||||
"cpuspeed": 1600,
|
"cpuspeed": 1600,
|
||||||
"memory": 3072
|
"memory": 3072,
|
||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
@ -1847,7 +1835,7 @@ test_data = {
|
|||||||
"displaytext": "Small Instance",
|
"displaytext": "Small Instance",
|
||||||
"cpunumber": 1,
|
"cpunumber": 1,
|
||||||
"cpuspeed": 100,
|
"cpuspeed": 100,
|
||||||
"memory": 128
|
"memory": 128,
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ostype": "CentOS 5.6 (64-bit)"
|
"ostype": "CentOS 5.6 (64-bit)"
|
||||||
@ -1895,6 +1883,7 @@ test_data = {
|
|||||||
"ostype": "Windows 8 (64-bit)",
|
"ostype": "Windows 8 (64-bit)",
|
||||||
"ispublic": "true",
|
"ispublic": "true",
|
||||||
"hypervisor": "XenServer"
|
"hypervisor": "XenServer"
|
||||||
|
|
||||||
},
|
},
|
||||||
"OVA":
|
"OVA":
|
||||||
{
|
{
|
||||||
@ -1913,10 +1902,8 @@ test_data = {
|
|||||||
"passwordenabled": False,
|
"passwordenabled": False,
|
||||||
"ostype": "Windows 8 (64-bit)"
|
"ostype": "Windows 8 (64-bit)"
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
|
|
||||||
"configurableData":
|
|
||||||
{
|
|
||||||
"browser_upload_volume":{
|
"browser_upload_volume":{
|
||||||
"VHD": {
|
"VHD": {
|
||||||
"diskname": "XenUploadVol",
|
"diskname": "XenUploadVol",
|
||||||
@ -1939,156 +1926,6 @@ test_data = {
|
|||||||
"disksize": 3
|
"disksize": 3
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"vpc_vpn": {
|
|
||||||
"account": {
|
|
||||||
"email": "test@test.com",
|
|
||||||
"firstname": "Test",
|
|
||||||
"lastname": "User",
|
|
||||||
"username": "test",
|
|
||||||
"password": "password",
|
|
||||||
},
|
|
||||||
"host1": None,
|
|
||||||
"host2": None,
|
|
||||||
"compute_offering": {
|
|
||||||
"name": "Tiny Instance",
|
|
||||||
"displaytext": "Tiny Instance",
|
|
||||||
"cpunumber": 1,
|
|
||||||
"cpuspeed": 100,
|
|
||||||
"memory": 128,
|
|
||||||
},
|
|
||||||
"network_offering": {
|
|
||||||
"name": 'VPC Network offering',
|
|
||||||
"displaytext": 'VPC Network',
|
|
||||||
"guestiptype": 'Isolated',
|
|
||||||
"supportedservices": 'Vpn,Dhcp,Dns,SourceNat,Lb,PortForwarding,UserData,StaticNat,NetworkACL',
|
|
||||||
"traffictype": 'GUEST',
|
|
||||||
"availability": 'Optional',
|
|
||||||
"useVpc": 'on',
|
|
||||||
"serviceProviderList": {
|
|
||||||
"Vpn": 'VpcVirtualRouter',
|
|
||||||
"Dhcp": 'VpcVirtualRouter',
|
|
||||||
"Dns": 'VpcVirtualRouter',
|
|
||||||
"SourceNat": 'VpcVirtualRouter',
|
|
||||||
"Lb": 'VpcVirtualRouter',
|
|
||||||
"PortForwarding": 'VpcVirtualRouter',
|
|
||||||
"UserData": 'VpcVirtualRouter',
|
|
||||||
"StaticNat": 'VpcVirtualRouter',
|
|
||||||
"NetworkACL": 'VpcVirtualRouter'
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"network_offering_internal_lb": {
|
|
||||||
"name": 'VPC Network Internal Lb offering',
|
|
||||||
"displaytext": 'VPC Network internal lb',
|
|
||||||
"guestiptype": 'Isolated',
|
|
||||||
"supportedservices": 'Dhcp,Dns,SourceNat,PortForwarding,UserData,StaticNat,NetworkACL,Lb',
|
|
||||||
"traffictype": 'GUEST',
|
|
||||||
"availability": 'Optional',
|
|
||||||
"useVpc": 'on',
|
|
||||||
"serviceCapabilityList": {
|
|
||||||
"Lb": {
|
|
||||||
"SupportedLbIsolation": 'dedicated',
|
|
||||||
"lbSchemes": 'internal'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"serviceProviderList": {
|
|
||||||
"Dhcp": 'VpcVirtualRouter',
|
|
||||||
"Dns": 'VpcVirtualRouter',
|
|
||||||
"SourceNat": 'VpcVirtualRouter',
|
|
||||||
"PortForwarding": 'VpcVirtualRouter',
|
|
||||||
"UserData": 'VpcVirtualRouter',
|
|
||||||
"StaticNat": 'VpcVirtualRouter',
|
|
||||||
"NetworkACL": 'VpcVirtualRouter',
|
|
||||||
"Lb": 'InternalLbVm'
|
|
||||||
},
|
|
||||||
"egress_policy": "true",
|
|
||||||
},
|
|
||||||
"vpc_offering": {
|
|
||||||
"name": 'VPC off',
|
|
||||||
"displaytext": 'VPC off',
|
|
||||||
"supportedservices": 'Dhcp,Dns,SourceNat,PortForwarding,Vpn,Lb,UserData,StaticNat',
|
|
||||||
},
|
|
||||||
"redundant_vpc_offering": {
|
|
||||||
"name": 'Redundant VPC off',
|
|
||||||
"displaytext": 'Redundant VPC off',
|
|
||||||
"supportedservices": 'Dhcp,Dns,SourceNat,PortForwarding,Vpn,Lb,UserData,StaticNat',
|
|
||||||
"serviceProviderList": {
|
|
||||||
"Vpn": 'VpcVirtualRouter',
|
|
||||||
"Dhcp": 'VpcVirtualRouter',
|
|
||||||
"Dns": 'VpcVirtualRouter',
|
|
||||||
"SourceNat": 'VpcVirtualRouter',
|
|
||||||
"PortForwarding": 'VpcVirtualRouter',
|
|
||||||
"Lb": 'VpcVirtualRouter',
|
|
||||||
"UserData": 'VpcVirtualRouter',
|
|
||||||
"StaticNat": 'VpcVirtualRouter',
|
|
||||||
"NetworkACL": 'VpcVirtualRouter'
|
|
||||||
},
|
|
||||||
"serviceCapabilityList": {
|
|
||||||
"SourceNat": {
|
|
||||||
"RedundantRouter": 'true'
|
|
||||||
}
|
|
||||||
},
|
|
||||||
},
|
|
||||||
"vpc": {
|
|
||||||
"name": "TestVPC",
|
|
||||||
"displaytext": "TestVPC",
|
|
||||||
"cidr": '10.254.0.0/16'
|
|
||||||
},
|
|
||||||
"vpc1": {
|
|
||||||
"name": "TestVPC",
|
|
||||||
"displaytext": "VPC1",
|
|
||||||
"cidr": '10.254.0.0/16'
|
|
||||||
},
|
|
||||||
"vpc2": {
|
|
||||||
"name": "TestVPC",
|
|
||||||
"displaytext": "VPC2",
|
|
||||||
"cidr": '10.253.0.0/16'
|
|
||||||
},
|
|
||||||
"network_1": {
|
|
||||||
"name": "Test Network",
|
|
||||||
"displaytext": "Test Network",
|
|
||||||
"netmask": '255.255.255.0',
|
|
||||||
"gateway": "10.254.1.1"
|
|
||||||
},
|
|
||||||
"network_2": {
|
|
||||||
"name": "Test Network",
|
|
||||||
"displaytext": "Test Network",
|
|
||||||
"netmask": '255.255.255.0',
|
|
||||||
"gateway": "10.253.1.1"
|
|
||||||
},
|
|
||||||
"vpn": {
|
|
||||||
"vpn_user": "root",
|
|
||||||
"vpn_pass": "Md1sdc",
|
|
||||||
"vpn_pass_fail": "abc!123", # too short
|
|
||||||
"iprange": "10.253.2.1-10.253.2.10",
|
|
||||||
"fordisplay": "true"
|
|
||||||
},
|
|
||||||
"vpncustomergateway": {
|
|
||||||
"esppolicy": "3des-md5;modp1536",
|
|
||||||
"ikepolicy": "3des-md5;modp1536",
|
|
||||||
"ipsecpsk": "ipsecpsk"
|
|
||||||
},
|
|
||||||
"natrule": {
|
|
||||||
"protocol": "TCP",
|
|
||||||
"cidrlist": '0.0.0.0/0',
|
|
||||||
},
|
|
||||||
"http_rule": {
|
|
||||||
"privateport": 80,
|
|
||||||
"publicport": 80,
|
|
||||||
"startport": 80,
|
|
||||||
"endport": 80,
|
|
||||||
"cidrlist": '0.0.0.0/0',
|
|
||||||
"protocol": "TCP"
|
|
||||||
},
|
|
||||||
"virtual_machine": {
|
|
||||||
"displayname": "Test VM",
|
|
||||||
"username": "root",
|
|
||||||
"password": "password",
|
|
||||||
"ssh_port": 22,
|
|
||||||
"privateport": 22,
|
|
||||||
"publicport": 22,
|
|
||||||
"protocol": 'TCP',
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"browser_upload_template": {
|
"browser_upload_template": {
|
||||||
"VHD": {
|
"VHD": {
|
||||||
"templatename": "XenUploadtemplate",
|
"templatename": "XenUploadtemplate",
|
||||||
@ -2115,6 +1952,8 @@ test_data = {
|
|||||||
"ostypeid":"2e02e376-cdf3-11e4-beb3-8aa6272b57ef"
|
"ostypeid":"2e02e376-cdf3-11e4-beb3-8aa6272b57ef"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"configurableData":
|
||||||
|
{
|
||||||
"portableIpRange": {
|
"portableIpRange": {
|
||||||
"gateway": "10.223.59.1",
|
"gateway": "10.223.59.1",
|
||||||
"netmask": "255.255.255.0",
|
"netmask": "255.255.255.0",
|
||||||
@ -2188,7 +2027,8 @@ test_data = {
|
|||||||
"url": "http://download.cloudstack.org/releases/2.0.0/UbuntuServer-10-04-64bit.vhd.bz2",
|
"url": "http://download.cloudstack.org/releases/2.0.0/UbuntuServer-10-04-64bit.vhd.bz2",
|
||||||
"checksum": ""
|
"checksum": ""
|
||||||
},
|
},
|
||||||
"bootableIso": {
|
"bootableIso":
|
||||||
|
{
|
||||||
"displaytext": "Test Bootable ISO",
|
"displaytext": "Test Bootable ISO",
|
||||||
"name": "testISO",
|
"name": "testISO",
|
||||||
"bootable": True,
|
"bootable": True,
|
||||||
@ -2228,6 +2068,156 @@ test_data = {
|
|||||||
"mode": "HTTP_DOWNLOAD"
|
"mode": "HTTP_DOWNLOAD"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"vpc_vpn": {
|
||||||
|
"account": {
|
||||||
|
"email": "test@test.com",
|
||||||
|
"firstname": "Test",
|
||||||
|
"lastname": "User",
|
||||||
|
"username": "test",
|
||||||
|
"password": "password"
|
||||||
|
},
|
||||||
|
"host1": None,
|
||||||
|
"host2": None,
|
||||||
|
"compute_offering": {
|
||||||
|
"name": "Tiny Instance",
|
||||||
|
"displaytext": "Tiny Instance",
|
||||||
|
"cpunumber": 1,
|
||||||
|
"cpuspeed": 100,
|
||||||
|
"memory": 128
|
||||||
|
},
|
||||||
|
"network_offering": {
|
||||||
|
"name": "VPC Network offering",
|
||||||
|
"displaytext": "VPC Network",
|
||||||
|
"guestiptype": "Isolated",
|
||||||
|
"supportedservices": "Vpn,Dhcp,Dns,SourceNat,Lb,PortForwarding,UserData,StaticNat,NetworkACL",
|
||||||
|
"traffictype": "GUEST",
|
||||||
|
"availability": "Optional",
|
||||||
|
"useVpc": "on",
|
||||||
|
"serviceProviderList": {
|
||||||
|
"Vpn": "VpcVirtualRouter",
|
||||||
|
"Dhcp": "VpcVirtualRouter",
|
||||||
|
"Dns": "VpcVirtualRouter",
|
||||||
|
"SourceNat": "VpcVirtualRouter",
|
||||||
|
"Lb": "VpcVirtualRouter",
|
||||||
|
"PortForwarding": "VpcVirtualRouter",
|
||||||
|
"UserData": "VpcVirtualRouter",
|
||||||
|
"StaticNat": "VpcVirtualRouter",
|
||||||
|
"NetworkACL": "VpcVirtualRouter"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"network_offering_internal_lb": {
|
||||||
|
"name": "VPC Network Internal Lb offering",
|
||||||
|
"displaytext": "VPC Network internal lb",
|
||||||
|
"guestiptype": "Isolated",
|
||||||
|
"supportedservices": "Dhcp,Dns,SourceNat,PortForwarding,UserData,StaticNat,NetworkACL,Lb",
|
||||||
|
"traffictype": "GUEST",
|
||||||
|
"availability": "Optional",
|
||||||
|
"useVpc": "on",
|
||||||
|
"serviceCapabilityList": {
|
||||||
|
"Lb": {
|
||||||
|
"SupportedLbIsolation": "dedicated",
|
||||||
|
"lbSchemes": "internal"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"serviceProviderList": {
|
||||||
|
"Dhcp": "VpcVirtualRouter",
|
||||||
|
"Dns": "VpcVirtualRouter",
|
||||||
|
"SourceNat": "VpcVirtualRouter",
|
||||||
|
"PortForwarding": "VpcVirtualRouter",
|
||||||
|
"UserData": "VpcVirtualRouter",
|
||||||
|
"StaticNat": "VpcVirtualRouter",
|
||||||
|
"NetworkACL": "VpcVirtualRouter",
|
||||||
|
"Lb": "InternalLbVm"
|
||||||
|
},
|
||||||
|
"egress_policy": "true"
|
||||||
|
},
|
||||||
|
"vpc_offering": {
|
||||||
|
"name": "VPC off",
|
||||||
|
"displaytext": "VPC off",
|
||||||
|
"supportedservices": "Dhcp,Dns,SourceNat,PortForwarding,Vpn,Lb,UserData,StaticNat"
|
||||||
|
},
|
||||||
|
"redundant_vpc_offering": {
|
||||||
|
"name": "Redundant VPC off",
|
||||||
|
"displaytext": "Redundant VPC off",
|
||||||
|
"supportedservices": "Dhcp,Dns,SourceNat,PortForwarding,Vpn,Lb,UserData,StaticNat",
|
||||||
|
"serviceProviderList": {
|
||||||
|
"Vpn": "VpcVirtualRouter",
|
||||||
|
"Dhcp": "VpcVirtualRouter",
|
||||||
|
"Dns": "VpcVirtualRouter",
|
||||||
|
"SourceNat": "VpcVirtualRouter",
|
||||||
|
"PortForwarding": "VpcVirtualRouter",
|
||||||
|
"Lb": "VpcVirtualRouter",
|
||||||
|
"UserData": "VpcVirtualRouter",
|
||||||
|
"StaticNat": "VpcVirtualRouter",
|
||||||
|
"NetworkACL": "VpcVirtualRouter"
|
||||||
|
},
|
||||||
|
"serviceCapabilityList": {
|
||||||
|
"SourceNat": {
|
||||||
|
"RedundantRouter": "true"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"vpc": {
|
||||||
|
"name": "TestVPC",
|
||||||
|
"displaytext": "TestVPC",
|
||||||
|
"cidr": "10.254.0.0/16"
|
||||||
|
},
|
||||||
|
"vpc1": {
|
||||||
|
"name": "TestVPC",
|
||||||
|
"displaytext": "VPC1",
|
||||||
|
"cidr": "10.254.0.0/16"
|
||||||
|
},
|
||||||
|
"vpc2": {
|
||||||
|
"name": "TestVPC",
|
||||||
|
"displaytext": "VPC2",
|
||||||
|
"cidr": "10.253.0.0/16"
|
||||||
|
},
|
||||||
|
"network_1": {
|
||||||
|
"name": "Test Network",
|
||||||
|
"displaytext": "Test Network",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"gateway": "10.254.1.1"
|
||||||
|
},
|
||||||
|
"network_2": {
|
||||||
|
"name": "Test Network",
|
||||||
|
"displaytext": "Test Network",
|
||||||
|
"netmask": "255.255.255.0",
|
||||||
|
"gateway": "10.253.1.1"
|
||||||
|
},
|
||||||
|
"vpn": {
|
||||||
|
"vpn_user": "root",
|
||||||
|
"vpn_pass": "Md1sdc",
|
||||||
|
"vpn_pass_fail": "abc!123", # too short
|
||||||
|
"iprange": "10.253.2.1-10.253.2.10",
|
||||||
|
"fordisplay": "true"
|
||||||
|
},
|
||||||
|
"vpncustomergateway": {
|
||||||
|
"esppolicy": "3des-md5;modp1536",
|
||||||
|
"ikepolicy": "3des-md5;modp1536",
|
||||||
|
"ipsecpsk": "ipsecpsk"
|
||||||
|
},
|
||||||
|
"natrule": {
|
||||||
|
"protocol": "TCP",
|
||||||
|
"cidrlist": "0.0.0.0/0"
|
||||||
|
},
|
||||||
|
"http_rule": {
|
||||||
|
"privateport": 80,
|
||||||
|
"publicport": 80,
|
||||||
|
"startport": 80,
|
||||||
|
"endport": 80,
|
||||||
|
"cidrlist": "0.0.0.0/0",
|
||||||
|
"protocol": "TCP"
|
||||||
|
},
|
||||||
|
"virtual_machine": {
|
||||||
|
"displayname": "Test VM",
|
||||||
|
"username": "root",
|
||||||
|
"password": "password",
|
||||||
|
"ssh_port": 22,
|
||||||
|
"privateport": 22,
|
||||||
|
"publicport": 22,
|
||||||
|
"protocol": "TCP"
|
||||||
|
}
|
||||||
|
},
|
||||||
"cks_kubernetes_versions": {
|
"cks_kubernetes_versions": {
|
||||||
"1.15.0": {
|
"1.15.0": {
|
||||||
"semanticversion": "1.15.0",
|
"semanticversion": "1.15.0",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user