----------------------------
ID: 15
Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/0287015c-4282-4597-aa53-a10d2ee841d2/vf-modules
Encoding: UTF-8
Http-Method: POST
Content-Type: application/xml
Headers: {Accept=[application/json], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], cache-control=[no-cache], connection=[keep-alive], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], pragma=[no-cache], transfer-encoding=[chunked], user-agent=[Apache-CXF/3.2.6], x-onap-invocationid=[c252bee3-7874-4b78-b3f2-fa2bba103d98,c274272b-03f3-4f1c-a68d-7d70885fc8c9], x-onap-partnername=[SO-VNFAdapter,SO], x-onap-requestid=[80d2c2bd-4e18-457e-82d4-ff6658182266,029c3203-aaa6-49e5-984d-4a2c1b957052]}
Payload:
311b6e6f-1fde-477e-ba33-520d4bc2e299
http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/311b6e6f-1fde-477e-ba33-520d4bc2e299
true
RegionOne
CloudOwner
c673af272d074170881559797f46b89d
0287015c-4282-4597-aa53-a10d2ee841d2
CDS-SERVICE-6/null
2.0
1a19ca72-37a3-457c-80b1-6b6bb0fee5f8
RegionOne_ONAP-NF_20191001T115814060Z_base_template_Base_001
CdsVnfTest6..base_template..module-0
1a19ca72-37a3-457c-80b1-6b6bb0fee5f8
b76718d1-0692-46be-bfc8-7142e4d527d9
true
true
vlb_int_pktgen_private_ip_0
192.168.9.12
vf_module_id
1a19ca72-37a3-457c-80b1-6b6bb0fee5f8
vnf_model_customization_uuid
25f82483-4a08-40ff-8074-89e0d7ce3aac
vlb_private_net_cidr
192.168.70.0/24
aai-vnf-put
SUCCESS
vlb_private_net_id
private1
public_net_id
e2a435e9-c5ce-4f6a-92cc-4209fe8ea624
vnf_name
RegionOne_ONAP-NF_20191001T115814060Z
onap_private_subnet_id
644f42e9-4267-4d34-a3a6-7483c62a39a6
aic-cloud-region
RegionOne
sec_group
3b2785ba-2846-4579-a738-20ae2616a7d3
vf-module-model-customization-uuid
${vf-module-model-customization-uuid}
user_directives
{}
workload_context
Production
vf_module_name
RegionOne_ONAP-NF_20191001T115814060Z_base_template_Base_001
onap_private_net_cidr
10.0.0.0/24
vpg_onap_private_ip_0
10.0.0.57
image_name
3981106c-bf27-4c1e-bd4c-28f3e0e4cb63
flavor_name
m1.medium
vnf_id
0287015c-4282-4597-aa53-a10d2ee841d2
vf-naming-policy
SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP
int_private_net_id
RegionOne_ONAP-NF_20191001T115814060Z_private1
vfccustomizationuuid
${vfccustomizationuuid}
pktgen_private_net_cidr
192.168.9.0/24
onap_private_net_id
aa90abe0-6cd1-4636-8898-ae42c538ef7d
service-instance-id
9b5d2114-424b-48f7-be51-c6f5e655d485
demo_artifacts_version
1.5.0-SNAPSHOT
aai-vf-module-put
SUCCESS
environment_context
General_Revenue-Bearing
vpg_int_pktgen_private_ip_0
192.168.9.13
vlb_int_private_ip_0
192.168.70.10
pub_key
ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n
vnf-model-customization-uuid
25f82483-4a08-40ff-8074-89e0d7ce3aac
sdnc_directives
{ "attributes": [ {"attribute_name": "vlb_int_pktgen_private_ip_0", "attribute_value": "192.168.9.12"}, {"attribute_name": "vnf_model_customization_uuid", "attribute_value": "25f82483-4a08-40ff-8074-89e0d7ce3aac"}, {"attribute_name": "vlb_private_net_cidr", "attribute_value": "192.168.70.0/24"}, {"attribute_name": "aai-vnf-put", "attribute_value": "SUCCESS"}, {"attribute_name": "vlb_private_net_id", "attribute_value": "private1"}, {"attribute_name": "public_net_id", "attribute_value": "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"}, {"attribute_name": "onap_private_subnet_id", "attribute_value": "644f42e9-4267-4d34-a3a6-7483c62a39a6"}, {"attribute_name": "aic-cloud-region", "attribute_value": "RegionOne"}, {"attribute_name": "sec_group", "attribute_value": "3b2785ba-2846-4579-a738-20ae2616a7d3"}, {"attribute_name": "vf-module-model-customization-uuid", "attribute_value": "${vf-module-model-customization-uuid}"}, {"attribute_name": "onap_private_net_cidr", "attribute_value": "10.0.0.0/24"}, {"attribute_name": "vpg_onap_private_ip_0", "attribute_value": "10.0.0.57"}, {"attribute_name": "image_name", "attribute_value": "3981106c-bf27-4c1e-bd4c-28f3e0e4cb63"}, {"attribute_name": "flavor_name", "attribute_value": "m1.medium"}, {"attribute_name": "vf-naming-policy", "attribute_value": "SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP"}, {"attribute_name": "int_private_net_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private1"}, {"attribute_name": "vfccustomizationuuid", "attribute_value": "${vfccustomizationuuid}"}, {"attribute_name": "pktgen_private_net_cidr", "attribute_value": "192.168.9.0/24"}, {"attribute_name": "onap_private_net_id", "attribute_value": "aa90abe0-6cd1-4636-8898-ae42c538ef7d"}, {"attribute_name": "service-instance-id", "attribute_value": "9b5d2114-424b-48f7-be51-c6f5e655d485"}, {"attribute_name": "demo_artifacts_version", "attribute_value": "1.5.0-SNAPSHOT"}, {"attribute_name": "aai-vf-module-put", "attribute_value": "SUCCESS"}, {"attribute_name": "vpg_int_pktgen_private_ip_0", "attribute_value": "192.168.9.13"}, {"attribute_name": "vlb_int_private_ip_0", "attribute_value": "192.168.70.10"}, {"attribute_name": "pub_key", "attribute_value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"}, {"attribute_name": "vnf-model-customization-uuid", "attribute_value": "25f82483-4a08-40ff-8074-89e0d7ce3aac"}, {"attribute_name": "int_private_subnet_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private1_subnet"}, {"attribute_name": "key_name", "attribute_value": "olc-key"}, {"attribute_name": "int_pktgen_private_subnet_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private2_subnet"}, {"attribute_name": "vpg_0_int_pktgen_private_port_0_mac", "attribute_value": "fa:16:3e:00:00:20"}, {"attribute_name": "pktgen_private_net_id", "attribute_value": "private2"}, {"attribute_name": "install_script_version", "attribute_value": "1.5.0-SNAPSHOT"}, {"attribute_name": "int_pktgen_private_net_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private2"}, {"attribute_name": "vf_module_type", "attribute_value": "Base"}, {"attribute_name": "vlb_onap_private_ip_0", "attribute_value": "10.0.0.58"}, {"attribute_name": "cloud_env", "attribute_value": "openstack"}, {"attribute_name": "vlb_0_int_pktgen_private_port_0_mac", "attribute_value": "fa:16:3e:00:00:10"}] }
int_private_subnet_id
RegionOne_ONAP-NF_20191001T115814060Z_private1_subnet
key_name
olc-key
int_pktgen_private_subnet_id
RegionOne_ONAP-NF_20191001T115814060Z_private2_subnet
vpg_0_int_pktgen_private_port_0_mac
fa:16:3e:00:00:20
pktgen_private_net_id
private2
install_script_version
1.5.0-SNAPSHOT
int_pktgen_private_net_id
RegionOne_ONAP-NF_20191001T115814060Z_private2
vf_module_type
Base
vlb_onap_private_ip_0
10.0.0.58
cloud_env
openstack
vlb_0_int_pktgen_private_port_0_mac
fa:16:3e:00:00:10
vf_module_index
0
80d2c2bd-4e18-457e-82d4-ff6658182266
9b5d2114-424b-48f7-be51-c6f5e655d485
--------------------------------------
2019-10-01T11:59:07.975Z|| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"311b6e6f-1fde-477e-ba33-520d4bc2e299","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/311b6e6f-1fde-477e-ba33-520d4bc2e299","cloudSiteId":"RegionOne","cloudOwner":"CloudOwner","tenantId":"c673af272d074170881559797f46b89d","vnfId":"0287015c-4282-4597-aa53-a10d2ee841d2","vnfType":"CDS-SERVICE-6/null","vnfVersion":"2.0","vfModuleId":"1a19ca72-37a3-457c-80b1-6b6bb0fee5f8","vfModuleName":"RegionOne_ONAP-NF_20191001T115814060Z_base_template_Base_001","vfModuleType":"CdsVnfTest6..base_template..module-0","volumeGroupId":null,"volumeGroupStackId":null,"baseVfModuleId":"1a19ca72-37a3-457c-80b1-6b6bb0fee5f8","baseVfModuleStackId":null,"modelCustomizationUuid":"b76718d1-0692-46be-bfc8-7142e4d527d9","requestType":null,"failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vlb_int_pktgen_private_ip_0":"192.168.9.12","vf_module_id":"1a19ca72-37a3-457c-80b1-6b6bb0fee5f8","vnf_model_customization_uuid":"25f82483-4a08-40ff-8074-89e0d7ce3aac","vlb_private_net_cidr":"192.168.70.0/24","aai-vnf-put":"SUCCESS","vlb_private_net_id":"private1","public_net_id":"e2a435e9-c5ce-4f6a-92cc-4209fe8ea624","vnf_name":"RegionOne_ONAP-NF_20191001T115814060Z","onap_private_subnet_id":"644f42e9-4267-4d34-a3a6-7483c62a39a6","aic-cloud-region":"RegionOne","sec_group":"3b2785ba-2846-4579-a738-20ae2616a7d3","vf-module-model-customization-uuid":"${vf-module-model-customization-uuid}","user_directives":"{}","workload_context":"Production","vf_module_name":"RegionOne_ONAP-NF_20191001T115814060Z_base_template_Base_001","onap_private_net_cidr":"10.0.0.0/24","vpg_onap_private_ip_0":"10.0.0.57","image_name":"3981106c-bf27-4c1e-bd4c-28f3e0e4cb63","flavor_name":"m1.medium","vnf_id":"0287015c-4282-4597-aa53-a10d2ee841d2","vf-naming-policy":"SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP","int_private_net_id":"RegionOne_ONAP-NF_20191001T115814060Z_private1","vfccustomizationuuid":"${vfccustomizationuuid}","pktgen_private_net_cidr":"192.168.9.0/24","onap_private_net_id":"aa90abe0-6cd1-4636-8898-ae42c538ef7d","service-instance-id":"9b5d2114-424b-48f7-be51-c6f5e655d485","demo_artifacts_version":"1.5.0-SNAPSHOT","aai-vf-module-put":"SUCCESS","environment_context":"General_Revenue-Bearing","vpg_int_pktgen_private_ip_0":"192.168.9.13","vlb_int_private_ip_0":"192.168.70.10","pub_key":"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n","vnf-model-customization-uuid":"25f82483-4a08-40ff-8074-89e0d7ce3aac","sdnc_directives":"{ \"attributes\": [ {\"attribute_name\": \"vlb_int_pktgen_private_ip_0\", \"attribute_value\": \"192.168.9.12\"}, {\"attribute_name\": \"vnf_model_customization_uuid\", \"attribute_value\": \"25f82483-4a08-40ff-8074-89e0d7ce3aac\"}, {\"attribute_name\": \"vlb_private_net_cidr\", \"attribute_value\": \"192.168.70.0/24\"}, {\"attribute_name\": \"aai-vnf-put\", \"attribute_value\": \"SUCCESS\"}, {\"attribute_name\": \"vlb_private_net_id\", \"attribute_value\": \"private1\"}, {\"attribute_name\": \"public_net_id\", \"attribute_value\": \"e2a435e9-c5ce-4f6a-92cc-4209fe8ea624\"}, {\"attribute_name\": \"onap_private_subnet_id\", \"attribute_value\": \"644f42e9-4267-4d34-a3a6-7483c62a39a6\"}, {\"attribute_name\": \"aic-cloud-region\", \"attribute_value\": \"RegionOne\"}, {\"attribute_name\": \"sec_group\", \"attribute_value\": \"3b2785ba-2846-4579-a738-20ae2616a7d3\"}, {\"attribute_name\": \"vf-module-model-customization-uuid\", \"attribute_value\": \"${vf-module-model-customization-uuid}\"}, {\"attribute_name\": \"onap_private_net_cidr\", \"attribute_value\": \"10.0.0.0/24\"}, {\"attribute_name\": \"vpg_onap_private_ip_0\", \"attribute_value\": \"10.0.0.57\"}, {\"attribute_name\": \"image_name\", \"attribute_value\": \"3981106c-bf27-4c1e-bd4c-28f3e0e4cb63\"}, {\"attribute_name\": \"flavor_name\", \"attribute_value\": \"m1.medium\"}, {\"attribute_name\": \"vf-naming-policy\", \"attribute_value\": \"SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP\"}, {\"attribute_name\": \"int_private_net_id\", \"attribute_value\": \"RegionOne_ONAP-NF_20191001T115814060Z_private1\"}, {\"attribute_name\": \"vfccustomizationuuid\", \"attribute_value\": \"${vfccustomizationuuid}\"}, {\"attribute_name\": \"pktgen_private_net_cidr\", \"attribute_value\": \"192.168.9.0/24\"}, {\"attribute_name\": \"onap_private_net_id\", \"attribute_value\": \"aa90abe0-6cd1-4636-8898-ae42c538ef7d\"}, {\"attribute_name\": \"service-instance-id\", \"attribute_value\": \"9b5d2114-424b-48f7-be51-c6f5e655d485\"}, {\"attribute_name\": \"demo_artifacts_version\", \"attribute_value\": \"1.5.0-SNAPSHOT\"}, {\"attribute_name\": \"aai-vf-module-put\", \"attribute_value\": \"SUCCESS\"}, {\"attribute_name\": \"vpg_int_pktgen_private_ip_0\", \"attribute_value\": \"192.168.9.13\"}, {\"attribute_name\": \"vlb_int_private_ip_0\", \"attribute_value\": \"192.168.70.10\"}, {\"attribute_name\": \"pub_key\", \"attribute_value\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n\"}, {\"attribute_name\": \"vnf-model-customization-uuid\", \"attribute_value\": \"25f82483-4a08-40ff-8074-89e0d7ce3aac\"}, {\"attribute_name\": \"int_private_subnet_id\", \"attribute_value\": \"RegionOne_ONAP-NF_20191001T115814060Z_private1_subnet\"}, {\"attribute_name\": \"key_name\", \"attribute_value\": \"olc-key\"}, {\"attribute_name\": \"int_pktgen_private_subnet_id\", \"attribute_value\": \"RegionOne_ONAP-NF_20191001T115814060Z_private2_subnet\"}, {\"attribute_name\": \"vpg_0_int_pktgen_private_port_0_mac\", \"attribute_value\": \"fa:16:3e:00:00:20\"}, {\"attribute_name\": \"pktgen_private_net_id\", \"attribute_value\": \"private2\"}, {\"attribute_name\": \"install_script_version\", \"attribute_value\": \"1.5.0-SNAPSHOT\"}, {\"attribute_name\": \"int_pktgen_private_net_id\", \"attribute_value\": \"RegionOne_ONAP-NF_20191001T115814060Z_private2\"}, {\"attribute_name\": \"vf_module_type\", \"attribute_value\": \"Base\"}, {\"attribute_name\": \"vlb_onap_private_ip_0\", \"attribute_value\": \"10.0.0.58\"}, {\"attribute_name\": \"cloud_env\", \"attribute_value\": \"openstack\"}, {\"attribute_name\": \"vlb_0_int_pktgen_private_port_0_mac\", \"attribute_value\": \"fa:16:3e:00:00:10\"}] }","int_private_subnet_id":"RegionOne_ONAP-NF_20191001T115814060Z_private1_subnet","key_name":"olc-key","int_pktgen_private_subnet_id":"RegionOne_ONAP-NF_20191001T115814060Z_private2_subnet","vpg_0_int_pktgen_private_port_0_mac":"fa:16:3e:00:00:20","pktgen_private_net_id":"private2","install_script_version":"1.5.0-SNAPSHOT","int_pktgen_private_net_id":"RegionOne_ONAP-NF_20191001T115814060Z_private2","vf_module_type":"Base","vlb_onap_private_ip_0":"10.0.0.58","cloud_env":"openstack","vlb_0_int_pktgen_private_port_0_mac":"fa:16:3e:00:00:10","vf_module_index":"0"},"msoRequest":{"requestId":"80d2c2bd-4e18-457e-82d4-ff6658182266","serviceInstanceId":"9b5d2114-424b-48f7-be51-c6f5e655d485"},"synchronous":false}}
2019-10-01T11:59:07.976Z|| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask start
2019-10-01T11:59:07.976Z|| org.onap.so.adapters.vnf.VnfAdapterRestV2 - completeVnfVfModuleType=CDS-SERVICE-6/null::CdsVnfTest6..base_template..module-0
2019-10-01T11:59:07.976Z|| org.onap.so.adapters.vnf.VnfAdapterRestV2 - createVfModule exit
2019-10-01T11:59:07.976Z|| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=RegionOne
2019-10-01T11:59:07.976Z|| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@2250c44c]
2019-10-01T11:59:07.976Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-01T11:59:07.977Z|| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: []
2019-10-01T11:59:07.977Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-01T11:59:07.977Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================
2019-10-01T11:59:07.977Z|| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@6adc71f7, org.apache.cxf.interceptor.LoggingOutInterceptor@6887700d]
2019-10-01T11:59:07.977Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne
2019-10-01T11:59:07.977Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET
2019-10-01T11:59:07.977Z|| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@7edeeefb]
2019-10-01T11:59:07.978Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[3cd7895a-7180-48c7-b102-5b68f341c820], X-ONAP-InvocationID=[5d346046-2bb2-454d-93b8-66b1e608e487], X-ONAP-PartnerName=[SO]}
2019-10-01T11:59:07.978Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body:
2019-10-01T11:59:07.978Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================
2019-10-01T11:59:07.978Z|| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message
---------------------------
ID: 15
Response-Code: 202
Content-Type: application/json
Headers: {Date=[Tue, 01 Oct 2019 11:59:07 GMT], Content-Length=[0]}
--------------------------------------
2019-10-01T11:59:07.994Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin==========================================
2019-10-01T11:59:07.995Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200
2019-10-01T11:59:07.995Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text :
2019-10-01T11:59:07.995Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Type=[application/hal+json;charset=UTF-8], Transfer-Encoding=[chunked], Date=[Tue, 01 Oct 2019 11:59:07 GMT]}
2019-10-01T11:59:07.996Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: {
"id" : "RegionOne",
"identityService" : {
"id" : "DEFAULT_KEYSTONE",
"handler" : { },
"hibernateLazyInitializer" : { },
"identityServerTypeAsString" : "KEYSTONE",
"identity_url" : "http://keystone:5000/v2.0",
"mso_id" : "onap-tm5g-01",
"mso_pass" : "0A7EADE37464F2F2CB07B8D6FEB7F9926BFE0E76B86D6DFF726CA240C31CF4EA2D762F05E3E4A3AD4B10B4",
"project_domain_name" : null,
"user_domain_name" : null,
"admin_tenant" : "service",
"member_role" : "admin",
"tenant_metadata" : true,
"identity_server_type" : "KEYSTONE",
"identity_authentication_type" : "USERNAME_PASSWORD",
"last_updated_by" : "FLYWAY",
"creation_timestamp" : "2019-07-26T09:08:30.000+0000",
"update_timestamp" : "2019-07-26T09:08:30.000+0000"
},
"uri" : null,
"region_id" : "RegionOne",
"aic_version" : "2.5",
"clli" : "RegionOne",
"platform" : null,
"orchestrator" : "multicloud",
"cloudify_id" : null,
"identity_service_id" : "DEFAULT_KEYSTONE",
"last_updated_by" : null,
"creation_timestamp" : "2019-07-26T09:08:30.000+0000",
"update_timestamp" : "2019-07-26T09:08:30.000+0000",
"_links" : {
"self" : {
"href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne"
},
"cloudSite" : {
"href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/RegionOne"
}
}
}
2019-10-01T11:59:07.996Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end=================================================
2019-10-01T11:59:07.998Z|| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstba4_3c[regionId=RegionOne,identityServiceId=DEFAULT_KEYSTONE,cloudVersion=2.5,clli=RegionOne,cloudifyId=,platform=,orchestrator=multicloud]]
2019-10-01T11:59:07.998Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[5496421e-c3bc-4463-a84c-c1c64ea8f252], X-ONAP-InvocationID=[64d82d59-4ebe-4f12-aecb-6646804151ad], X-ONAP-PartnerName=[SO]}
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body:
2019-10-01T11:59:07.999Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================
2019-10-01T11:59:08.058Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin==========================================
2019-10-01T11:59:08.059Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404
2019-10-01T11:59:08.059Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text :
2019-10-01T11:59:08.059Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Content-Type-Options=[nosniff], X-XSS-Protection=[1; mode=block], Cache-Control=[no-cache, no-store, max-age=0, must-revalidate], Pragma=[no-cache], Expires=[0], X-Frame-Options=[DENY], Content-Length=[0], Date=[Tue, 01 Oct 2019 11:59:07 GMT]}
2019-10-01T11:59:08.059Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body:
2019-10-01T11:59:08.059Z|| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end=================================================
2019-10-01T11:59:08.060Z|| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD
2019-10-01T11:59:08.060Z|| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter
2019-10-01T11:59:08.061Z|| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - inputs: item 0: vlb_int_pktgen_private_ip_0=192.168.9.12 item 1: vf_module_id=1a19ca72-37a3-457c-80b1-6b6bb0fee5f8 item 2: vnf_model_customization_uuid=25f82483-4a08-40ff-8074-89e0d7ce3aac item 3: vlb_private_net_cidr=192.168.70.0/24 item 4: aai-vnf-put=SUCCESS item 5: vlb_private_net_id=private1 item 6: public_net_id=e2a435e9-c5ce-4f6a-92cc-4209fe8ea624 item 7: vnf_name=RegionOne_ONAP-NF_20191001T115814060Z item 8: onap_private_subnet_id=644f42e9-4267-4d34-a3a6-7483c62a39a6 item 9: aic-cloud-region=RegionOne item 10: sec_group=3b2785ba-2846-4579-a738-20ae2616a7d3 item 11: vf-module-model-customization-uuid=${vf-module-model-customization-uuid} item 12: user_directives={} item 13: workload_context=Production item 14: vf_module_name=RegionOne_ONAP-NF_20191001T115814060Z_base_template_Base_001 item 15: onap_private_net_cidr=10.0.0.0/24 item 16: vpg_onap_private_ip_0=10.0.0.57 item 17: image_name=3981106c-bf27-4c1e-bd4c-28f3e0e4cb63 item 18: flavor_name=m1.medium item 19: vnf_id=0287015c-4282-4597-aa53-a10d2ee841d2 item 20: vf-naming-policy=SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP item 21: int_private_net_id=RegionOne_ONAP-NF_20191001T115814060Z_private1 item 22: vfccustomizationuuid=${vfccustomizationuuid} item 23: pktgen_private_net_cidr=192.168.9.0/24 item 24: onap_private_net_id=aa90abe0-6cd1-4636-8898-ae42c538ef7d item 25: service-instance-id=9b5d2114-424b-48f7-be51-c6f5e655d485 item 26: demo_artifacts_version=1.5.0-SNAPSHOT item 27: aai-vf-module-put=SUCCESS item 28: environment_context=General_Revenue-Bearing item 29: vpg_int_pktgen_private_ip_0=192.168.9.13 item 30: vlb_int_private_ip_0=192.168.70.10 item 31: pub_key=ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n item 32: vnf-model-customization-uuid=25f82483-4a08-40ff-8074-89e0d7ce3aac item 33: sdnc_directives={ "attributes": [ {"attribute_name": "vlb_int_pktgen_private_ip_0", "attribute_value": "192.168.9.12"}, {"attribute_name": "vnf_model_customization_uuid", "attribute_value": "25f82483-4a08-40ff-8074-89e0d7ce3aac"}, {"attribute_name": "vlb_private_net_cidr", "attribute_value": "192.168.70.0/24"}, {"attribute_name": "aai-vnf-put", "attribute_value": "SUCCESS"}, {"attribute_name": "vlb_private_net_id", "attribute_value": "private1"}, {"attribute_name": "public_net_id", "attribute_value": "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"}, {"attribute_name": "onap_private_subnet_id", "attribute_value": "644f42e9-4267-4d34-a3a6-7483c62a39a6"}, {"attribute_name": "aic-cloud-region", "attribute_value": "RegionOne"}, {"attribute_name": "sec_group", "attribute_value": "3b2785ba-2846-4579-a738-20ae2616a7d3"}, {"attribute_name": "vf-module-model-customization-uuid", "attribute_value": "${vf-module-model-customization-uuid}"}, {"attribute_name": "onap_private_net_cidr", "attribute_value": "10.0.0.0/24"}, {"attribute_name": "vpg_onap_private_ip_0", "attribute_value": "10.0.0.57"}, {"attribute_name": "image_name", "attribute_value": "3981106c-bf27-4c1e-bd4c-28f3e0e4cb63"}, {"attribute_name": "flavor_name", "attribute_value": "m1.medium"}, {"attribute_name": "vf-naming-policy", "attribute_value": "SDNC_Policy.Config_MS_ONAP_VNF_NAMING_TIMESTAMP"}, {"attribute_name": "int_private_net_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private1"}, {"attribute_name": "vfccustomizationuuid", "attribute_value": "${vfccustomizationuuid}"}, {"attribute_name": "pktgen_private_net_cidr", "attribute_value": "192.168.9.0/24"}, {"attribute_name": "onap_private_net_id", "attribute_value": "aa90abe0-6cd1-4636-8898-ae42c538ef7d"}, {"attribute_name": "service-instance-id", "attribute_value": "9b5d2114-424b-48f7-be51-c6f5e655d485"}, {"attribute_name": "demo_artifacts_version", "attribute_value": "1.5.0-SNAPSHOT"}, {"attribute_name": "aai-vf-module-put", "attribute_value": "SUCCESS"}, {"attribute_name": "vpg_int_pktgen_private_ip_0", "attribute_value": "192.168.9.13"}, {"attribute_name": "vlb_int_private_ip_0", "attribute_value": "192.168.70.10"}, {"attribute_name": "pub_key", "attribute_value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"}, {"attribute_name": "vnf-model-customization-uuid", "attribute_value": "25f82483-4a08-40ff-8074-89e0d7ce3aac"}, {"attribute_name": "int_private_subnet_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private1_subnet"}, {"attribute_name": "key_name", "attribute_value": "olc-key"}, {"attribute_name": "int_pktgen_private_subnet_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private2_subnet"}, {"attribute_name": "vpg_0_int_pktgen_private_port_0_mac", "attribute_value": "fa:16:3e:00:00:20"}, {"attribute_name": "pktgen_private_net_id", "attribute_value": "private2"}, {"attribute_name": "install_script_version", "attribute_value": "1.5.0-SNAPSHOT"}, {"attribute_name": "int_pktgen_private_net_id", "attribute_value": "RegionOne_ONAP-NF_20191001T115814060Z_private2"}, {"attribute_name": "vf_module_type", "attribute_value": "Base"}, {"attribute_name": "vlb_onap_private_ip_0", "attribute_value": "10.0.0.58"}, {"attribute_name": "cloud_env", "attribute_value": "openstack"}, {"attribute_name": "vlb_0_int_pktgen_private_port_0_mac", "attribute_value": "fa:16:3e:00:00:10"}] } item 34: int_private_subnet_id=RegionOne_ONAP-NF_20191001T115814060Z_private1_subnet item 35: key_name=olc-key item 36: int_pktgen_private_subnet_id=RegionOne_ONAP-NF_20191001T115814060Z_private2_subnet item 37: vpg_0_int_pktgen_private_port_0_mac=fa:16:3e:00:00:20 item 38: pktgen_private_net_id=private2 item 39: install_script_version=1.5.0-SNAPSHOT item 40: int_pktgen_private_net_id=RegionOne_ONAP-NF_20191001T115814060Z_private2 item 41: vf_module_type=Base item 42: vlb_onap_private_ip_0=10.0.0.58 item 43: cloud_env=openstack item 44: vlb_0_int_pktgen_private_port_0_mac=fa:16:3e:00:00:10 item 45: vf_module_index=0
2019-10-01T11:59:08.061Z|| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - requestType = , volumeGroupStackId = null, baseStackId = null
2019-10-01T11:59:08.116Z|| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Found vfModuleCust entry org.onap.so.db.catalog.beans.VfModuleCustomization@573f5a43[modelCustomizationUUID=b76718d1-0692-46be-bfc8-7142e4d527d9,label=base_template,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=c958760b-d3ae-4a1c-8a41-63d7bb0b9e2d, name=base_template.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
key_name: "onap_key"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"
vlb_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:10"
vlb_private_net_cidr: "192.168.70.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:20"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@1d4034e[modelUUID=6bb67205-9e2d-49fa-94fc-f24dc7f3f3f2,modelInvariantUUID=fa3b8536-2888-4ab0-9a11-39b0b4d21d0a,modelName=CdsVnfTest6..base_template..module-0,modelVersion=1,description=,isBase=true,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@335efebd[artifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,templateName=base_template.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys common resources
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vlb_0_int_pktgen_private_port_0_mac:
type: string
label: vLB MAC address
description: MAC address of the vLB used by the vPacketGen VM
vpg_0_int_pktgen_private_port_0_mac:
type: string
label: vPacketGen MAC address
description: MAC address of the vPacketGen used by the vLB VM
key_name:
type: string
label: Key pair name
description: Public/Private key pair name
pub_key:
type: string
label: Public key
description: Public key to be installed on the compute instance
#############
# #
# RESOURCES #
# #
#############
resources:
random-str_0:
type: OS::Heat::RandomString
properties:
length: 4
my_keypair_0:
type: OS::Nova::KeyPair
properties:
name:
str_replace:
template: vnfname_base_rand
params:
base: { get_param: key_name }
rand: { get_resource: random-str_0 }
vnfname: { get_param: vnf_name }
public_key: { get_param: pub_key }
save_private_key: false
# NETWORK_ROLE: private
int_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: private
int_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: vlb_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_private_network }
cidr: { get_param: vlb_private_net_cidr }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_network:
type: OS::Neutron::Net
properties:
name:
str_replace:
template: vnfname_privatenetid
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
# NETWORK_ROLE: pktgen_private
int_pktgen_private_subnet_0:
type: OS::Neutron::Subnet
properties:
name:
str_replace:
template: vnfname_privatenetid_subnet
params:
privatenetid: { get_param: pktgen_private_net_id }
vnfname: { get_param: vnf_name }
network: { get_resource: int_pktgen_private_network }
cidr: { get_param: pktgen_private_net_cidr }
outputs:
int_private_subnet_id:
value: { get_resource: int_private_subnet_0 }
int_private_net_id:
value: { get_resource: int_private_network }
int_pktgen_private_subnet_id:
value: { get_resource: int_pktgen_private_subnet_0 }
int_pktgen_private_net_id:
value: { get_resource: int_pktgen_private_network }
keypair:
value: { get_resource: my_keypair_0 }
vnf_id:
value: { get_param: vnf_id }
vnf_name:
value: { get_param: vnf_name }
vlb_0_mac_address:
value: { get_param: vlb_0_int_pktgen_private_port_0_mac }
vpg_0_mac_address:
value: { get_param: vpg_0_int_pktgen_private_port_0_mac },timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=ZjMyMjdkMGFkOGMxMWY2NzcxOTM0NmRlYjk5OGJkMmQ=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@7a8aebf9[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4ab279fc[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=key_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@41978b9b[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=vlb_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@57f24ba1[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=vlb_0_int_pktgen_private_port_0_mac,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3f60084a[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=vnf_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@ed6be1e[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=pub_key,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5f266f93[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=pktgen_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2da1234b[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=vlb_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1bffcf96[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=vpg_0_int_pktgen_private_port_0_mac,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@47b7a3cf[heatTemplateArtifactUuid=c91880da-bd16-4c56-b332-d2dff7e37deb,paramName=pktgen_private_net_cidr,required=true,paramType=string,paramAlias=]],childTemplates=[]],created=2019-09-06 08:06:45.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@695cc409[modelCustomizationUUID=b76718d1-0692-46be-bfc8-7142e4d527d9,label=base_template,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=ac48e8dc-06fc-4c45-b763-ab3c16a962e4, name=base_template.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
key_name: "onap_key"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"
vlb_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:10"
vlb_private_net_cidr: "192.168.70.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:20"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@1d4034e], org.onap.so.db.catalog.beans.VfModuleCustomization@573f5a43[modelCustomizationUUID=b76718d1-0692-46be-bfc8-7142e4d527d9,label=base_template,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=c958760b-d3ae-4a1c-8a41-63d7bb0b9e2d, name=base_template.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
key_name: "onap_key"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"
vlb_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:10"
vlb_private_net_cidr: "192.168.70.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:20"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@1d4034e]],vnfResources=org.onap.so.db.catalog.beans.VnfResource@1ec0dc8f[modelUUID=a99674a8-018a-4256-8fe6-6a01f5bc62a1,modelInvariantUUID=ba20c93b-469d-44a0-b293-5c543f3b37ca,modelName=CDS-VNF-TEST-6,modelVersion=3.0,toscaNodeType=org.openecomp.resource.vf.CdsVnfTest6,description=Demo,orchestrationMode=HEAT,aicVersionMin=,aicVersionMax=,created=2019-09-06 08:06:45.0,heatTemplates=,vnfResourceCustomizations=[org.onap.so.db.catalog.beans.VnfResourceCustomization@64a72cd5[modelCustomizationUUID=3fa98aa0-11db-4a87-80ec-250ce018a3a6,modelInstanceName=CDS-VNF-TEST-6 0,created=2019-09-06 08:06:45.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@695cc409[modelCustomizationUUID=b76718d1-0692-46be-bfc8-7142e4d527d9,label=base_template,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=ac48e8dc-06fc-4c45-b763-ab3c16a962e4, name=base_template.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
key_name: "onap_key"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"
vlb_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:10"
vlb_private_net_cidr: "192.168.70.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:20"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@1d4034e], org.onap.so.db.catalog.beans.VfModuleCustomization@86e0e0b[modelCustomizationUUID=8733729b-178d-4bb6-9b7b-4fc6a11b1203,label=vpkg,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=60d0c16d-99ff-4e03-8108-153e86852df8, name=vpkg.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
demo_artifacts_version: "1.5.0-SNAPSHOT"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vf_module_id: "vLoadBalancer"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_flavor_name: "m1.medium"
vpg_image_name: "Ubuntu_1604"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@113ded36[modelUUID=4c9c0983-f5f6-4031-bdeb-10a38bcb7e1c,modelInvariantUUID=d6f2b923-d6bf-4d3a-8950-82fe1e5fd4e8,modelName=CdsVnfTest6..vpkg..module-1,modelVersion=1,description=,isBase=false,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@52dc32cc[artifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,templateName=vpkg.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys a vPacketGen for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
int_pktgen_private_subnet_id:
type: string
label: vPacketGen private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vlb_0_mac_address:
type: string
label: vLB MAC address
description: MAC address of the vLB used by the vPacketGen VM
vpg_0_mac_address:
type: string
label: vPacketGen MAC address
description: MAC address of the vPacketGen used by the vLB VM
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
keypair:
type: string
label: Key pair name
description: Public/Private key pair name
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_pktgen_private_net_id }
fixed_ips: [{"subnet": { get_param: int_pktgen_private_subnet_id }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
mac_address: { get_param: vpg_0_mac_address }
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
vpg_floating_ip_assoc:
type: OS::Neutron::FloatingIPAssociation
properties:
floatingip_id: { get_resource: vpg_floating_ip }
port_id: { get_resource: vpg_0_onap_private_port_0 }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_param: keypair }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_param: vlb_0_mac_address }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=ZWVjYWNjNjlkOGMxYWQxYmQ3ZDBmMjNmZmY5M2U2YmE=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@100947ee[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=pktgen_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@485f8899[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7b8f184f[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@18771d92[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=nexus_artifact_repo,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@509769b5[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1a042260[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=keypair,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@21f66175[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=nb_api_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1fca4ea7[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@495b28a1[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=pg_int,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@41b26758[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6baf66fd[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@52d51ed[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@69e03382[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7bd32519[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7b81e209[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@31310850[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vlb_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1918e7de[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vlb_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@40232509[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@13c768c0[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5d7c8899[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=int_pktgen_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7878938f[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vnf_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@57f764ec[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2083794c[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6b5d04e2[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@71353732[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=int_pktgen_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@77ab79d5[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=cloud_env,required=true,paramType=string,paramAlias=]],childTemplates=[]],created=2019-09-06 08:06:45.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@86e0e0b[modelCustomizationUUID=8733729b-178d-4bb6-9b7b-4fc6a11b1203,label=vpkg,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=60d0c16d-99ff-4e03-8108-153e86852df8, name=vpkg.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
demo_artifacts_version: "1.5.0-SNAPSHOT"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vf_module_id: "vLoadBalancer"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_flavor_name: "m1.medium"
vpg_image_name: "Ubuntu_1604"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@113ded36], org.onap.so.db.catalog.beans.VfModuleCustomization@4d07760a[modelCustomizationUUID=8733729b-178d-4bb6-9b7b-4fc6a11b1203,label=vpkg,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=2220e2ad-4601-4a65-b8d9-4761325bbb4f, name=vpkg.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
demo_artifacts_version: "1.5.0-SNAPSHOT"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vf_module_id: "vLoadBalancer"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_flavor_name: "m1.medium"
vpg_image_name: "Ubuntu_1604"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@113ded36]],vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590]], org.onap.so.db.catalog.beans.VfModuleCustomization@1e86af65[modelCustomizationUUID=5c3e01f6-d78d-4269-99ab-b932b7fd343b,label=vlb,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=95f159c7-f996-4b64-9a07-634027f44387, name=vlb.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.5.0-SNAPSHOT"
gre_ipaddr: "192.168.70.112"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
int_private_net_id: "vLBMS_zdfw1lb01_private"
int_private_subnet_id: "vLBMS_zdfw1lb01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_int_private_ip_0: "192.168.70.211"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_flavor_name: "m1.medium"
vlb_image_name: "Ubuntu_1604"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@614985d7[modelUUID=cf602b85-3d7a-4261-a21e-ab1b8450c81a,modelInvariantUUID=df19f8b3-ce87-4345-b3e9-95a66c55201f,modelName=CdsVnfTest6..vlb..module-2,modelVersion=1,description=,isBase=false,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@4056687b[artifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,templateName=vlb.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys a vLB for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
int_private_subnet_id:
type: string
label: vLoadBalancer private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vDNSs
int_pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
int_pktgen_private_subnet_id:
type: string
label: vPacketGen private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vlb_0_mac_address:
type: string
label: vLB MAC address
description: MAC address of the vLB used by the vPacketGen VM
vpg_0_mac_address:
type: string
label: vPacketGen MAC address
description: MAC address of the vPacketGen used by the vLB VM
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
keypair:
type: string
label: Key pair name
description: Public/Private key pair name
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_private_net_id }
fixed_ips: [{"subnet": { get_param: int_private_subnet_id }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_pktgen_private_net_id }
fixed_ips: [{"subnet": { get_param: int_pktgen_private_subnet_id }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
mac_address: { get_param: vlb_0_mac_address }
security_groups:
- { get_param: sec_group }
vlb_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
vlb_floating_ip_assoc:
type: OS::Neutron::FloatingIPAssociation
properties:
floatingip_id: { get_resource: vlb_floating_ip }
port_id: { get_resource: vlb_0_onap_private_port_0 }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_param: keypair }
networks:
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_param: vpg_0_mac_address }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=OGQ2YTYwODBkYTRhMWU2NTdhOTk1MDlmMzIyMGMwYzQ=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@759be101[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_int_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@34cca8a9[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2d0f9d84[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vpg_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5e09db0[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=pktgen_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6a756c28[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1651d8f2[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6a802dd4[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vdns_int_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@639c84d7[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=nexus_artifact_repo,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@612dc598[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@22b292a2[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=nb_api_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@12d899d4[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1b3744b9[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4c31fe78[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vpg_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@49810dde[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@18df6ede[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@795df5a6[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@235bda87[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6ed5b5aa[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6b0c3029[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vdns_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@25d0b10[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@efa352[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@563665ed[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=keypair,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3399965[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vnf_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@51b0b67f[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@38f883aa[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=gre_ipaddr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5137c03d[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@35983d14[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_pktgen_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6d826dfd[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vpg_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5ddde86b[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4cfc5c8a[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@792dbcb1[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3a963edb[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_pktgen_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@bfa4ed1[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@310e2870[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@353de943[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4d5335d[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vf_module_id,required=true,paramType=string,paramAlias=]],childTemplates=[]],created=2019-09-06 08:06:45.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@1e86af65[modelCustomizationUUID=5c3e01f6-d78d-4269-99ab-b932b7fd343b,label=vlb,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=95f159c7-f996-4b64-9a07-634027f44387, name=vlb.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.5.0-SNAPSHOT"
gre_ipaddr: "192.168.70.112"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
int_private_net_id: "vLBMS_zdfw1lb01_private"
int_private_subnet_id: "vLBMS_zdfw1lb01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_int_private_ip_0: "192.168.70.211"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_flavor_name: "m1.medium"
vlb_image_name: "Ubuntu_1604"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@614985d7], org.onap.so.db.catalog.beans.VfModuleCustomization@9817f3a[modelCustomizationUUID=5c3e01f6-d78d-4269-99ab-b932b7fd343b,label=vlb,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=f9addf03-0392-43e5-8455-8895453d2976, name=vlb.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.5.0-SNAPSHOT"
gre_ipaddr: "192.168.70.112"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
int_private_net_id: "vLBMS_zdfw1lb01_private"
int_private_subnet_id: "vLBMS_zdfw1lb01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_int_private_ip_0: "192.168.70.211"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_flavor_name: "m1.medium"
vlb_image_name: "Ubuntu_1604"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@614985d7]],vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590]], org.onap.so.db.catalog.beans.VfModuleCustomization@51c93780[modelCustomizationUUID=96475747-c001-4b54-b39f-eb4bdd902388,label=vdns,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=11e65ccf-5873-44cc-98fa-ff1bba355f23, name=vdns.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
install_script_version: "1.5.0-SNAPSHOT"
int_private_net_id: "ebd19527-41f6-45bc-8a36-ebc5c531d83c"
int_private_subnet_id: "2164a79f-52c0-49ae-8cf1-cabf04ca7b88"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_flavor_name: "m1.medium"
vdns_image_name: "Ubuntu_1604"
vdns_int_private_ip_0: "192.168.70.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@6558a1b6[modelUUID=f49fbeea-53c4-4a0e-a0a2-0b1afc851c5b,modelInvariantUUID=a01f4502-4e5c-4c4e-b3c3-7d3f3d4c7ae7,modelName=CdsVnfTest6..vdns..module-3,modelVersion=1,description=,isBase=false,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@587ae179[artifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,templateName=vdns.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys a vDNS for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
int_private_subnet_id:
type: string
label: vLoadBalancer private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vDNSs
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
keypair:
type: string
label: Key pair name
description: Public/Private key pair name
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_private_net_id }
fixed_ips: [{"subnet": { get_param: int_private_subnet_id }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vdns_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
vdns_floating_ip_assoc:
type: OS::Neutron::FloatingIPAssociation
properties:
floatingip_id: { get_resource: vdns_floating_ip }
port_id: { get_resource: vdns_0_onap_private_port_0 }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_param: keypair }
networks:
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=MmZiODRlOGRiMmUxMzYwNzIzMzExZmMyNjAzNjFhYmI=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@246341f5[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@10066c46[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4302ba6[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3ae2ae3c[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1a199709[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vdns_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@534c8ab[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6c947055[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=int_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6dd94bb0[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@138a0610[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vdns_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@50d64e9b[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2a25db5c[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vlb_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2987843a[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=nb_api_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4756c809[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vnf_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@17e97f[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1546849a[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vlb_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@ad5745b[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=keypair,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@49bc6329[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vlb_int_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@66de5f87[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=nexus_artifact_repo,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@30cd2c7b[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vdns_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@35254cdf[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vdns_int_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5960b8dc[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vdns_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1f4b0e16[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vlb_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@68155d54[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=int_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5358e8e[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=]],childTemplates=[]],created=2019-09-06 08:06:45.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@51c93780[modelCustomizationUUID=96475747-c001-4b54-b39f-eb4bdd902388,label=vdns,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=11e65ccf-5873-44cc-98fa-ff1bba355f23, name=vdns.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
install_script_version: "1.5.0-SNAPSHOT"
int_private_net_id: "ebd19527-41f6-45bc-8a36-ebc5c531d83c"
int_private_subnet_id: "2164a79f-52c0-49ae-8cf1-cabf04ca7b88"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_flavor_name: "m1.medium"
vdns_image_name: "Ubuntu_1604"
vdns_int_private_ip_0: "192.168.70.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@6558a1b6], org.onap.so.db.catalog.beans.VfModuleCustomization@1f639095[modelCustomizationUUID=96475747-c001-4b54-b39f-eb4bdd902388,label=vdns,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=8bcced51-843b-4e72-8b0e-45eea5f61f15, name=vdns.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
install_script_version: "1.5.0-SNAPSHOT"
int_private_net_id: "ebd19527-41f6-45bc-8a36-ebc5c531d83c"
int_private_subnet_id: "2164a79f-52c0-49ae-8cf1-cabf04ca7b88"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_flavor_name: "m1.medium"
vdns_image_name: "Ubuntu_1604"
vdns_int_private_ip_0: "192.168.70.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@6558a1b6]],vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590]]],vnfcInstanceGroupCustomizations=[]], org.onap.so.db.catalog.beans.VnfResourceCustomization@a7b2df0[modelCustomizationUUID=25f82483-4a08-40ff-8074-89e0d7ce3aac,modelInstanceName=CDS-VNF-TEST-6 0,created=2019-09-09 11:27:46.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@573f5a43[modelCustomizationUUID=b76718d1-0692-46be-bfc8-7142e4d527d9,label=base_template,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=c958760b-d3ae-4a1c-8a41-63d7bb0b9e2d, name=base_template.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
key_name: "onap_key"
pktgen_private_net_cidr: "192.168.9.0/24"
pktgen_private_net_id: "zdfw1pktgen01_private"
pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/EnxIi7fcHMEi9VPtCGCOpQYblj9r0M/CaD5U15Cb5qHzcHiPtJpVsDMlPGzN9VHxWZG6FqQv1s6oE+PmG1xeahhb+ofrY6s8zvlUCcWGIo/bPexzb2ErvkGyd+1tQo9oLrxNdUG0xeWUX3oFkiw3RBRyxf9n4E5ajZr4cEFQ0sqJkslj87XViw/h555ydIYTY5cPNmIlsIXTObC/2z3muVWYUzaaZE8omfYJE442+UhYLHgb7Cl1JMk/SNu/r+bLrsXeBSPB+/bxVKqjpd659AQ7GRNXvBrgfq6EKNiVjrI76AbpeTM2D/LXbENuUUkvJBWptSd0gPAGkEyc9w2n"
vlb_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:10"
vlb_private_net_cidr: "192.168.70.0/24"
vlb_private_net_id: "zdfw1lb01_private"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_int_pktgen_private_port_0_mac: "fa:16:3e:00:01:20"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@1d4034e], org.onap.so.db.catalog.beans.VfModuleCustomization@4d07760a[modelCustomizationUUID=8733729b-178d-4bb6-9b7b-4fc6a11b1203,label=vpkg,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=2220e2ad-4601-4a65-b8d9-4761325bbb4f, name=vpkg.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
demo_artifacts_version: "1.5.0-SNAPSHOT"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vf_module_id: "vLoadBalancer"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_flavor_name: "m1.medium"
vpg_image_name: "Ubuntu_1604"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@113ded36[modelUUID=4c9c0983-f5f6-4031-bdeb-10a38bcb7e1c,modelInvariantUUID=d6f2b923-d6bf-4d3a-8950-82fe1e5fd4e8,modelName=CdsVnfTest6..vpkg..module-1,modelVersion=1,description=,isBase=false,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@52dc32cc[artifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,templateName=vpkg.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys a vPacketGen for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vpg_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vpg_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
int_pktgen_private_subnet_id:
type: string
label: vPacketGen private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vlb_0_mac_address:
type: string
label: vLB MAC address
description: MAC address of the vLB used by the vPacketGen VM
vpg_0_mac_address:
type: string
label: vPacketGen MAC address
description: MAC address of the vPacketGen used by the vLB VM
pg_int:
type: string
label: IP Address of the output vPacketGen interface
description: IP address assigned to the output interface of the vPacketGen's VPP layer
vpg_name_0:
type: string
label: vPKTGEN name
description: Name of the vPKTGEN
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
keypair:
type: string
label: Key pair name
description: Public/Private key pair name
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vpg
vpg_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_pktgen_private_net_id }
fixed_ips: [{"subnet": { get_param: int_pktgen_private_subnet_id }, "ip_address": { get_param: vpg_int_pktgen_private_ip_0 }}]
mac_address: { get_param: vpg_0_mac_address }
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vpg
vpg_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vpg_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
vpg_floating_ip_assoc:
type: OS::Neutron::FloatingIPAssociation
properties:
floatingip_id: { get_resource: vpg_floating_ip }
port_id: { get_resource: vpg_0_onap_private_port_0 }
# VM_TYPE: vpg
vpg_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vpg_image_name }
flavor: { get_param: vpg_flavor_name }
name: { get_param: vpg_name_0 }
key_name: { get_param: keypair }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
networks:
- port: { get_resource: vpg_0_int_pktgen_private_port_0 }
- port: { get_resource: vpg_0_onap_private_port_0 }
user_data_format: RAW
user_data:
str_replace:
params:
__local_private_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__oam_private_ipaddr__: { get_param: vpg_onap_private_ip_0 }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__vlb_ipaddr__: { get_param: vlb_int_pktgen_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__pg_int__: { get_param: pg_int }
__vlb_mac__: { get_param: vlb_0_mac_address }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__vlb_ipaddr__" > /opt/config/vlb_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__pg_int__" > /opt/config/pg_int.txt
echo "__vlb_mac__" > /opt/config/vlb_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh
cd /opt
chmod +x v_packetgen_install.sh
./v_packetgen_install.sh,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=ZWVjYWNjNjlkOGMxYWQxYmQ3ZDBmMjNmZmY5M2U2YmE=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@100947ee[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=pktgen_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@485f8899[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7b8f184f[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@18771d92[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=nexus_artifact_repo,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@509769b5[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1a042260[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=keypair,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@21f66175[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=nb_api_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1fca4ea7[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@495b28a1[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=pg_int,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@41b26758[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6baf66fd[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@52d51ed[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@69e03382[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7bd32519[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7b81e209[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@31310850[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vlb_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1918e7de[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vlb_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@40232509[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@13c768c0[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5d7c8899[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=int_pktgen_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7878938f[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vnf_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@57f764ec[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vpg_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2083794c[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6b5d04e2[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@71353732[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=int_pktgen_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@77ab79d5[heatTemplateArtifactUuid=b2726eca-2679-491e-baf2-920886dbacb2,paramName=cloud_env,required=true,paramType=string,paramAlias=]],childTemplates=[]],created=2019-09-06 08:06:45.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@86e0e0b[modelCustomizationUUID=8733729b-178d-4bb6-9b7b-4fc6a11b1203,label=vpkg,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=60d0c16d-99ff-4e03-8108-153e86852df8, name=vpkg.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
demo_artifacts_version: "1.5.0-SNAPSHOT"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vf_module_id: "vLoadBalancer"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_flavor_name: "m1.medium"
vpg_image_name: "Ubuntu_1604"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@113ded36], org.onap.so.db.catalog.beans.VfModuleCustomization@4d07760a[modelCustomizationUUID=8733729b-178d-4bb6-9b7b-4fc6a11b1203,label=vpkg,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=2220e2ad-4601-4a65-b8d9-4761325bbb4f, name=vpkg.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
demo_artifacts_version: "1.5.0-SNAPSHOT"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pg_int: "192.168.9.109"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vf_module_id: "vLoadBalancer"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_flavor_name: "m1.medium"
vpg_image_name: "Ubuntu_1604"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_name_0: "zdfw1lb01pg01"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@113ded36]],vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590]], org.onap.so.db.catalog.beans.VfModuleCustomization@9817f3a[modelCustomizationUUID=5c3e01f6-d78d-4269-99ab-b932b7fd343b,label=vlb,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=f9addf03-0392-43e5-8455-8895453d2976, name=vlb.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.5.0-SNAPSHOT"
gre_ipaddr: "192.168.70.112"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
int_private_net_id: "vLBMS_zdfw1lb01_private"
int_private_subnet_id: "vLBMS_zdfw1lb01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_int_private_ip_0: "192.168.70.211"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_flavor_name: "m1.medium"
vlb_image_name: "Ubuntu_1604"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@614985d7[modelUUID=cf602b85-3d7a-4261-a21e-ab1b8450c81a,modelInvariantUUID=df19f8b3-ce87-4345-b3e9-95a66c55201f,modelName=CdsVnfTest6..vlb..module-2,modelVersion=1,description=,isBase=false,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@4056687b[artifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,templateName=vlb.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys a vLB for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vlb_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vlb_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
int_private_subnet_id:
type: string
label: vLoadBalancer private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vDNSs
int_pktgen_private_net_id:
type: string
label: vPacketGen private network name or ID
description: Private network that connects vLoadBalancer with vPacketGen
int_pktgen_private_subnet_id:
type: string
label: vPacketGen private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vPacketGen
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
pktgen_private_net_cidr:
type: string
label: vPacketGen private network CIDR
description: The CIDR of the vPacketGen private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vpg_int_pktgen_private_ip_0:
type: string
label: vPacketGen private IP address towards the vPacketGen private network
description: Private IP address that is assigned to the vPacketGen to communicate with the vLoadBalancer
vpg_onap_private_ip_0:
type: string
label: vPacketGen private IP address towards the ONAP management network
description: Private IP address that is assigned to the vPacketGen to communicate with ONAP components
vlb_0_mac_address:
type: string
label: vLB MAC address
description: MAC address of the vLB used by the vPacketGen VM
vpg_0_mac_address:
type: string
label: vPacketGen MAC address
description: MAC address of the vPacketGen used by the vLB VM
vip:
type: string
label: Virtual Private IP of the vLoadBalancer
description: Virtual Private IP that is assigned to the vLoadBalancer's VPP layer
gre_ipaddr:
type: string
label: IP Address of the GRE tunnel
description: IP address assigned to the GRE tunnel on the vLoadBalancer
vlb_name_0:
type: string
label: vLoadBalancer name
description: Name of the vLoadBalancer
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
dcae_collector_ip:
type: string
label: DCAE collector IP address
description: IP address of the DCAE collector
dcae_collector_port:
type: string
label: DCAE collector port
description: Port of the DCAE collector
keypair:
type: string
label: Key pair name
description: Public/Private key pair name
demo_artifacts_version:
type: string
label: Artifacts version used in demo vnfs
description: Version number for downloading the vPacketGen streams for VPP and VES
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vLB demo app
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
# NETWORK_ROLE: private
# VM_TYPE: vlb
vlb_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_private_net_id }
fixed_ips: [{"subnet": { get_param: int_private_subnet_id }, "ip_address": { get_param: vlb_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vlb
vlb_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vlb_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: pktgen_private
# VM_TYPE: vlb
vlb_0_int_pktgen_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_pktgen_private_net_id }
fixed_ips: [{"subnet": { get_param: int_pktgen_private_subnet_id }, "ip_address": { get_param: vlb_int_pktgen_private_ip_0 }}]
mac_address: { get_param: vlb_0_mac_address }
security_groups:
- { get_param: sec_group }
vlb_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
vlb_floating_ip_assoc:
type: OS::Neutron::FloatingIPAssociation
properties:
floatingip_id: { get_resource: vlb_floating_ip }
port_id: { get_resource: vlb_0_onap_private_port_0 }
# VM_TYPE: vlb
vlb_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vlb_image_name }
flavor: { get_param: vlb_flavor_name }
name: { get_param: vlb_name_0 }
key_name: { get_param: keypair }
networks:
- port: { get_resource: vlb_0_int_private_port_0 }
- port: { get_resource: vlb_0_onap_private_port_0 }
- port: { get_resource: vlb_0_int_pktgen_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__dcae_collector_ip__: { get_param: dcae_collector_ip }
__dcae_collector_port__: { get_param: dcae_collector_port }
__ip_to_dns_net__: { get_param: vlb_int_private_ip_0 }
__ip_to_pktgen_net__: { get_param: vlb_int_pktgen_private_ip_0 }
__oam_vpktgen_ip__: { get_param: vpg_onap_private_ip_0 }
__oam_vdns_ip__: { get_param: vdns_onap_private_ip_0 }
__vip__: { get_param: vip }
__gre_ipaddr__: { get_param: gre_ipaddr }
__pktgen_ipaddr__: { get_param: vpg_int_pktgen_private_ip_0 }
__vdns_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vlb_onap_private_ip_0 }
__demo_artifacts_version__: { get_param: demo_artifacts_version }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__pktgen_private_net_cidr__: { get_param: pktgen_private_net_cidr }
__pktgen_mac__: { get_param: vpg_0_mac_address }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt
echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt
echo "__ip_to_dns_net__" > /opt/config/ip_to_dns_net.txt
echo "__ip_to_pktgen_net__" > /opt/config/ip_to_pktgen_net.txt
echo "__oam_vpktgen_ip__" > /opt/config/oam_vpktgen_ip.txt
echo "__oam_vdns_ip__" > /opt/config/oam_vdns_ip.txt
echo "__vip__" > /opt/config/vip.txt
echo "__gre_ipaddr__" > /opt/config/gre_ipaddr.txt
echo "__pktgen_ipaddr__" > /opt/config/pktgen_ipaddr.txt
echo "__vdns_ipaddr__" > /opt/config/vdns_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__pktgen_private_net_cidr__" > /opt/config/pktgen_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__pktgen_mac__" > /opt/config/pktgen_mac.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_lb_install.sh
cd /opt
chmod +x v_lb_install.sh
./v_lb_install.sh,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=OGQ2YTYwODBkYTRhMWU2NTdhOTk1MDlmMzIyMGMwYzQ=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@759be101[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_int_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@34cca8a9[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2d0f9d84[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vpg_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5e09db0[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=pktgen_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6a756c28[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1651d8f2[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6a802dd4[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vdns_int_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@639c84d7[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=nexus_artifact_repo,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@612dc598[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@22b292a2[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=nb_api_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@12d899d4[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_0_mac_address,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1b3744b9[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4c31fe78[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vpg_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@49810dde[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@18df6ede[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@795df5a6[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@235bda87[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6ed5b5aa[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6b0c3029[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vdns_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@25d0b10[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@efa352[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@563665ed[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=keypair,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3399965[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vnf_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@51b0b67f[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@38f883aa[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=gre_ipaddr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5137c03d[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@35983d14[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_pktgen_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6d826dfd[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vpg_int_pktgen_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5ddde86b[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4cfc5c8a[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_onap_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@792dbcb1[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3a963edb[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=int_pktgen_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@bfa4ed1[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@310e2870[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@353de943[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vlb_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4d5335d[heatTemplateArtifactUuid=cb0109b7-6bd6-440d-b066-1abc3ae4c7d1,paramName=vf_module_id,required=true,paramType=string,paramAlias=]],childTemplates=[]],created=2019-09-06 08:06:45.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@1e86af65[modelCustomizationUUID=5c3e01f6-d78d-4269-99ab-b932b7fd343b,label=vlb,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-06 08:06:45.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=95f159c7-f996-4b64-9a07-634027f44387, name=vlb.env, version=2, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.5.0-SNAPSHOT"
gre_ipaddr: "192.168.70.112"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
int_private_net_id: "vLBMS_zdfw1lb01_private"
int_private_subnet_id: "vLBMS_zdfw1lb01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_int_private_ip_0: "192.168.70.211"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_flavor_name: "m1.medium"
vlb_image_name: "Ubuntu_1604"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/6/19 8:06 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@614985d7], org.onap.so.db.catalog.beans.VfModuleCustomization@9817f3a[modelCustomizationUUID=5c3e01f6-d78d-4269-99ab-b932b7fd343b,label=vlb,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=f9addf03-0392-43e5-8455-8895453d2976, name=vlb.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
dcae_collector_ip: "10.0.4.1"
dcae_collector_port: "30235"
demo_artifacts_version: "1.5.0-SNAPSHOT"
gre_ipaddr: "192.168.70.112"
install_script_version: "1.5.0-SNAPSHOT"
int_pktgen_private_net_id: "vLBMS_zdfw1pktgen01_private"
int_pktgen_private_subnet_id: "vLBMS_zdfw1pktgen01_private_subnet"
int_private_net_id: "vLBMS_zdfw1lb01_private"
int_private_subnet_id: "vLBMS_zdfw1lb01_private_subnet"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
pktgen_private_net_cidr: "192.168.9.0/24"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_int_private_ip_0: "192.168.70.211"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vip: "192.168.9.112"
vlb_0_mac_address: "fa:16:3e:00:01:10"
vlb_flavor_name: "m1.medium"
vlb_image_name: "Ubuntu_1604"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_name_0: "zdfw1lb01lb01"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
vpg_0_mac_address: "fa:16:3e:00:01:20"
vpg_int_pktgen_private_ip_0: "192.168.9.110"
vpg_onap_private_ip_0: "10.0.0.213"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@614985d7]],vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstba4_27@1b378590]], org.onap.so.db.catalog.beans.VfModuleCustomization@1f639095[modelCustomizationUUID=96475747-c001-4b54-b39f-eb4bdd902388,label=vdns,minInstances=0,maxInstances=,initialCount=0,availabilityZoneCount=,created=2019-09-09 11:27:46.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=8bcced51-843b-4e72-8b0e-45eea5f61f15, name=vdns.env, version=3, description=Auto-generated HEAT Environment deployment artifact, body=parameters:
cloud_env: "openstack"
install_script_version: "1.5.0-SNAPSHOT"
int_private_net_id: "ebd19527-41f6-45bc-8a36-ebc5c531d83c"
int_private_subnet_id: "2164a79f-52c0-49ae-8cf1-cabf04ca7b88"
keypair: "onap_key"
nb_api_version: "1.2.0"
nexus_artifact_repo: "https://nexus.onap.org"
onap_private_net_cidr: "10.0.0.0/24"
onap_private_net_id: "aa90abe0-6cd1-4636-8898-ae42c538ef7d"
onap_private_subnet_id: "644f42e9-4267-4d34-a3a6-7483c62a39a6"
public_net_id: "e2a435e9-c5ce-4f6a-92cc-4209fe8ea624"
sec_group: "3b2785ba-2846-4579-a738-20ae2616a7d3"
vdns_flavor_name: "m1.medium"
vdns_image_name: "Ubuntu_1604"
vdns_int_private_ip_0: "192.168.70.211"
vdns_name_0: "zdfw1lb01dns01"
vdns_onap_private_ip_0: "10.0.0.212"
vf_module_id: "vLoadBalancer"
vlb_int_pktgen_private_ip_0: "192.168.9.111"
vlb_int_private_ip_0: "192.168.70.111"
vlb_onap_private_ip_0: "10.0.0.111"
vlb_private_net_cidr: "192.168.70.0/24"
vnf_id: "vLoadBalancer_demo_app"
vnf_name: "vLBMS"
,creationTimestamp=9/9/19 11:27 AM,vfModule=org.onap.so.db.catalog.beans.VfModule@6558a1b6[modelUUID=f49fbeea-53c4-4a0e-a0a2-0b1afc851c5b,modelInvariantUUID=a01f4502-4e5c-4c4e-b3c3-7d3f3d4c7ae7,modelName=CdsVnfTest6..vdns..module-3,modelVersion=1,description=,isBase=false,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@587ae179[artifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,templateName=vdns.yaml,templateBody=##########################################################################
#
#==================LICENSE_START==========================================
#
#
# Copyright (c) 2019 AT&T Intellectual Property. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
#==================LICENSE_END============================================
#
# ECOMP is a trademark and service mark of AT&T Intellectual Property.
#
##########################################################################
heat_template_version: 2013-05-23
description: Heat template that deploys a vDNS for ONAP
##############
# #
# PARAMETERS #
# #
##############
parameters:
vdns_image_name:
type: string
label: Image name or ID
description: Image to be used for compute instance
vdns_flavor_name:
type: string
label: Flavor
description: Type of instance (flavor) to be used
public_net_id:
type: string
label: Public network name or ID
description: Public network that enables remote connection to VNF
int_private_net_id:
type: string
label: vLoadBalancer private network name or ID
description: Private network that connects vLoadBalancer with vDNSs
int_private_subnet_id:
type: string
label: vLoadBalancer private subnet name or ID
description: Private subnet of the network that connects vLoadBalancer with vDNSs
onap_private_net_id:
type: string
label: ONAP management network name or ID
description: Private network that connects ONAP component and the VNF
onap_private_subnet_id:
type: string
label: ONAP management sub-network name or ID
description: Private sub-network that connects ONAP component and the VNF
vlb_private_net_cidr:
type: string
label: vLoadBalancer private network CIDR
description: The CIDR of the vLoadBalancer private network
onap_private_net_cidr:
type: string
label: ONAP private network CIDR
description: The CIDR of the protected private network
vlb_int_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the private network
description: Private IP address that is assigned to the vLoadBalancer to communicate with the vDNSs
vlb_onap_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the ONAP management network
description: Private IP address that is assigned to the vLoadBalancer to communicate with ONAP components
vlb_int_pktgen_private_ip_0:
type: string
label: vLoadBalancer private IP address towards the vPacketGen network
description: Private IP address that is assigned to the vLoadBalancer to communicate with vPacketGen
vdns_int_private_ip_0:
type: string
label: vDNS private IP address towards the private network
description: Private IP address that is assigned to the vDNS to communicate with the vLoadBalancer
vdns_onap_private_ip_0:
type: string
label: vDNS private IP address towards the ONAP management network
description: Private IP address that is assigned to the vDNS to communicate with ONAP components
vdns_name_0:
type: string
label: vDNS name
description: Name of the vDNS
vnf_id:
type: string
label: VNF ID
description: The VNF ID is provided by ONAP
vnf_name:
type: string
label: VNF NAME
description: The VNF NAME is provided by ONAP
vf_module_id:
type: string
label: vFirewall module ID
description: The vLoadBalancer Module ID is provided by ONAP
keypair:
type: string
label: Key pair name
description: Public/Private key pair name
install_script_version:
type: string
label: Installation script version number
description: Version number of the scripts that install the vFW demo app
nb_api_version:
type: string
label: Northbound API version
description: Version number of the health check and config APIs
cloud_env:
type: string
label: Cloud environment
description: Cloud environment (e.g., openstack, rackspace)
nexus_artifact_repo:
type: string
description: Root URL for the Nexus repository for Maven artifacts.
sec_group:
type: string
description: ONAP Security Group
#############
# #
# RESOURCES #
# #
#############
resources:
# NETWORK_ROLE: private
# VM_TYPE: vdns
vdns_0_int_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: int_private_net_id }
fixed_ips: [{"subnet": { get_param: int_private_subnet_id }, "ip_address": { get_param: vdns_int_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
# NETWORK_ROLE: onap_private
# VM_TYPE: vdns
vdns_0_onap_private_port_0:
type: OS::Neutron::Port
properties:
network: { get_param: onap_private_net_id }
fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vdns_onap_private_ip_0 }}]
security_groups:
- { get_param: sec_group }
vdns_floating_ip:
type: OS::Neutron::FloatingIP
properties:
floating_network_id: { get_param: public_net_id }
vdns_floating_ip_assoc:
type: OS::Neutron::FloatingIPAssociation
properties:
floatingip_id: { get_resource: vdns_floating_ip }
port_id: { get_resource: vdns_0_onap_private_port_0 }
# VM_TYPE: vdns
vdns_server_0:
type: OS::Nova::Server
properties:
image: { get_param: vdns_image_name }
flavor: { get_param: vdns_flavor_name }
name: { get_param: vdns_name_0 }
key_name: { get_param: keypair }
networks:
- port: { get_resource: vdns_0_int_private_port_0 }
- port: { get_resource: vdns_0_onap_private_port_0 }
metadata:
vnf_id: { get_param: vnf_id }
vf_module_id: { get_param: vf_module_id }
vnf_name: { get_param: vnf_name }
user_data_format: RAW
user_data:
str_replace:
params:
__lb_oam_int__: { get_param: vlb_onap_private_ip_0 }
__lb_private_ipaddr__: { get_param: vlb_int_private_ip_0 }
__lb_to_pktgen_if__: { get_param: vlb_int_pktgen_private_ip_0}
__local_private_ipaddr__: { get_param: vdns_int_private_ip_0 }
__oam_private_ipaddr__: { get_param: vdns_onap_private_ip_0 }
__nb_api_version__: { get_param: nb_api_version }
__install_script_version__: { get_param: install_script_version }
__vlb_private_net_cidr__: { get_param: vlb_private_net_cidr }
__onap_private_net_cidr__: { get_param: onap_private_net_cidr }
__cloud_env__: { get_param: cloud_env }
__nexus_artifact_repo__: { get_param: nexus_artifact_repo }
template: |
#!/bin/bash
# Create configuration files
mkdir /opt/config
echo "__lb_oam_int__" > /opt/config/lb_oam_int.txt
echo "__lb_private_ipaddr__" > /opt/config/lb_private_ipaddr.txt
echo "__lb_to_pktgen_if__" > /opt/config/lb_to_pktgen_if.txt
echo "__local_private_ipaddr__" > /opt/config/local_private_ipaddr.txt
echo "__oam_private_ipaddr__" > /opt/config/oam_private_ipaddr.txt
echo "__nb_api_version__" > /opt/config/nb_api_version.txt
echo "__install_script_version__" > /opt/config/install_script_version.txt
echo "__vlb_private_net_cidr__" > /opt/config/vlb_private_net_cidr.txt
echo "__onap_private_net_cidr__" > /opt/config/onap_private_net_cidr.txt
echo "__cloud_env__" > /opt/config/cloud_env.txt
echo "__nexus_artifact_repo__" > /opt/config/nexus_artifact_repo.txt
# Download and run install script
apt-get update
apt-get -y install unzip
if [[ "__install_script_version__" =~ "SNAPSHOT" ]]; then REPO=snapshots; else REPO=releases; fi
curl -k -L "__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vlbms&a=vlbms-scripts&e=zip&v=__install_script_version__" -o /opt/vlbms-scripts-__install_script_version__.zip
unzip -j /opt/vlbms-scripts-__install_script_version__.zip -d /opt v_dns_install.sh
cd /opt
chmod +x v_dns_install.sh
./v_dns_install.sh,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=MmZiODRlOGRiMmUxMzYwNzIzMzExZmMyNjAzNjFhYmI=,created=2019-09-06 08:06:45.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@246341f5[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@10066c46[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4302ba6[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3ae2ae3c[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1a199709[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=vdns_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@534c8ab[heatTemplateArtifactUuid=f0a96fc1-7c09-4698-9c65-f397cfa5b1c9,paramName=install_script_version,required=true,paramType=string,paramAlias=