"vimConnectionId": "vimConnection_1",
"resourceProviderId": "resourceProvider_1",
"resourceId": "resource_1",
+ "resourceSubnetId": "resourceSubnet_1",
"extCps": [
{
"cpdId": "cpd_1",
],
"localizationLanguage": "en_US",
"additionalParams": {
- # "inputs": {
+ "vimId": "vim_1",
"key1": "test1",
- "key2": "test2"
- # }
+ "key2": "test2",
}
}
"tenants": [
{
"id": "1",
- "name": "tenantname_1"
+ "name": "chinamobile"
}
]
}
}
vnfdModel = {
- "volume_storages": [],
+ "volume_storages": [
+ {
+ "volume_storage_id": "test",
+ "properties": {
+ "location_info": {
+ "vimid": "vim_1",
+ "tenant": "chinamobile",
+ "availability_zone": "test",
+ },
+ "volume_name": "test",
+ "custom_volume_type": "test",
+ "size": "10 GB",
+ },
+ "image_file": "test",
+ },
+ ],
+ "vdus": [
+ ],
+ "image_files": [],
+ "routers": [],
+ "local_storages": [],
+ "vnf_exposed": {
+ "external_cps": [],
+ "forward_cps": []
+ },
+ "vls": [
+ {
+ "vl_id": "test",
+ "properties": {
+ "location_info": {
+ "vimid": "test",
+ "tenant": "chinamobile",
+ },
+ "vl_profile": {
+ "networkName": "test",
+ "networkType": "test",
+ "physicalNetwork": "test",
+ "vlanTransparent": "test",
+ "segmentationId": "1",
+ "cidr": "test",
+ "dhcpEnabled": "test",
+ "gatewayIp": "test",
+ "startIp": "test",
+ "endIp": "test",
+ },
+ "connectivity_type": {
+ "layer_protocol": "ipv4",
+ },
+ "dns_nameservers": "test",
+ "host_routes": "test",
+ },
+ "route_external": "test",
+ }
+ ],
+ "cps": [], # TODO
"inputs": {
"pe1_id": {
"type": "string",
"description": "Nameofunderlayervpn"
}
},
- "vdus": [],
- "image_files": [],
- "routers": [],
- "local_storages": [],
- "vnf_exposed": {
- "external_cps": [],
- "forward_cps": []
- },
- "vls": [],
- "cps": [],
"metadata": {
"designer": "sdno",
"name": "underlayervpn",