diff options
author | Ittay Stern <ittay.stern@att.com> | 2019-05-21 19:38:54 +0300 |
---|---|---|
committer | Ittay Stern <ittay.stern@att.com> | 2019-06-03 10:50:41 +0300 |
commit | 2bc8ebda0282cf3a3941815eb2b29dc08d8772f9 (patch) | |
tree | 0833aa9246d36be433750984740cf8ebdc76b95a /vid-app-common/src/test/resources | |
parent | e0c59bc9b16bb69f0f0a47268742c9f030aa3aa6 (diff) |
Support service models with policy
Upgrade sdc-tosca to 1.5.1
Issue-ID: VID-481
Cherry-picked from change: I75f0df4cae73257fc6aa58b9f5f627901c2c61c5
Signed-off-by: Ittay Stern <ittay.stern@att.com>
Change-Id: I13d61050e819c1f65bf855f314e84406d35f1a9c
Diffstat (limited to 'vid-app-common/src/test/resources')
-rw-r--r-- | vid-app-common/src/test/resources/vLoadBalancerMS-with-policy.TOSCA.json | 251 |
1 files changed, 251 insertions, 0 deletions
diff --git a/vid-app-common/src/test/resources/vLoadBalancerMS-with-policy.TOSCA.json b/vid-app-common/src/test/resources/vLoadBalancerMS-with-policy.TOSCA.json new file mode 100644 index 000000000..65caeee2d --- /dev/null +++ b/vid-app-common/src/test/resources/vLoadBalancerMS-with-policy.TOSCA.json @@ -0,0 +1,251 @@ +{ + "service": { + "uuid": "3f6bd9e9-0942-49d3-84e8-6cdccd6de339", + "invariantUuid": "5461e83e-0b2a-465d-ab45-9d731894afd9", + "name": "vLoadBalancerMS", + "version": "1.0", + "toscaModelURL": null, + "category": "Network L4+", + "serviceType": "", + "serviceRole": "", + "description": "vLBMS", + "serviceEcompNaming": "true", + "instantiationType": "A-La-Carte", + "inputs": {} + }, + "vnfs": { + "vLoadBalancerMS 0": { + "uuid": "7759af67-ba6c-4089-bdb6-85c4e365e8d5", + "invariantUuid": "9cc2e84b-1d3f-4c1c-90a8-765eb6ddb5fe", + "description": "vLBMS", + "name": "vLoadBalancerMS", + "version": "1.0", + "customizationUuid": "595eb007-1473-46c2-8d6d-c5294335ef0e", + "inputs": {}, + "commands": {}, + "properties": { + "vlb_int_pktgen_private_ip_0": "192.168.9.111", + "vlb_private_net_cidr": "192.168.10.0/24", + "vlb_private_net_id": "zdfw1lb01_private", + "vdns_onap_private_ip_0": "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VDNS", + "vdns_image_name": "PUT THE IMAGE NAME HERE (UBUNTU 1604)", + "public_net_id": "PUT THE NETWORK ID HERE", + "sec_group": "PUT THE ONAP SECURITY GROUP HERE", + "nf_type": "LOADBALANCER", + "onap_private_net_cidr": "PUT THE ONAP NETWORK CIDR HERE", + "nexus_artifact_repo": "https://nexus.onap.org", + "vpg_onap_private_ip_0": "ASSIGN A PRIVATE ADDRESS IN THE ONAP NETWORK SPACE TO THE VPKTGEN", + "vlb_0_mac_address": "00:00:00:00:00", + "vdns_int_private_ip_0": "192.168.10.212", + "vdns_name_0": "zdfw1lb01dns01", + "dcae_collector_ip": "10.0.4.1", + "vpg_name_0": "zdfw1lb01pg01", + "vip": "192.168.9.112", + "int_private_net_id": "vLBMS_zdfw1lb01_private", + "nf_naming": "{ecomp_generated_naming=true}", + "vpg_0_mac_address": "00:00:00:00:00", + "multi_stage_design": "false", + "nf_naming_code": "ONAP-LOADBALANCER", + "onap_private_net_id": "PUT THE ONAP PRIVATE NETWORK NAME HERE", + "sdnc_artifact_name": "LOADBALANCER", + "demo_artifacts_version": "1.4.0-SNAPSHOT", + "vlb_int_private_ip_0": "192.168.10.111", + "key_name": "vlb_key", + "int_private_subnet_id": "vLBMS_zdfw1lb01_private_subnet", + "vlb_name_0": "zdfw1lb01lb01", + "sdnc_model_version": "1.0.0", + "vpg_0_int_pktgen_private_port_0_mac": "fa:16:3e:00:20", + "install_script_version": "1.4.0-SNAPSHOT", + "int_pktgen_private_net_id": "vLBMS_zdfw1pktgen01_private", + "vf_module_id": "vLoadBalancer", + "skip_post_instantiation_configuration": "true", + "nf_function": "vlb", + "vnf_name": "vLBMS", + "keypair": "vlb_key", + "ecomp_generated_naming": "true", + "onap_private_subnet_id": "PUT THE ONAP PRIVATE NETWORK NAME HERE", + "gre_ipaddr": "192.168.10.112", + "pg_int": "192.168.9.109", + "vnf_id": "vLoadBalancer_demo_app", + "vpg_flavor_name": "PUT THE FLAVOR NAME HERE (m1.medium suggested)", + "dcae_collector_port": "30235", + "vlb_flavor_name": "PUT THE FLAVOR NAME HERE (m1.medium suggested)", + "pktgen_private_net_cidr": "192.168.9.0/24", + "vpg_image_name": "PUT THE IMAGE NAME HERE (UBUNTU 1604)", + "vdns_flavor_name": "PUT THE FLAVOR NAME HERE (m1.medium suggested)", + "availability_zone_max_count": "1", + "nb_api_version": "1.2.0", + "vpg_int_pktgen_private_ip_0": "192.168.9.110", + "pub_key": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN", + "int_pktgen_private_subnet_id": "vLBMS_zdfw1pktgen01_private_subnet", + "pktgen_private_net_id": "zdfw1pktgen01_private", + "nf_role": "vLB", + "vlb_onap_private_ip_0": "PUT THE PRIVATE ADDRESS OF THE VLB IN THE ONAP NETWORK SPACE HERE", + "sdnc_model_name": "vLB", + "cloud_env": "PUT openstack OR rackspace HERE", + "vlb_image_name": "PUT THE IMAGE NAME HERE (UBUNTU 1604)", + "vlb_0_int_pktgen_private_port_0_mac": "fa:16:3e:00:10" + }, + "type": "VF", + "modelCustomizationName": "vLoadBalancerMS 0", + "vfModules": { + "vloadbalancerms0..Vloadbalancerms..vpkg..module-1": { + "uuid": "72d56b5c-932c-48d7-9b74-b0f6c30d221b", + "invariantUuid": "af73061a-f54c-42e6-bfa3-fabaafbbbcab", + "customizationUuid": "be7b0c7a-891a-4d1d-956a-2a13476c05b4", + "description": null, + "name": "Vloadbalancerms..vpkg..module-1", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..vpkg..module-1", + "properties": { + "minCountInstances": 0, + "maxCountInstances": null, + "initialCount": 0, + "vfModuleLabel": "vpkg", + "baseModule": false + }, + "inputs": {}, + "volumeGroupAllowed": false + }, + "vloadbalancerms0..Vloadbalancerms..base_template..module-0": { + "uuid": "cb220ca2-0a2a-4150-a2fb-62a0d0c6ffb7", + "invariantUuid": "793811b5-bc70-4550-8924-357a4d61c7b1", + "customizationUuid": "ae9ee878-fcbd-4e37-9c2e-c2b49de06e2b", + "description": null, + "name": "Vloadbalancerms..base_template..module-0", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..base_template..module-0", + "properties": { + "minCountInstances": 1, + "maxCountInstances": 1, + "initialCount": 1, + "vfModuleLabel": "base_template", + "baseModule": true + }, + "inputs": {}, + "volumeGroupAllowed": false + }, + "vloadbalancerms0..Vloadbalancerms..vdns..module-3": { + "uuid": "486bf5bf-6eff-430d-987e-f074747329f3", + "invariantUuid": "0b2fbfc6-157a-4b97-933d-a3ed9eff6402", + "customizationUuid": "468f3002-26cd-44a3-96ed-e45e8fc5a0c5", + "description": null, + "name": "Vloadbalancerms..vdns..module-3", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..vdns..module-3", + "properties": { + "minCountInstances": 0, + "maxCountInstances": null, + "initialCount": 0, + "vfModuleLabel": "vdns", + "baseModule": false + }, + "inputs": {}, + "volumeGroupAllowed": false + }, + "vloadbalancerms0..Vloadbalancerms..vlb..module-2": { + "uuid": "0a115dbb-f92d-4a66-b867-9e725e45f104", + "invariantUuid": "ddc25d0c-d4e9-4ff5-ba3b-59fb8c0c3d76", + "customizationUuid": "c580f9c9-1455-4c5f-84c0-776776f2e9ca", + "description": null, + "name": "Vloadbalancerms..vlb..module-2", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..vlb..module-2", + "properties": { + "minCountInstances": 0, + "maxCountInstances": null, + "initialCount": 0, + "vfModuleLabel": "vlb", + "baseModule": false + }, + "inputs": {}, + "volumeGroupAllowed": false + } + }, + "volumeGroups": {}, + "vfcInstanceGroups": {} + } + }, + "networks": {}, + "collectionResource": {}, + "configurations": {}, + "fabricConfigurations": {}, + "serviceProxies": {}, + "vfModules": { + "vloadbalancerms0..Vloadbalancerms..vpkg..module-1": { + "uuid": "72d56b5c-932c-48d7-9b74-b0f6c30d221b", + "invariantUuid": "af73061a-f54c-42e6-bfa3-fabaafbbbcab", + "customizationUuid": "be7b0c7a-891a-4d1d-956a-2a13476c05b4", + "description": null, + "name": "Vloadbalancerms..vpkg..module-1", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..vpkg..module-1", + "properties": { + "minCountInstances": 0, + "maxCountInstances": null, + "initialCount": 0, + "vfModuleLabel": "vpkg", + "baseModule": false + }, + "inputs": {}, + "volumeGroupAllowed": false + }, + "vloadbalancerms0..Vloadbalancerms..vdns..module-3": { + "uuid": "486bf5bf-6eff-430d-987e-f074747329f3", + "invariantUuid": "0b2fbfc6-157a-4b97-933d-a3ed9eff6402", + "customizationUuid": "468f3002-26cd-44a3-96ed-e45e8fc5a0c5", + "description": null, + "name": "Vloadbalancerms..vdns..module-3", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..vdns..module-3", + "properties": { + "minCountInstances": 0, + "maxCountInstances": null, + "initialCount": 0, + "vfModuleLabel": "vdns", + "baseModule": false + }, + "inputs": {}, + "volumeGroupAllowed": false + }, + "vloadbalancerms0..Vloadbalancerms..base_template..module-0": { + "uuid": "cb220ca2-0a2a-4150-a2fb-62a0d0c6ffb7", + "invariantUuid": "793811b5-bc70-4550-8924-357a4d61c7b1", + "customizationUuid": "ae9ee878-fcbd-4e37-9c2e-c2b49de06e2b", + "description": null, + "name": "Vloadbalancerms..base_template..module-0", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..base_template..module-0", + "properties": { + "minCountInstances": 1, + "maxCountInstances": 1, + "initialCount": 1, + "vfModuleLabel": "base_template", + "baseModule": true + }, + "inputs": {}, + "volumeGroupAllowed": false + }, + "vloadbalancerms0..Vloadbalancerms..vlb..module-2": { + "uuid": "0a115dbb-f92d-4a66-b867-9e725e45f104", + "invariantUuid": "ddc25d0c-d4e9-4ff5-ba3b-59fb8c0c3d76", + "customizationUuid": "c580f9c9-1455-4c5f-84c0-776776f2e9ca", + "description": null, + "name": "Vloadbalancerms..vlb..module-2", + "version": "1", + "modelCustomizationName": "Vloadbalancerms..vlb..module-2", + "properties": { + "minCountInstances": 0, + "maxCountInstances": null, + "initialCount": 0, + "vfModuleLabel": "vlb", + "baseModule": false + }, + "inputs": {}, + "volumeGroupAllowed": false + } + }, + "volumeGroups": {}, + "pnfs": {}, + "vnfGroups": {} +}
\ No newline at end of file |