2018-11-22T01:23:02.230Z|trace-#| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 6 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules Encoding: UTF-8 Http-Method: POST Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[5048], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 oof-vnf vfwhpa_stack 67ffd9e8-a51a-419b-b6bb-d8b44450550c vfw_hpa_v2/vfw_hpa_v2 0 VfwHpaV2..base_vfw..module-0 1.0 2293ec86-d504-4f2e-8afe-6e6cd1e5e936 true true true vf_module_id 67ffd9e8-a51a-419b-b6bb-d8b44450550c vsn_private_0_port_vnic_type normal onap_private_net_id shared vsn_name_0 vsink vnf_name oof-vnf vpg_private_0_port_vnic_type normal workload_context vf_module_name vfwhpa_stack unprotected_private_net_id private vfw_image_name ubuntu-16.04 vnf_id 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 vfw_private_0_port_vnic_type normal protected_private_net_id vfw_protected_private_net firewall_flavor_name onap.hpa.flavor31 vfw_name_0 test-oof-post1 vpg_name_0 vpktgen public_net_id external onap_private_net_cidr 100.100.105.0/24 sink_flavor_name onap.large environment_context onap_private_subnet_id shared sec_group default packetgen_flavor_name onap.hpa.flavor32 vfw_private_1_port_vnic_type normal vpg_private_ip_0 200.200.200.251 vfw_private_ip_0 200.200.200.252 protected_private_net_cidr 192.169.1.0/24 vsn_private_ip_1 100.100.105.250 vfw_private_ip_2 100.100.105.252 vpg_private_ip_1 100.100.105.251 vfw_private_ip_1 192.168.1.201 vsn_private_ip_0 192.168.1.202 unprotected_private_net_cidr 200.200.200.0/24 vf_module_index 0 vpg_private_1_port_vnic_type normal vfw_private_2_port_vnic_type normal vsn_private_1_port_vnic_type normal a3436b8a-c3f9-4fdf-8c1b-3709cee56a49 81bacddf-2202-4f01-bd6b-b7b91829bde4 a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 -------------------------------------- 2018-11-22T01:23:02.242Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vnfType":"vfw_hpa_v2/vfw_hpa_v2 0","vnfVersion":"1.0","vfModuleId":"67ffd9e8-a51a-419b-b6bb-d8b44450550c","vfModuleName":"vfwhpa_stack","vfModuleType":"VfwHpaV2..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"2293ec86-d504-4f2e-8afe-6e6cd1e5e936","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"67ffd9e8-a51a-419b-b6bb-d8b44450550c","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","vnf_name":"oof-vnf","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","workload_context":"","vfw_name_0":"test-oof-post1","vf_module_name":"vfwhpa_stack","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","vfw_private_2_port_vnic_type":"normal","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","environment_context":"","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net","vf_module_index":"0"},"msoRequest":{"requestId":"a3436b8a-c3f9-4fdf-8c1b-3709cee56a49","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T01:23:02.243Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask start 2018-11-22T01:23:02.243Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - completeVnfVfModuleType=vfw_hpa_v2/vfw_hpa_v2 0::VfwHpaV2..base_vfw..module-0 2018-11-22T01:23:02.243Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T01:23:02.243Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[158229b2-a6b8-41bf-89f5-80e748f8ad26], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:23:02.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:23:02.276Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - createVfModule exit 2018-11-22T01:23:02.350Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T01:23:02.351Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T01:23:02.358Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T01:23:02.359Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T01:23:02.359Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 6 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 01:23:02 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T01:23:02.420Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:23:02.421Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:23:02.421Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:23:02.421Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Set-Cookie=[JSESSIONID=0B6CC5373C870BC8147CFA78C3822671; Path=/; HttpOnly], X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:23:02 GMT]} 2018-11-22T01:23:02.422Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:23:02.422Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:23:02.424Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T01:23:02.424Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:23:02.424Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:23:02.424Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:23:02.425Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:23:02.425Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:23:02.425Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[924d0bd9-e0be-47e6-add1-b09c0258996f], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:23:02.425Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:23:02.425Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:23:02.446Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:23:02.446Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T01:23:02.454Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:23:02.454Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:23:02 GMT]} 2018-11-22T01:23:02.455Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T01:23:02.455Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:23:02.455Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T01:23:02.455Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T01:23:02.458Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - inputs: item 0: vf_module_id=67ffd9e8-a51a-419b-b6bb-d8b44450550c item 1: sink_flavor_name=onap.large item 2: packetgen_flavor_name=onap.hpa.flavor32 item 3: vnf_name=oof-vnf item 4: public_net_id=external item 5: vfw_private_ip_1=192.168.1.201 item 6: onap_private_subnet_id=shared item 7: vfw_private_ip_0=200.200.200.252 item 8: sec_group=default item 9: vfw_private_ip_2=100.100.105.252 item 10: workload_context= item 11: vfw_name_0=test-oof-post1 item 12: vf_module_name=vfwhpa_stack item 13: onap_private_net_cidr=100.100.105.0/24 item 14: vpg_private_1_port_vnic_type=normal item 15: vfw_private_1_port_vnic_type=normal item 16: vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09 item 17: vsn_private_1_port_vnic_type=normal item 18: vfw_private_2_port_vnic_type=normal item 19: vpg_name_0=vpktgen item 20: vpg_private_ip_1=100.100.105.251 item 21: vsn_private_ip_0=192.168.1.202 item 22: vpg_private_ip_0=200.200.200.251 item 23: protected_private_net_cidr=192.169.1.0/24 item 24: vsn_private_ip_1=100.100.105.250 item 25: unprotected_private_net_cidr=200.200.200.0/24 item 26: vfw_private_0_port_vnic_type=normal item 27: firewall_flavor_name=onap.hpa.flavor31 item 28: vsn_name_0=vsink item 29: onap_private_net_id=shared item 30: vpg_private_0_port_vnic_type=normal item 31: unprotected_private_net_id=private item 32: vsn_private_0_port_vnic_type=normal item 33: environment_context= item 34: vfw_image_name=ubuntu-16.04 item 35: protected_private_net_id=vfw_protected_private_net item 36: vf_module_index=0 2018-11-22T01:23:02.458Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - requestType = , volumeGroupStackId = null, baseStackId = null 2018-11-22T01:23:02.659Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Found vfModuleCust entry org.onap.so.db.catalog.beans.VfModuleCustomization@60b7e2f7[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@6324846e[modelUUID=4e338668-ae41-4e3e-9a9a-45ac03f1babf,modelInvariantUUID=7f664dbe-b99a-48c4-b4a6-8e01b188dc5f,modelName=VfwHpaV2..base_vfw..module-0,modelVersion=1,description=,isBase=true,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@4c85700d[artifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,templateName=base_vfw.yaml,templateBody=########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=YzViNDY5NGUxYTIwZjI5NTA2Mjg3YmI2NTMyNjAyZDI=,created=2018-11-21 16:25:56.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@13f2caa0[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=firewall_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@afadd65[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7172749a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@e603dde[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5d9517df[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@392e0e45[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@47746565[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@48a2fc[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=pub_key,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@165a9e8d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@419471f5[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1c5e6673[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@61c758b9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1032da84[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1ee85c6[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@864cd3d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6587bdf1[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5983dad[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@30bbd58b[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_2,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@19242403[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1c962ac3[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@f49f1e6[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_artifact_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2aea7026[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_2_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@20b50f30[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sink_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4929e8fa[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@69ecc0f9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@78231b8f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@40cdac36[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4b507bf2[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6be25ade[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3d51f0c6[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@389fcd70[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6cf1a54c[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5ca95145[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@64b5ea65[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@48528de9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=packetgen_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1882d10b[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@60330411[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@10504746[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=key_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3d3da7bd[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=nexus_artifact_repo,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@25a90d1a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@339c4155[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@522dc882[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@ec5caec[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_0_port_vnic_type,required=false,paramType=string,paramAlias=]],childTemplates=[]],created=2018-11-21 16:25:56.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@60b7e2f7[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@6324846e]],vnfResources=org.onap.so.db.catalog.beans.VnfResource@19f7709c[modelUUID=a367b6e2-59fe-4d68-9e98-8f67b0cb1a4d,modelInvariantUUID=7dbfc099-771e-4022-a6b7-3d1b708e2644,modelName=vfw_hpa_v2,modelVersion=1.0,toscaNodeType=org.openecomp.resource.vf.VfwHpaV2,description=vfw hpa,orchestrationMode=HEAT,aicVersionMin=,aicVersionMax=,created=2018-11-21 16:25:56.0,heatTemplates=,vnfResourceCustomizations=[org.onap.so.db.catalog.beans.VnfResourceCustomization@4a7ea547[modelCustomizationUUID=54a6a4ad-bb29-44e2-94bb-83533e68b795,modelInstanceName=vfw_hpa_v2 0,created=2018-11-21 16:25:56.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstfdd_e@2e234277,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@60b7e2f7[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@6324846e]],vnfcInstanceGroupCustomizations=[]]]]]] 2018-11-22T01:23:02.660Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.660Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:23:02.660Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.660Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:23:02.660Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[a3436b8a-c3f9-4fdf-8c1b-3709cee56a49], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:23:02.661Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:23:02.661Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:23:02.716Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:23:02.716Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:23:02.716Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:23:02.716Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:23:02 GMT]} 2018-11-22T01:23:02.716Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:23:02.717Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:23:02.718Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.718Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:23:02.718Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.718Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:23:02.719Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[a3436b8a-c3f9-4fdf-8c1b-3709cee56a49], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:23:02.722Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:23:02.723Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:23:02.769Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:23:02.769Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:23:02.769Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:23:02.769Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:23:02 GMT]} 2018-11-22T01:23:02.770Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:23:02.770Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:23:02.772Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - This is a BASE Module request 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got HEAT Template from DB: ########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got Heat Environment from DB: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - paramSet has 43 entries 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vf_module_id is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sink_flavor_name is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: packetgen_flavor_name is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: public_net_id is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_1 is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_subnet_id is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_0 is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sec_group is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_2 is of type string 2018-11-22T01:23:02.773Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_name_0 is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_cidr is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_1_port_vnic_type is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_1_port_vnic_type is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vnf_id is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_1_port_vnic_type is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_2_port_vnic_type is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_name_0 is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_1 is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_0 is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_0 is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_cidr is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_1 is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_cidr is of type string 2018-11-22T01:23:02.774Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_0_port_vnic_type is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: firewall_flavor_name is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_name_0 is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_id is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_0_port_vnic_type is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_id is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_0_port_vnic_type is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_image_name is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_id is of type string 2018-11-22T01:23:02.775Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Ignoring extra inputs: [vnf_name, workload_context, vf_module_name, environment_context, vf_module_index] 2018-11-22T01:23:02.779Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter pub_key appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_ip appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter demo_artifacts_version appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_artifact_name appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter cloud_env appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_port appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter install_script_version appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter key_name appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_version appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_name appears to be in environment - do not count as missing 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - No missing parameters found - ok to proceed 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids 2018-11-22T01:23:02.780Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles 2018-11-22T01:23:02.795Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:23:02.795Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoCommonUtils - stack request:CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=67ffd9e8-a51a-419b-b6bb-d8b44450550c, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T01:23:02.796Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - ERROR making multicloud JSON body com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: ; line: 1, column: 0] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:270) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3854) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3799) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2397) at org.onap.so.openstack.utils.MsoMulticloudUtils.createStack(MsoMulticloudUtils.java:191) at org.onap.so.openstack.utils.MsoMulticloudUtils.instantiateVdu(MsoMulticloudUtils.java:660) at org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl.createVfModule(MsoVnfPluginAdapterImpl.java:1098) at org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl$$FastClassBySpringCGLIB$$2ff25d29.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl$$EnhancerBySpringCGLIB$$25f9c99.createVfModule() at org.onap.so.adapters.vnf.VnfAdapterRestV2$CreateVfModuleTask.run(VnfAdapterRestV2.java:445) at java.lang.Thread.run(Thread.java:748) 2018-11-22T01:23:02.796Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.796Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:23:02.796Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:23:02.796Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:23:02.796Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[a3436b8a-c3f9-4fdf-8c1b-3709cee56a49], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:23:02.797Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:23:02.797Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:23:02.836Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:23:02.836Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:23:02.836Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:23:02.836Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:23:02 GMT]} 2018-11-22T01:23:02.840Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:23:02.841Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:23:02.845Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T01:23:02.846Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T01:23:02.982Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making POST request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[a3436b8a-c3f9-4fdf-8c1b-3709cee56a49], X-ONAP-InvocationID=[74a300b2-8d30-44c3-bcf6-51fa74fe46b0], X-ONAP-PartnerName=[SO]} 2018-11-22T01:23:02.984Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - {"generic-vnf-id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vf-module-id":"67ffd9e8-a51a-419b-b6bb-d8b44450550c"} 2018-11-22T01:23:03.015Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from POST: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:23:03 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:23:03.020Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:23:03.020Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:23:03.020Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:23:03.020Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:23:03.020Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - VF Module vfwhpa_stack successfully created 2018-11-22T01:23:03.082Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 ONAP-POD-01-Rail-06 a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 CFY a3436b8a-c3f9-4fdf-8c1b-3709cee56a49 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 67ffd9e8-a51a-419b-b6bb-d8b44450550c true 67ffd9e8-a51a-419b-b6bb-d8b44450550c 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:23:03.083Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 2018-11-22T01:23:03.083Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.BpelRestClient - Content is: a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 ONAP-POD-01-Rail-06 a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 CFY a3436b8a-c3f9-4fdf-8c1b-3709cee56a49 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 67ffd9e8-a51a-419b-b6bb-d8b44450550c true 67ffd9e8-a51a-419b-b6bb-d8b44450550c 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:23:05.899Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T01:23:05.900Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T01:23:05.901Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T01:23:05.938Z|a3436b8a-c3f9-4fdf-8c1b-3709cee56a49| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask exit: code=200, resp= a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 ONAP-POD-01-Rail-06 a3436b8a-c3f9-4fdf-8c1b-3709cee56a49-1542849781931 CFY a3436b8a-c3f9-4fdf-8c1b-3709cee56a49 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 67ffd9e8-a51a-419b-b6bb-d8b44450550c true 67ffd9e8-a51a-419b-b6bb-d8b44450550c 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:39:26.075Z|| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 7 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules/67ffd9e8-a51a-419b-b6bb-d8b44450550c Encoding: UTF-8 Http-Method: DELETE Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[813], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 67ffd9e8-a51a-419b-b6bb-d8b44450550c true 6eabc0b1-2e0c-477f-8ed2-108a57c8cce4 81bacddf-2202-4f01-bd6b-b7b91829bde4 6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737 -------------------------------------- 2018-11-22T01:39:26.115Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete VfModule enter: {"deleteVfModuleRequest":{"messageId":"6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vfModuleId":"67ffd9e8-a51a-419b-b6bb-d8b44450550c","vfModuleStackId":"","msoRequest":{"requestId":"6eabc0b1-2e0c-477f-8ed2-108a57c8cce4","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T01:39:26.126Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T01:39:26.127Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - deleteVNFVolumes exit 2018-11-22T01:39:26.128Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T01:39:26.128Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T01:39:26.129Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T01:39:26.131Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T01:39:26.131Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 7 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 01:39:26 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T01:39:26.127Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[fb2a5b52-2391-4869-b396-ade943e6cc75], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:39:26.135Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:39:26.194Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:39:26.194Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:39:26.194Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:39:26.194Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:39:26 GMT]} 2018-11-22T01:39:26.194Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:39:26.194Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:39:26.196Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T01:39:26.196Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:39:26.196Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:39:26.196Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:39:26.197Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:39:26.197Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:39:26.197Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[9322a964-9490-4838-82d9-8c7adafb66f5], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.197Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:39:26.197Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:39:26.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:39:26.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T01:39:26.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:39:26.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:39:26 GMT]} 2018-11-22T01:39:26.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T01:39:26.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:39:26.243Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T01:39:26.243Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T01:39:26.258Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Deleting VF Module in ONAP-POD-01-Rail-06/709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T01:39:26.258Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.258Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:39:26.258Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.258Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:39:26.259Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[6eabc0b1-2e0c-477f-8ed2-108a57c8cce4], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.259Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:39:26.259Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:39:26.356Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:39:26.359Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:39:26.359Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:39:26.359Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:39:26 GMT]} 2018-11-22T01:39:26.359Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:39:26.360Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:39:26.361Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T01:39:26.361Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Query multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T01:39:26.362Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.362Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:39:26.363Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.363Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:39:26.363Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[6eabc0b1-2e0c-477f-8ed2-108a57c8cce4], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.363Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:39:26.364Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:39:26.406Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:39:26.407Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:39:26.407Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:39:26.408Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:39:26 GMT]} 2018-11-22T01:39:26.412Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:39:26.412Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:39:26.413Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T01:39:26.592Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making GET request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[6eabc0b1-2e0c-477f-8ed2-108a57c8cce4], X-ONAP-InvocationID=[a912c28f-ad67-4816-a60b-0aadf5234a27], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.623Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from GET: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:39:26 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:39:26.625Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Mulicloud GET Response: org.apache.cxf.jaxrs.impl.ResponseImpl@26723537 2018-11-22T01:39:26.626Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:39:26.626Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:39:26.626Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:39:26.626Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:39:26.627Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Delete multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T01:39:26.627Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.627Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:39:26.627Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:39:26.628Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:39:26.628Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[6eabc0b1-2e0c-477f-8ed2-108a57c8cce4], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.628Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:39:26.628Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:39:26.656Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:39:26.656Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:39:26.656Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:39:26.656Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:39:26 GMT]} 2018-11-22T01:39:26.657Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:39:26.657Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:39:26.658Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T01:39:26.666Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making DELETE request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[6eabc0b1-2e0c-477f-8ed2-108a57c8cce4], X-ONAP-InvocationID=[e0be9da8-bd89-4123-9ae0-c1037eadf472], X-ONAP-PartnerName=[SO]} 2018-11-22T01:39:26.690Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from DELETE: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:39:26 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:39:26.699Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Delete response is: java.io.ByteArrayInputStream@28a720e3 2018-11-22T01:39:26.699Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:39:26.699Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:39:26.704Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:39:26.704Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:39:26.754Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: 6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737 true 67ffd9e8-a51a-419b-b6bb-d8b44450550c 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:39:26.754Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737 2018-11-22T01:39:26.764Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.BpelRestClient - Content is: 6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737 true 67ffd9e8-a51a-419b-b6bb-d8b44450550c 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:39:27.754Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T01:39:27.754Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T01:39:27.754Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T01:39:27.781Z|6eabc0b1-2e0c-477f-8ed2-108a57c8cce4| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete vfModule exit: code=200, resp= 6eabc0b1-2e0c-477f-8ed2-108a57c8cce4-1542850765737 true 67ffd9e8-a51a-419b-b6bb-d8b44450550c 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:40:52.840Z|trace-#| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 8 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules Encoding: UTF-8 Http-Method: POST Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[5048], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 oof-vnf vfwhpa_stack 09273fc4-d1cd-4f4f-892d-8a6044c71c74 vfw_hpa_v2/vfw_hpa_v2 0 VfwHpaV2..base_vfw..module-0 1.0 2293ec86-d504-4f2e-8afe-6e6cd1e5e936 true true true vf_module_id 09273fc4-d1cd-4f4f-892d-8a6044c71c74 vsn_private_0_port_vnic_type normal onap_private_net_id shared vsn_name_0 vsink vnf_name oof-vnf vpg_private_0_port_vnic_type normal workload_context vf_module_name vfwhpa_stack unprotected_private_net_id private vfw_image_name ubuntu-16.04 vnf_id 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 vfw_private_0_port_vnic_type normal protected_private_net_id vfw_protected_private_net firewall_flavor_name onap.hpa.flavor31 vfw_name_0 test-oof-post1 vpg_name_0 vpktgen public_net_id external onap_private_net_cidr 100.100.105.0/24 sink_flavor_name onap.large environment_context onap_private_subnet_id shared sec_group default packetgen_flavor_name onap.hpa.flavor32 vfw_private_1_port_vnic_type normal vpg_private_ip_0 200.200.200.251 vfw_private_ip_0 200.200.200.252 protected_private_net_cidr 192.169.1.0/24 vsn_private_ip_1 100.100.105.250 vfw_private_ip_2 100.100.105.252 vpg_private_ip_1 100.100.105.251 vfw_private_ip_1 192.168.1.201 vsn_private_ip_0 192.168.1.202 unprotected_private_net_cidr 200.200.200.0/24 vf_module_index 0 vpg_private_1_port_vnic_type normal vfw_private_2_port_vnic_type normal vsn_private_1_port_vnic_type normal fa0effc9-52f9-4c34-8dcd-8de0074bd63e 81bacddf-2202-4f01-bd6b-b7b91829bde4 fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 -------------------------------------- 2018-11-22T01:40:52.847Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vnfType":"vfw_hpa_v2/vfw_hpa_v2 0","vnfVersion":"1.0","vfModuleId":"09273fc4-d1cd-4f4f-892d-8a6044c71c74","vfModuleName":"vfwhpa_stack","vfModuleType":"VfwHpaV2..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"2293ec86-d504-4f2e-8afe-6e6cd1e5e936","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"09273fc4-d1cd-4f4f-892d-8a6044c71c74","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","vnf_name":"oof-vnf","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","workload_context":"","vfw_name_0":"test-oof-post1","vf_module_name":"vfwhpa_stack","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","vfw_private_2_port_vnic_type":"normal","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","environment_context":"","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net","vf_module_index":"0"},"msoRequest":{"requestId":"fa0effc9-52f9-4c34-8dcd-8de0074bd63e","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T01:40:52.848Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask start 2018-11-22T01:40:52.849Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - completeVnfVfModuleType=vfw_hpa_v2/vfw_hpa_v2 0::VfwHpaV2..base_vfw..module-0 2018-11-22T01:40:52.849Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T01:40:52.848Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - createVfModule exit 2018-11-22T01:40:52.849Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:52.849Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:52.849Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T01:40:52.849Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:40:52.850Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:52.850Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:40:52.850Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[51ee963a-131d-4bd4-8c5a-a252ba2b5dc9], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:40:52.850Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:40:52.850Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T01:40:52.850Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:40:52.850Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T01:40:52.850Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T01:40:52.851Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 8 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 01:40:52 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T01:40:52.876Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:40:52.876Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:40:52.876Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:40:52.876Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:40:52 GMT]} 2018-11-22T01:40:52.877Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:40:52.877Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:40:52.880Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T01:40:52.880Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:40:52.880Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:40:52.881Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:40:52.881Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:40:52.881Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:40:52.881Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[aaac44cc-980c-439c-af73-5b1428534b53], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:40:52.881Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:40:52.881Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:40:52.896Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:40:52.896Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T01:40:52.896Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:40:52.896Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:40:52 GMT]} 2018-11-22T01:40:52.896Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T01:40:52.896Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:40:52.897Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T01:40:52.897Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T01:40:52.899Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - inputs: item 0: vf_module_id=09273fc4-d1cd-4f4f-892d-8a6044c71c74 item 1: sink_flavor_name=onap.large item 2: packetgen_flavor_name=onap.hpa.flavor32 item 3: vnf_name=oof-vnf item 4: public_net_id=external item 5: vfw_private_ip_1=192.168.1.201 item 6: onap_private_subnet_id=shared item 7: vfw_private_ip_0=200.200.200.252 item 8: sec_group=default item 9: vfw_private_ip_2=100.100.105.252 item 10: workload_context= item 11: vfw_name_0=test-oof-post1 item 12: vf_module_name=vfwhpa_stack item 13: onap_private_net_cidr=100.100.105.0/24 item 14: vpg_private_1_port_vnic_type=normal item 15: vfw_private_1_port_vnic_type=normal item 16: vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09 item 17: vsn_private_1_port_vnic_type=normal item 18: vfw_private_2_port_vnic_type=normal item 19: vpg_name_0=vpktgen item 20: vpg_private_ip_1=100.100.105.251 item 21: vsn_private_ip_0=192.168.1.202 item 22: vpg_private_ip_0=200.200.200.251 item 23: protected_private_net_cidr=192.169.1.0/24 item 24: vsn_private_ip_1=100.100.105.250 item 25: unprotected_private_net_cidr=200.200.200.0/24 item 26: vfw_private_0_port_vnic_type=normal item 27: firewall_flavor_name=onap.hpa.flavor31 item 28: vsn_name_0=vsink item 29: onap_private_net_id=shared item 30: vpg_private_0_port_vnic_type=normal item 31: unprotected_private_net_id=private item 32: vsn_private_0_port_vnic_type=normal item 33: environment_context= item 34: vfw_image_name=ubuntu-16.04 item 35: protected_private_net_id=vfw_protected_private_net item 36: vf_module_index=0 2018-11-22T01:40:52.900Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - requestType = , volumeGroupStackId = null, baseStackId = null 2018-11-22T01:40:53.060Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Found vfModuleCust entry org.onap.so.db.catalog.beans.VfModuleCustomization@5b90984b[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@30ebf306[modelUUID=4e338668-ae41-4e3e-9a9a-45ac03f1babf,modelInvariantUUID=7f664dbe-b99a-48c4-b4a6-8e01b188dc5f,modelName=VfwHpaV2..base_vfw..module-0,modelVersion=1,description=,isBase=true,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@3d4c9199[artifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,templateName=base_vfw.yaml,templateBody=########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=YzViNDY5NGUxYTIwZjI5NTA2Mjg3YmI2NTMyNjAyZDI=,created=2018-11-21 16:25:56.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@1b23107a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=firewall_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@b414f30[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3662980c[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@76cdeb60[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@319e4f3f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@749d2d7f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4010bac1[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1d5322e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=pub_key,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@74ad40d4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@45d98cf5[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@38659dcc[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@245e4f21[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@535ad2c4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@29496ce0[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7b542601[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@31968a23[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5ea5fa21[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1d2c2e39[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_2,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@409bd1ff[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7a1c9c89[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@185a5f9f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_artifact_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6bb8b90c[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_2_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@21d9a84f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sink_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@33728449[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4875257d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@88cfa1a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7cf7aa4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@72dd0f88[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4b5d4734[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@419d4931[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@203e4ec7[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@124177a4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1b12e58e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7eb623ed[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@24d7d14b[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=packetgen_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6e505b45[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6b35b411[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3dfb01fc[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=key_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@231d2a1e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=nexus_artifact_repo,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4359aa16[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4feb08f0[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@77f41246[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@30413f18[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_0_port_vnic_type,required=false,paramType=string,paramAlias=]],childTemplates=[]],created=2018-11-21 16:25:56.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@5b90984b[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@30ebf306]],vnfResources=org.onap.so.db.catalog.beans.VnfResource@592f6d3[modelUUID=a367b6e2-59fe-4d68-9e98-8f67b0cb1a4d,modelInvariantUUID=7dbfc099-771e-4022-a6b7-3d1b708e2644,modelName=vfw_hpa_v2,modelVersion=1.0,toscaNodeType=org.openecomp.resource.vf.VfwHpaV2,description=vfw hpa,orchestrationMode=HEAT,aicVersionMin=,aicVersionMax=,created=2018-11-21 16:25:56.0,heatTemplates=,vnfResourceCustomizations=[org.onap.so.db.catalog.beans.VnfResourceCustomization@79b9e20[modelCustomizationUUID=54a6a4ad-bb29-44e2-94bb-83533e68b795,modelInstanceName=vfw_hpa_v2 0,created=2018-11-21 16:25:56.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstfdd_e@7a9f63c0,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@5b90984b[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@30ebf306]],vnfcInstanceGroupCustomizations=[]]]]]] 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[fa0effc9-52f9-4c34-8dcd-8de0074bd63e], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:40:53.061Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:40:53.125Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:40:53.125Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:40:53.125Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:40:53.125Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:40:52 GMT]} 2018-11-22T01:40:53.130Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:40:53.130Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:40:53.131Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:53.131Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:40:53.131Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:53.131Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:40:53.131Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[fa0effc9-52f9-4c34-8dcd-8de0074bd63e], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:40:53.132Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:40:53.132Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:40:53.190Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:40:53.190Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:40:53.190Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:40:53.191Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:40:52 GMT]} 2018-11-22T01:40:53.191Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:40:53.191Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:40:53.192Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T01:40:53.192Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - This is a BASE Module request 2018-11-22T01:40:53.192Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got HEAT Template from DB: ########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh 2018-11-22T01:40:53.192Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got Heat Environment from DB: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:40:53.192Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - paramSet has 43 entries 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vf_module_id is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sink_flavor_name is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: packetgen_flavor_name is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: public_net_id is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_1 is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_subnet_id is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_0 is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sec_group is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_2 is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_name_0 is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_cidr is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_1_port_vnic_type is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_1_port_vnic_type is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vnf_id is of type string 2018-11-22T01:40:53.193Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_1_port_vnic_type is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_2_port_vnic_type is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_name_0 is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_1 is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_0 is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_0 is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_cidr is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_1 is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_cidr is of type string 2018-11-22T01:40:53.194Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_0_port_vnic_type is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: firewall_flavor_name is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_name_0 is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_id is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_0_port_vnic_type is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_id is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_0_port_vnic_type is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_image_name is of type string 2018-11-22T01:40:53.211Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_id is of type string 2018-11-22T01:40:53.212Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Ignoring extra inputs: [vnf_name, workload_context, vf_module_name, environment_context, vf_module_index] 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter pub_key appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_ip appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter demo_artifacts_version appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_artifact_name appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter cloud_env appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_port appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter install_script_version appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter key_name appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_version appears to be in environment - do not count as missing 2018-11-22T01:40:53.216Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_name appears to be in environment - do not count as missing 2018-11-22T01:40:53.217Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - No missing parameters found - ok to proceed 2018-11-22T01:40:53.217Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:40:53.217Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids 2018-11-22T01:40:53.217Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles 2018-11-22T01:40:53.237Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:40:53.237Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoCommonUtils - stack request:CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=09273fc4-d1cd-4f4f-892d-8a6044c71c74, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T01:40:53.237Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - ERROR making multicloud JSON body com.fasterxml.jackson.databind.JsonMappingException: No content to map due to end-of-input at [Source: ; line: 1, column: 0] at com.fasterxml.jackson.databind.JsonMappingException.from(JsonMappingException.java:270) at com.fasterxml.jackson.databind.ObjectMapper._initForReading(ObjectMapper.java:3854) at com.fasterxml.jackson.databind.ObjectMapper._readMapAndClose(ObjectMapper.java:3799) at com.fasterxml.jackson.databind.ObjectMapper.readTree(ObjectMapper.java:2397) at org.onap.so.openstack.utils.MsoMulticloudUtils.createStack(MsoMulticloudUtils.java:191) at org.onap.so.openstack.utils.MsoMulticloudUtils.instantiateVdu(MsoMulticloudUtils.java:660) at org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl.createVfModule(MsoVnfPluginAdapterImpl.java:1098) at org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl$$FastClassBySpringCGLIB$$2ff25d29.invoke() at org.springframework.cglib.proxy.MethodProxy.invoke(MethodProxy.java:204) at org.springframework.aop.framework.CglibAopProxy$CglibMethodInvocation.invokeJoinpoint(CglibAopProxy.java:736) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:157) at org.springframework.transaction.interceptor.TransactionInterceptor$1.proceedWithInvocation(TransactionInterceptor.java:99) at org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:282) at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:96) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179) at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:671) at org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl$$EnhancerBySpringCGLIB$$25f9c99.createVfModule() at org.onap.so.adapters.vnf.VnfAdapterRestV2$CreateVfModuleTask.run(VnfAdapterRestV2.java:445) at java.lang.Thread.run(Thread.java:748) 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[fa0effc9-52f9-4c34-8dcd-8de0074bd63e], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:40:53.238Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:40:53.262Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:40:53.262Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:40:53.262Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:40:53.262Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:40:52 GMT]} 2018-11-22T01:40:53.263Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:40:53.263Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:40:53.264Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T01:40:53.264Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T01:40:53.366Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making POST request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[fa0effc9-52f9-4c34-8dcd-8de0074bd63e], X-ONAP-InvocationID=[dca0e270-ba1a-4560-9b00-f610c9854506], X-ONAP-PartnerName=[SO]} 2018-11-22T01:40:53.367Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - {"generic-vnf-id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vf-module-id":"09273fc4-d1cd-4f4f-892d-8a6044c71c74"} 2018-11-22T01:40:53.417Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from POST: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:40:53 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:40:53.419Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:40:53.419Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:40:53.419Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:40:53.419Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:40:53.419Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - VF Module vfwhpa_stack successfully created 2018-11-22T01:40:53.522Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 ONAP-POD-01-Rail-06 fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 CFY fa0effc9-52f9-4c34-8dcd-8de0074bd63e 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:40:53.523Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 2018-11-22T01:40:53.523Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.BpelRestClient - Content is: fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 ONAP-POD-01-Rail-06 fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 CFY fa0effc9-52f9-4c34-8dcd-8de0074bd63e 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:40:55.811Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T01:40:55.811Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T01:40:55.811Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T01:40:55.901Z|fa0effc9-52f9-4c34-8dcd-8de0074bd63e| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask exit: code=200, resp= fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 ONAP-POD-01-Rail-06 fa0effc9-52f9-4c34-8dcd-8de0074bd63e-1542850852367 CFY fa0effc9-52f9-4c34-8dcd-8de0074bd63e 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:47:58.548Z|| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 9 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules/09273fc4-d1cd-4f4f-892d-8a6044c71c74 Encoding: UTF-8 Http-Method: DELETE Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[813], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 09273fc4-d1cd-4f4f-892d-8a6044c71c74 true 90bd1cda-7615-4d3b-99c2-dfe844c2a1e8 81bacddf-2202-4f01-bd6b-b7b91829bde4 90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159 -------------------------------------- 2018-11-22T01:47:58.559Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete VfModule enter: {"deleteVfModuleRequest":{"messageId":"90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vfModuleId":"09273fc4-d1cd-4f4f-892d-8a6044c71c74","vfModuleStackId":"","msoRequest":{"requestId":"90bd1cda-7615-4d3b-99c2-dfe844c2a1e8","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T01:47:58.560Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.560Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - deleteVNFVolumes exit 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:47:58.561Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[c3c15746-3bea-4c72-a43a-c73cdaff3a99], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:47:58.561Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:47:58.561Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T01:47:58.562Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T01:47:58.562Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T01:47:58.564Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 9 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 01:47:58 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T01:47:58.597Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:47:58.597Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:47:58.597Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:47:58.597Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:47:58 GMT]} 2018-11-22T01:47:58.597Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:47:58.598Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:47:58.601Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T01:47:58.601Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:47:58.601Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:47:58.601Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:47:58.601Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:47:58.601Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:47:58.601Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[6b31983f-3f1d-40e0-abb8-69cbc6533f87], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.602Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:47:58.602Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:47:58.612Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:47:58.612Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T01:47:58.613Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:47:58.613Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:47:58 GMT]} 2018-11-22T01:47:58.613Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T01:47:58.613Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:47:58.613Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T01:47:58.613Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T01:47:58.615Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Deleting VF Module in ONAP-POD-01-Rail-06/709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T01:47:58.615Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.615Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:47:58.615Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.615Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:47:58.616Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[90bd1cda-7615-4d3b-99c2-dfe844c2a1e8], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.616Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:47:58.616Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:47:58.657Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:47:58.657Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:47:58.657Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:47:58.657Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:47:58 GMT]} 2018-11-22T01:47:58.676Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:47:58.676Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:47:58.678Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T01:47:58.678Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Query multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T01:47:58.678Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.679Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:47:58.679Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.679Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:47:58.679Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[90bd1cda-7615-4d3b-99c2-dfe844c2a1e8], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.679Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:47:58.679Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:47:58.702Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:47:58.702Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:47:58.702Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:47:58.702Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:47:58 GMT]} 2018-11-22T01:47:58.703Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:47:58.703Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:47:58.705Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T01:47:58.716Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making GET request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[90bd1cda-7615-4d3b-99c2-dfe844c2a1e8], X-ONAP-InvocationID=[ffe17963-9e83-4ff3-a5b7-329dacedd55b], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.741Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from GET: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:47:58 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:47:58.742Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Mulicloud GET Response: org.apache.cxf.jaxrs.impl.ResponseImpl@7929c2db 2018-11-22T01:47:58.742Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:47:58.742Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:47:58.742Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:47:58.743Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:47:58.743Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Delete multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T01:47:58.743Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.743Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:47:58.743Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:47:58.744Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:47:58.744Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[90bd1cda-7615-4d3b-99c2-dfe844c2a1e8], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.744Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:47:58.744Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:47:58.771Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:47:58.771Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:47:58.771Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:47:58.771Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:47:58 GMT]} 2018-11-22T01:47:58.773Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:47:58.774Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:47:58.780Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T01:47:58.801Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making DELETE request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[90bd1cda-7615-4d3b-99c2-dfe844c2a1e8], X-ONAP-InvocationID=[447a6e1c-b0fb-477c-bb8b-3d25a46bb01a], X-ONAP-PartnerName=[SO]} 2018-11-22T01:47:58.855Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from DELETE: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:47:58 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:47:58.857Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Delete response is: java.io.ByteArrayInputStream@1b2cc3e 2018-11-22T01:47:58.857Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:47:58.857Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:47:58.858Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:47:58.858Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:47:58.989Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: 90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:47:58.990Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159 2018-11-22T01:47:58.990Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.BpelRestClient - Content is: 90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:48:00.113Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T01:48:00.120Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T01:48:00.121Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T01:48:00.160Z|90bd1cda-7615-4d3b-99c2-dfe844c2a1e8| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete vfModule exit: code=200, resp= 90bd1cda-7615-4d3b-99c2-dfe844c2a1e8-1542851278159 true 09273fc4-d1cd-4f4f-892d-8a6044c71c74 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:54:37.173Z|| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 10 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules Encoding: UTF-8 Http-Method: POST Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[5311], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 oof-vnf vfwhpa_stack 0a30d7c1-6dff-401a-b20a-c690ff5decbd vfw_hpa_v2/vfw_hpa_v2 0 VfwHpaV2..base_vfw..module-0 1.0 2293ec86-d504-4f2e-8afe-6e6cd1e5e936 true true true vf_module_id 0a30d7c1-6dff-401a-b20a-c690ff5decbd vsn_private_0_port_vnic_type normal template_type heat oof_directives {} onap_private_net_id shared vsn_name_0 vsink vnf_name oof-vnf vpg_private_0_port_vnic_type normal workload_context vf_module_name vfwhpa_stack unprotected_private_net_id private vfw_image_name ubuntu-16.04 vnf_id 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 vfw_private_0_port_vnic_type normal protected_private_net_id vfw_protected_private_net firewall_flavor_name onap.hpa.flavor31 vfw_name_0 test-oof-post1 vpg_name_0 vpktgen public_net_id external onap_private_net_cidr 100.100.105.0/24 sink_flavor_name onap.large environment_context onap_private_subnet_id shared sec_group default packetgen_flavor_name onap.hpa.flavor32 vfw_private_1_port_vnic_type normal vpg_private_ip_0 200.200.200.251 sdnc_directives {} vfw_private_ip_0 200.200.200.252 protected_private_net_cidr 192.169.1.0/24 vsn_private_ip_1 100.100.105.250 vfw_private_ip_2 100.100.105.252 vpg_private_ip_1 100.100.105.251 vfw_private_ip_1 192.168.1.201 vsn_private_ip_0 192.168.1.202 unprotected_private_net_cidr 200.200.200.0/24 vf_module_index 0 vpg_private_1_port_vnic_type normal vfw_private_2_port_vnic_type normal vsn_private_1_port_vnic_type normal ce5bcfb8-46de-4b2f-8bb5-40643a27baa1 81bacddf-2202-4f01-bd6b-b7b91829bde4 ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 -------------------------------------- 2018-11-22T01:54:37.198Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vnfType":"vfw_hpa_v2/vfw_hpa_v2 0","vnfVersion":"1.0","vfModuleId":"0a30d7c1-6dff-401a-b20a-c690ff5decbd","vfModuleName":"vfwhpa_stack","vfModuleType":"VfwHpaV2..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"2293ec86-d504-4f2e-8afe-6e6cd1e5e936","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"0a30d7c1-6dff-401a-b20a-c690ff5decbd","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","vnf_name":"oof-vnf","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","workload_context":"","vfw_name_0":"test-oof-post1","vf_module_name":"vfwhpa_stack","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","template_type":"heat","vfw_private_2_port_vnic_type":"normal","oof_directives":"{}","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","environment_context":"","sdnc_directives":"{}","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net","vf_module_index":"0"},"msoRequest":{"requestId":"ce5bcfb8-46de-4b2f-8bb5-40643a27baa1","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T01:54:37.199Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - createVfModule exit 2018-11-22T01:54:37.199Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T01:54:37.200Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T01:54:37.200Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T01:54:37.200Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T01:54:37.201Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask start 2018-11-22T01:54:37.201Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - completeVnfVfModuleType=vfw_hpa_v2/vfw_hpa_v2 0::VfwHpaV2..base_vfw..module-0 2018-11-22T01:54:37.201Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T01:54:37.201Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.201Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.201Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:54:37.201Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.202Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:54:37.202Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[56355ad6-7a6e-4d10-84f7-5765aec761a8], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:54:37.201Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 10 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 01:54:37 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T01:54:37.202Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:54:37.202Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:54:37.241Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:54:37.241Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:54:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:54:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:54:37 GMT]} 2018-11-22T01:54:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:54:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:54:37.244Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[f49bfba2-a8b0-4673-8eaf-7ebffff56fb1], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:54:37.244Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:54:37.245Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:54:37.255Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:54:37.255Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T01:54:37.255Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:54:37.255Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:54:37 GMT]} 2018-11-22T01:54:37.255Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T01:54:37.255Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:54:37.256Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T01:54:37.256Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T01:54:37.257Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - inputs: item 0: vf_module_id=0a30d7c1-6dff-401a-b20a-c690ff5decbd item 1: sink_flavor_name=onap.large item 2: packetgen_flavor_name=onap.hpa.flavor32 item 3: vnf_name=oof-vnf item 4: public_net_id=external item 5: vfw_private_ip_1=192.168.1.201 item 6: onap_private_subnet_id=shared item 7: vfw_private_ip_0=200.200.200.252 item 8: sec_group=default item 9: vfw_private_ip_2=100.100.105.252 item 10: workload_context= item 11: vfw_name_0=test-oof-post1 item 12: vf_module_name=vfwhpa_stack item 13: onap_private_net_cidr=100.100.105.0/24 item 14: vpg_private_1_port_vnic_type=normal item 15: vfw_private_1_port_vnic_type=normal item 16: vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09 item 17: vsn_private_1_port_vnic_type=normal item 18: template_type=heat item 19: vfw_private_2_port_vnic_type=normal item 20: oof_directives={} item 21: vpg_name_0=vpktgen item 22: vpg_private_ip_1=100.100.105.251 item 23: vsn_private_ip_0=192.168.1.202 item 24: vpg_private_ip_0=200.200.200.251 item 25: protected_private_net_cidr=192.169.1.0/24 item 26: vsn_private_ip_1=100.100.105.250 item 27: unprotected_private_net_cidr=200.200.200.0/24 item 28: vfw_private_0_port_vnic_type=normal item 29: firewall_flavor_name=onap.hpa.flavor31 item 30: vsn_name_0=vsink item 31: onap_private_net_id=shared item 32: vpg_private_0_port_vnic_type=normal item 33: unprotected_private_net_id=private item 34: vsn_private_0_port_vnic_type=normal item 35: environment_context= item 36: sdnc_directives={} item 37: vfw_image_name=ubuntu-16.04 item 38: protected_private_net_id=vfw_protected_private_net item 39: vf_module_index=0 2018-11-22T01:54:37.257Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - requestType = , volumeGroupStackId = null, baseStackId = null 2018-11-22T01:54:37.318Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Found vfModuleCust entry org.onap.so.db.catalog.beans.VfModuleCustomization@5bf68a01[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@5e3936cb[modelUUID=4e338668-ae41-4e3e-9a9a-45ac03f1babf,modelInvariantUUID=7f664dbe-b99a-48c4-b4a6-8e01b188dc5f,modelName=VfwHpaV2..base_vfw..module-0,modelVersion=1,description=,isBase=true,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@1e794aa3[artifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,templateName=base_vfw.yaml,templateBody=########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=YzViNDY5NGUxYTIwZjI5NTA2Mjg3YmI2NTMyNjAyZDI=,created=2018-11-21 16:25:56.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@2930a2ca[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=firewall_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@490878d3[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7afc9980[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4a73be2a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@43fbded7[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@68fd7c68[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@32533fc7[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7ec94960[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=pub_key,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4ff701de[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@61ce1b4d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@59182f32[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2bd909c6[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2faf8c2c[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@9e381ed[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2f731876[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3a568cdd[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@45dd3f53[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@32e03a8e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_2,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6f7043cd[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7d397234[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@299c3a7d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_artifact_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3ab432c0[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_2_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4042a693[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sink_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@29d92c20[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2a0fda5b[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7cf06084[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3faa2043[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@64889244[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@51149e53[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1eb7af32[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6ae59482[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2d8e6d87[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@51470800[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@782d2a2f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@cf46ab2[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=packetgen_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@306420b9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@8c53a24[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@70f12c9f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=key_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@46ef5867[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=nexus_artifact_repo,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3cf3e693[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@551de338[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@40379957[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3320d12f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_0_port_vnic_type,required=false,paramType=string,paramAlias=]],childTemplates=[]],created=2018-11-21 16:25:56.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@5bf68a01[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@5e3936cb]],vnfResources=org.onap.so.db.catalog.beans.VnfResource@8bed9b8[modelUUID=a367b6e2-59fe-4d68-9e98-8f67b0cb1a4d,modelInvariantUUID=7dbfc099-771e-4022-a6b7-3d1b708e2644,modelName=vfw_hpa_v2,modelVersion=1.0,toscaNodeType=org.openecomp.resource.vf.VfwHpaV2,description=vfw hpa,orchestrationMode=HEAT,aicVersionMin=,aicVersionMax=,created=2018-11-21 16:25:56.0,heatTemplates=,vnfResourceCustomizations=[org.onap.so.db.catalog.beans.VnfResourceCustomization@40c4c6e4[modelCustomizationUUID=54a6a4ad-bb29-44e2-94bb-83533e68b795,modelInstanceName=vfw_hpa_v2 0,created=2018-11-21 16:25:56.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstfdd_e@782c7e48,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@5bf68a01[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@5e3936cb]],vnfcInstanceGroupCustomizations=[]]]]]] 2018-11-22T01:54:37.322Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.322Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:54:37.322Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.322Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:54:37.323Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ce5bcfb8-46de-4b2f-8bb5-40643a27baa1], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:54:37.323Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:54:37.323Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:54:37.345Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:54:37.345Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:54:37.345Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:54:37.345Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:54:37 GMT]} 2018-11-22T01:54:37.345Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:54:37.346Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ce5bcfb8-46de-4b2f-8bb5-40643a27baa1], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:54:37.360Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:54:37.396Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:54:37.396Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:54:37.396Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:54:37.396Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:54:37 GMT]} 2018-11-22T01:54:37.398Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:54:37.398Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:54:37.399Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - This is a BASE Module request 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got HEAT Template from DB: ########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got Heat Environment from DB: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - paramSet has 43 entries 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vf_module_id is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sink_flavor_name is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: packetgen_flavor_name is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: public_net_id is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_1 is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_subnet_id is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_0 is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sec_group is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_2 is of type string 2018-11-22T01:54:37.400Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_name_0 is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_cidr is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_1_port_vnic_type is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_1_port_vnic_type is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vnf_id is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_1_port_vnic_type is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_2_port_vnic_type is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_name_0 is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_1 is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_0 is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_0 is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_cidr is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_1 is of type string 2018-11-22T01:54:37.401Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_cidr is of type string 2018-11-22T01:54:37.409Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_0_port_vnic_type is of type string 2018-11-22T01:54:37.410Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: firewall_flavor_name is of type string 2018-11-22T01:54:37.410Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_name_0 is of type string 2018-11-22T01:54:37.410Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_id is of type string 2018-11-22T01:54:37.411Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_0_port_vnic_type is of type string 2018-11-22T01:54:37.411Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_id is of type string 2018-11-22T01:54:37.411Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_0_port_vnic_type is of type string 2018-11-22T01:54:37.411Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_image_name is of type string 2018-11-22T01:54:37.411Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_id is of type string 2018-11-22T01:54:37.411Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Ignoring extra inputs: [vnf_name, workload_context, vf_module_name, environment_context, vf_module_index] 2018-11-22T01:54:37.427Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter pub_key appears to be in environment - do not count as missing 2018-11-22T01:54:37.428Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_ip appears to be in environment - do not count as missing 2018-11-22T01:54:37.428Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter demo_artifacts_version appears to be in environment - do not count as missing 2018-11-22T01:54:37.428Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_artifact_name appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter cloud_env appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_port appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter install_script_version appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter key_name appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_version appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_name appears to be in environment - do not count as missing 2018-11-22T01:54:37.429Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - No missing parameters found - ok to proceed 2018-11-22T01:54:37.430Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Found oof_directives: {} 2018-11-22T01:54:37.430Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Found sdnc_directives: {} 2018-11-22T01:54:37.430Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Found template_type: heat 2018-11-22T01:54:37.430Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:54:37.430Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids 2018-11-22T01:54:37.430Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles 2018-11-22T01:54:37.432Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T01:54:37.433Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoCommonUtils - stack request:CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=0a30d7c1-6dff-401a-b20a-c690ff5decbd, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T01:54:37.433Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Template Data is: {stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=0a30d7c1-6dff-401a-b20a-c690ff5decbd, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T01:54:37.462Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Request is: org.onap.so.openstack.utils.MulticloudRequest@3f216411[genericVnfId=20d5da70-0d9e-4b1e-8585-ceddc19c7e09,vfModuleId=0a30d7c1-6dff-401a-b20a-c690ff5decbd,oofDirectives={},sdncDirectives={},templateType=heat,templateData=CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=0a30d7c1-6dff-401a-b20a-c690ff5decbd, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null}] 2018-11-22T01:54:37.463Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.463Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T01:54:37.463Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T01:54:37.463Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T01:54:37.476Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ce5bcfb8-46de-4b2f-8bb5-40643a27baa1], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T01:54:37.477Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T01:54:37.477Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T01:54:37.502Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T01:54:37.502Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T01:54:37.502Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T01:54:37.502Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 01:54:37 GMT]} 2018-11-22T01:54:37.503Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T01:54:37.503Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T01:54:37.504Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T01:54:37.504Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T01:54:37.579Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making POST request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[ce5bcfb8-46de-4b2f-8bb5-40643a27baa1], X-ONAP-InvocationID=[5061af67-7f6e-4062-8dce-e6d2e3f5b4fc], X-ONAP-PartnerName=[SO]} 2018-11-22T01:54:37.714Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - {"generic-vnf-id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vf-module-id":"0a30d7c1-6dff-401a-b20a-c690ff5decbd","oof_directives":{},"sdnc_directives":{},"template_type":"heat","template_data":{"template":"##########################################################################\n#\n#==================LICENSE_START==========================================\n#\n#\n# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n#==================LICENSE_END============================================\n#\n# ECOMP is a trademark and service mark of AT&T Intellectual Property.\n#\n##########################################################################\n\nheat_template_version: 2013-05-23\n\ndescription: Heat template that deploys vFirewall demo app for ONAP\n\n##############\n# #\n# PARAMETERS #\n# #\n##############\n\nparameters:\n vfw_image_name:\n type: string\n label: Image name or ID\n description: Image to be used for compute instance\n firewall_flavor_name:\n type: string\n label: Firewall Flavor\n description: Type of instance (flavor) to be used for firewall VM\n sink_flavor_name:\n type: string\n label: Flavor\n description: Type of instance (flavor) to be used for vSink VM\n packetgen_flavor_name:\n type: string\n label: Flavor\n description: Type of instance (flavor) to be used for packet generator\n public_net_id:\n type: string\n label: Public network name or ID\n description: Public network that enables remote connection to VNF\n unprotected_private_net_id:\n type: string\n label: Unprotected private network name or ID\n description: Private network that connects vPacketGenerator with vFirewall\n protected_private_net_id:\n type: string\n label: Protected private network name or ID\n description: Private network that connects vFirewall with vSink\n onap_private_net_id:\n type: string\n label: ONAP management network name or ID\n description: Private network that connects ONAP components and the VNF\n onap_private_subnet_id:\n type: string\n label: ONAP management sub-network name or ID\n description: Private sub-network that connects ONAP components and the VNF\n unprotected_private_net_cidr:\n type: string\n label: Unprotected private network CIDR\n description: The CIDR of the unprotected private network\n protected_private_net_cidr:\n type: string\n label: Protected private network CIDR\n description: The CIDR of the protected private network\n onap_private_net_cidr:\n type: string\n label: ONAP private network CIDR\n description: The CIDR of the protected private network\n vfw_private_ip_0:\n type: string\n label: vFirewall private IP address towards the unprotected network\n description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator\n vfw_private_ip_1:\n type: string\n label: vFirewall private IP address towards the protected network\n description: Private IP address that is assigned to the vFirewall to communicate with the vSink\n vfw_private_ip_2:\n type: string\n label: vFirewall private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vFirewall to communicate with ONAP components\n vpg_private_ip_0:\n type: string\n label: vPacketGenerator private IP address towards the unprotected network\n description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall\n vpg_private_ip_1:\n type: string\n label: vPacketGenerator private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components\n vsn_private_ip_0:\n type: string\n label: vSink private IP address towards the protected network\n description: Private IP address that is assigned to the vSink to communicate with the vFirewall\n vsn_private_ip_1:\n type: string\n label: vSink private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vSink to communicate with ONAP components\n vfw_private_0_port_vnic_type:\n type: string\n description: vfw port 0 vnic type (normal, direct)\n default: normal\n vfw_private_1_port_vnic_type:\n type: string\n description: vfw port 1 vnic type (normal, direct)\n default: normal\n vfw_private_2_port_vnic_type:\n type: string\n description: vfw port 2 vnic type (normal, direct)\n default: normal\n vsn_private_0_port_vnic_type:\n type: string\n description: vsn port 0 vnic type (normal, direct)\n default: normal\n vsn_private_1_port_vnic_type:\n type: string\n description: vsn port 1 vnic type (normal, direct)\n default: normal\n vpg_private_0_port_vnic_type:\n type: string\n description: vpg port 0 vnic type (normal, direct)\n default: normal\n vpg_private_1_port_vnic_type:\n type: string\n description: vpg port 1 vnic type (normal, direct)\n default: normal\n vfw_name_0:\n type: string\n label: vFirewall name\n description: Name of the vFirewall\n vpg_name_0:\n type: string\n label: vPacketGenerator name\n description: Name of the vPacketGenerator\n vsn_name_0:\n type: string\n label: vSink name\n description: Name of the vSink\n vnf_id:\n type: string\n label: VNF ID\n description: The VNF ID is provided by ONAP\n vf_module_id:\n type: string\n label: vFirewall module ID\n description: The vFirewall Module ID is provided by ONAP\n dcae_collector_ip:\n type: string\n label: DCAE collector IP address\n description: IP address of the DCAE collector\n dcae_collector_port:\n type: string\n label: DCAE collector port\n description: Port of the DCAE collector\n key_name:\n type: string\n label: Key pair name\n description: Public/Private key pair name\n pub_key:\n type: string\n label: Public key\n description: Public key to be installed on the compute instance\n install_script_version:\n type: string\n label: Installation script version number\n description: Version number of the scripts that install the vFW demo app\n demo_artifacts_version:\n type: string\n label: Artifacts version used in demo vnfs\n description: Artifacts (jar, tar.gz) version used in demo vnfs\n nexus_artifact_repo:\n type: string\n description: Root URL for the Nexus repository for Maven artifacts.\n default: \"https://nexus.onap.org\"\n cloud_env:\n type: string\n label: Cloud environment\n description: Cloud environment (e.g., openstack, rackspace)\n sec_group:\n type: string\n description: ONAP Security Group\n sdnc_model_name:\n type: string\n description: SDNC Model Name metatada\n sdnc_model_version:\n type: string\n description: SDNC Model Version metatada\n sdnc_artifact_name:\n type: string\n description: SDNC Artifact Name metatada\n\n#############\n# #\n# RESOURCES #\n# #\n#############\n\nresources:\n random-str:\n type: OS::Heat::RandomString\n properties:\n length: 4\n\n my_keypair:\n type: OS::Nova::KeyPair\n properties:\n name:\n str_replace:\n template: base_rand\n params:\n base: { get_param: key_name }\n rand: { get_resource: random-str }\n public_key: { get_param: pub_key }\n save_private_key: false\n\n unprotected_private_network:\n type: OS::Neutron::Net\n properties:\n name: { get_param: unprotected_private_net_id }\n\n protected_private_network:\n type: OS::Neutron::Net\n properties:\n name: { get_param: protected_private_net_id }\n\n unprotected_private_subnet:\n type: OS::Neutron::Subnet\n properties:\n network_id: { get_resource: unprotected_private_network }\n cidr: { get_param: unprotected_private_net_cidr }\n\n protected_private_subnet:\n type: OS::Neutron::Subnet\n properties:\n network_id: { get_resource: protected_private_network }\n cidr: { get_param: protected_private_net_cidr }\n\n # Virtual Firewall instantiation\n vfw_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: unprotected_private_network }\n binding:vnic_type: { get_param: vfw_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: unprotected_private_subnet }, \"ip_address\": { get_param: vfw_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_private_1_port:\n type: OS::Neutron::Port\n properties:\n allowed_address_pairs: [{ \"ip_address\": { get_param: vpg_private_ip_0 }}]\n network: { get_resource: protected_private_network }\n binding:vnic_type: { get_param: vfw_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: protected_private_subnet }, \"ip_address\": { get_param: vfw_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_private_2_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vfw_private_2_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vfw_private_ip_2 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: firewall_flavor_name }\n name: { get_param: vfw_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vfw_private_0_port }\n - port: { get_resource: vfw_private_1_port }\n - port: { get_resource: vfw_private_2_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __dcae_collector_ip__ : { get_param: dcae_collector_ip }\n __dcae_collector_port__ : { get_param: dcae_collector_port }\n __demo_artifacts_version__ : { get_param: demo_artifacts_version }\n __install_script_version__ : { get_param: install_script_version }\n __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 }\n __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 }\n __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 }\n __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }\n __protected_private_net_cidr__ : { get_param: protected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__dcae_collector_ip__\" > /opt/config/dcae_collector_ip.txt\n echo \"__dcae_collector_port__\" > /opt/config/dcae_collector_port.txt\n echo \"__demo_artifacts_version__\" > /opt/config/demo_artifacts_version.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vfw_private_ip_0__\" > /opt/config/vfw_private_ip_0.txt\n echo \"__vfw_private_ip_1__\" > /opt/config/vfw_private_ip_1.txt\n echo \"__vfw_private_ip_2__\" > /opt/config/vfw_private_ip_2.txt\n echo \"__unprotected_private_net_cidr__\" > /opt/config/unprotected_private_net_cidr.txt\n echo \"__protected_private_net_cidr__\" > /opt/config/protected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh\n cd /opt\n chmod +x v_firewall_install.sh\n ./v_firewall_install.sh\n\n\n # Virtual Packet Generator instantiation\n vpg_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: unprotected_private_network }\n binding:vnic_type: { get_param: vpg_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: unprotected_private_subnet }, \"ip_address\": { get_param: vpg_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vpg_private_1_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vpg_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vpg_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vpg_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: packetgen_flavor_name }\n name: { get_param: vpg_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vpg_private_0_port }\n - port: { get_resource: vpg_private_1_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __fw_ipaddr__: { get_param: vfw_private_ip_0 }\n __protected_net_cidr__: { get_param: protected_private_net_cidr }\n __sink_ipaddr__: { get_param: vsn_private_ip_0 }\n __demo_artifacts_version__ : { get_param: demo_artifacts_version }\n __install_script_version__ : { get_param: install_script_version }\n __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 }\n __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 }\n __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__fw_ipaddr__\" > /opt/config/fw_ipaddr.txt\n echo \"__protected_net_cidr__\" > /opt/config/protected_net_cidr.txt\n echo \"__sink_ipaddr__\" > /opt/config/sink_ipaddr.txt\n echo \"__demo_artifacts_version__\" > /opt/config/demo_artifacts_version.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vpg_private_ip_0__\" > /opt/config/vpg_private_ip_0.txt\n echo \"__vpg_private_ip_1__\" > /opt/config/vpg_private_ip_1.txt\n echo \"__unprotected_private_net_cidr__\" > /opt/config/unprotected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh\n cd /opt\n chmod +x v_packetgen_install.sh\n ./v_packetgen_install.sh\n\n\n # Virtual Sink instantiation\n vsn_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: protected_private_network }\n binding:vnic_type: { get_param: vsn_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: protected_private_subnet }, \"ip_address\": { get_param: vsn_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vsn_private_1_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vsn_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vsn_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vsn_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: sink_flavor_name }\n name: { get_param: vsn_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vsn_private_0_port }\n - port: { get_resource: vsn_private_1_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __protected_net_gw__: { get_param: vfw_private_ip_1 }\n __unprotected_net__: { get_param: unprotected_private_net_cidr }\n __install_script_version__ : { get_param: install_script_version }\n __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 }\n __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 }\n __protected_private_net_cidr__ : { get_param: protected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__protected_net_gw__\" > /opt/config/protected_net_gw.txt\n echo \"__unprotected_net__\" > /opt/config/unprotected_net.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vsn_private_ip_0__\" > /opt/config/vsn_private_ip_0.txt\n echo \"__vsn_private_ip_1__\" > /opt/config/vsn_private_ip_1.txt\n echo \"__protected_private_net_cidr__\" > /opt/config/protected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh\n cd /opt\n chmod +x v_sink_install.sh\n ./v_sink_install.sh\n","stack_name":"vfwhpa_stack","parameters":{"vf_module_id":"0a30d7c1-6dff-401a-b20a-c690ff5decbd","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","vfw_name_0":"test-oof-post1","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","vfw_private_2_port_vnic_type":"normal","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net"},"timeout_mins":120,"environment":"parameters:\n cloud_env: \"openstack\"\n dcae_collector_ip: \"10.0.4.1\"\n dcae_collector_port: \"8081\"\n demo_artifacts_version: \"1.3.0-SNAPSHOT\"\n firewall_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n install_script_version: \"1.3.0-SNAPSHOT\"\n key_name: \"vfw_key\"\n nexus_artifact_repo: \"https://nexus.onap.org\"\n onap_private_net_cidr: \"10.0.0.0/16\"\n onap_private_net_id: \"PUT THE ONAP PRIVATE NETWORK NAME HERE\"\n onap_private_subnet_id: \"PUT THE ONAP PRIVATE NETWORK NAME HERE\"\n packetgen_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n protected_private_net_cidr: \"192.168.20.0/24\"\n protected_private_net_id: \"zdfw1fwl01_protected\"\n pub_key: \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN\"\n public_net_id: \"PUT THE PUBLIC NETWORK ID HERE\"\n sec_group: \"PUT THE ONAP SECURITY GROUP HERE\"\n sink_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n unprotected_private_net_cidr: \"192.168.10.0/24\"\n unprotected_private_net_id: \"zdfw1fwl01_unprotected\"\n vf_module_id: \"vFirewall\"\n vfw_image_name: \"PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)\"\n vfw_name_0: \"zdfw1fwl01fwl01\"\n vfw_private_0_port_vnic_type: \"normal or direct\"\n vfw_private_1_port_vnic_type: \"normal or direct\"\n vfw_private_2_port_vnic_type: \"normal or direct\"\n vfw_private_ip_0: \"192.168.10.100\"\n vfw_private_ip_1: \"192.168.20.100\"\n vfw_private_ip_2: \"10.0.100.1\"\n vnf_id: \"vFirewall_demo_app\"\n vpg_name_0: \"zdfw1fwl01pgn01\"\n vpg_private_0_port_vnic_type: \"normal or direct\"\n vpg_private_1_port_vnic_type: \"normal or direct\"\n vpg_private_ip_0: \"192.168.10.200\"\n vpg_private_ip_1: \"10.0.100.2\"\n vsn_name_0: \"zdfw1fwl01snk01\"\n vsn_private_0_port_vnic_type: \"normal or direct\"\n vsn_private_1_port_vnic_type: \"normal or direct\"\n vsn_private_ip_0: \"192.168.20.250\"\n vsn_private_ip_1: \"10.0.100.3\"\n sdnc_artifact_name: \n sdnc_model_name: \n sdnc_model_version: \n","disable_rollback":true}} 2018-11-22T01:54:37.750Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from POST: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 01:54:37 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T01:54:37.750Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T01:54:37.750Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T01:54:37.750Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T01:54:37.751Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T01:54:37.751Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - VF Module vfwhpa_stack successfully created 2018-11-22T01:54:37.816Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 ONAP-POD-01-Rail-06 ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 CFY ce5bcfb8-46de-4b2f-8bb5-40643a27baa1 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 0a30d7c1-6dff-401a-b20a-c690ff5decbd true 0a30d7c1-6dff-401a-b20a-c690ff5decbd 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:54:37.820Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 2018-11-22T01:54:37.820Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.BpelRestClient - Content is: ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 ONAP-POD-01-Rail-06 ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 CFY ce5bcfb8-46de-4b2f-8bb5-40643a27baa1 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 0a30d7c1-6dff-401a-b20a-c690ff5decbd true 0a30d7c1-6dff-401a-b20a-c690ff5decbd 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T01:54:39.435Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T01:54:39.435Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T01:54:39.436Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T01:54:39.480Z|ce5bcfb8-46de-4b2f-8bb5-40643a27baa1| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask exit: code=200, resp= ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 ONAP-POD-01-Rail-06 ce5bcfb8-46de-4b2f-8bb5-40643a27baa1-1542851676212 CFY ce5bcfb8-46de-4b2f-8bb5-40643a27baa1 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 0a30d7c1-6dff-401a-b20a-c690ff5decbd true 0a30d7c1-6dff-401a-b20a-c690ff5decbd 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:24:37.198Z|trace-#| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 11 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules/0a30d7c1-6dff-401a-b20a-c690ff5decbd Encoding: UTF-8 Http-Method: DELETE Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[813], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 0a30d7c1-6dff-401a-b20a-c690ff5decbd true 39cef090-5d11-4727-b09a-2983ab623375 81bacddf-2202-4f01-bd6b-b7b91829bde4 39cef090-5d11-4727-b09a-2983ab623375-1542853476966 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/39cef090-5d11-4727-b09a-2983ab623375-1542853476966 -------------------------------------- 2018-11-22T02:24:37.203Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete VfModule enter: {"deleteVfModuleRequest":{"messageId":"39cef090-5d11-4727-b09a-2983ab623375-1542853476966","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/39cef090-5d11-4727-b09a-2983ab623375-1542853476966","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vfModuleId":"0a30d7c1-6dff-401a-b20a-c690ff5decbd","vfModuleStackId":"","msoRequest":{"requestId":"39cef090-5d11-4727-b09a-2983ab623375","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T02:24:37.203Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T02:24:37.204Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.204Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - deleteVNFVolumes exit 2018-11-22T02:24:37.204Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.204Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:24:37.204Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T02:24:37.204Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.204Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:24:37.204Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[f6b491ae-da9a-4cf3-bf85-6a5c79cf1184], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.205Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:24:37.205Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:24:37.204Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T02:24:37.205Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T02:24:37.205Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T02:24:37.206Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 11 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 02:24:37 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T02:24:37.236Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:24:37.237Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:24:37.237Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:24:37.237Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:24:37 GMT]} 2018-11-22T02:24:37.238Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:24:37.238Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:24:37.239Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T02:24:37.239Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:24:37.240Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:24:37.240Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:24:37.240Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:24:37.241Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:24:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[9413c489-c61f-4b6a-be45-670f4ca4fbef], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:24:37.242Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:24:37.258Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:24:37.258Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T02:24:37.258Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:24:37.259Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:24:37 GMT]} 2018-11-22T02:24:37.259Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T02:24:37.259Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:24:37.260Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T02:24:37.260Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T02:24:37.262Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Deleting VF Module in ONAP-POD-01-Rail-06/709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T02:24:37.263Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.263Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:24:37.263Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.263Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:24:37.264Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[39cef090-5d11-4727-b09a-2983ab623375], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.264Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:24:37.265Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:24:37.293Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:24:37.294Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:24:37.294Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:24:37.294Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:24:37 GMT]} 2018-11-22T02:24:37.294Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:24:37.295Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:24:37.297Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T02:24:37.297Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Query multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T02:24:37.298Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.298Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:24:37.298Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.299Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:24:37.299Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[39cef090-5d11-4727-b09a-2983ab623375], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.299Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:24:37.300Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:24:37.347Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:24:37.347Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:24:37.347Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:24:37.348Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:24:37 GMT]} 2018-11-22T02:24:37.348Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:24:37.348Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:24:37.349Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T02:24:37.356Z|39cef090-5d11-4727-b09a-2983ab623375| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making GET request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[39cef090-5d11-4727-b09a-2983ab623375], X-ONAP-InvocationID=[55194b3a-0b09-4dc4-8083-37ded7221a92], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.378Z|39cef090-5d11-4727-b09a-2983ab623375| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from GET: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 02:24:37 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T02:24:37.379Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Mulicloud GET Response: org.apache.cxf.jaxrs.impl.ResponseImpl@60257163 2018-11-22T02:24:37.379Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T02:24:37.379Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T02:24:37.379Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T02:24:37.379Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T02:24:37.379Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Delete multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[39cef090-5d11-4727-b09a-2983ab623375], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:24:37.380Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:24:37.422Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:24:37.422Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:24:37.422Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:24:37.422Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:24:37 GMT]} 2018-11-22T02:24:37.429Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:24:37.430Z|39cef090-5d11-4727-b09a-2983ab623375| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:24:37.431Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T02:24:37.443Z|39cef090-5d11-4727-b09a-2983ab623375| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making DELETE request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[39cef090-5d11-4727-b09a-2983ab623375], X-ONAP-InvocationID=[eca122b0-c9c1-4c83-acba-45cb754e2b8d], X-ONAP-PartnerName=[SO]} 2018-11-22T02:24:37.450Z|39cef090-5d11-4727-b09a-2983ab623375| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from DELETE: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 02:24:37 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T02:24:37.450Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Delete response is: java.io.ByteArrayInputStream@3661bf14 2018-11-22T02:24:37.451Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T02:24:37.451Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T02:24:37.451Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T02:24:37.451Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T02:24:37.482Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: 39cef090-5d11-4727-b09a-2983ab623375-1542853476966 true 0a30d7c1-6dff-401a-b20a-c690ff5decbd 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:24:37.483Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/39cef090-5d11-4727-b09a-2983ab623375-1542853476966 2018-11-22T02:24:37.483Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.BpelRestClient - Content is: 39cef090-5d11-4727-b09a-2983ab623375-1542853476966 true 0a30d7c1-6dff-401a-b20a-c690ff5decbd 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:24:38.458Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T02:24:38.458Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T02:24:38.458Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T02:24:38.462Z|39cef090-5d11-4727-b09a-2983ab623375| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete vfModule exit: code=200, resp= 39cef090-5d11-4727-b09a-2983ab623375-1542853476966 true 0a30d7c1-6dff-401a-b20a-c690ff5decbd 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:26:27.250Z|| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 12 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules Encoding: UTF-8 Http-Method: POST Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[5311], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 oof-vnf vfwhpa_stack 83156158-51fd-4a09-9ccd-5067c3cf3f0b vfw_hpa_v2/vfw_hpa_v2 0 VfwHpaV2..base_vfw..module-0 1.0 2293ec86-d504-4f2e-8afe-6e6cd1e5e936 true true true vf_module_id 83156158-51fd-4a09-9ccd-5067c3cf3f0b vsn_private_0_port_vnic_type normal template_type heat oof_directives {} onap_private_net_id shared vsn_name_0 vsink vnf_name oof-vnf vpg_private_0_port_vnic_type normal workload_context vf_module_name vfwhpa_stack unprotected_private_net_id private vfw_image_name ubuntu-16.04 vnf_id 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 vfw_private_0_port_vnic_type normal protected_private_net_id vfw_protected_private_net firewall_flavor_name onap.hpa.flavor31 vfw_name_0 test-oof-post1 vpg_name_0 vpktgen public_net_id external onap_private_net_cidr 100.100.105.0/24 sink_flavor_name onap.large environment_context onap_private_subnet_id shared sec_group default packetgen_flavor_name onap.hpa.flavor32 vfw_private_1_port_vnic_type normal vpg_private_ip_0 200.200.200.251 sdnc_directives {} vfw_private_ip_0 200.200.200.252 protected_private_net_cidr 192.169.1.0/24 vsn_private_ip_1 100.100.105.250 vfw_private_ip_2 100.100.105.252 vpg_private_ip_1 100.100.105.251 vfw_private_ip_1 192.168.1.201 vsn_private_ip_0 192.168.1.202 unprotected_private_net_cidr 200.200.200.0/24 vf_module_index 0 vpg_private_1_port_vnic_type normal vfw_private_2_port_vnic_type normal vsn_private_1_port_vnic_type normal ed66ab72-69ea-4205-bb12-e29003bbcf28 81bacddf-2202-4f01-bd6b-b7b91829bde4 ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 -------------------------------------- 2018-11-22T02:26:27.313Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vnfType":"vfw_hpa_v2/vfw_hpa_v2 0","vnfVersion":"1.0","vfModuleId":"83156158-51fd-4a09-9ccd-5067c3cf3f0b","vfModuleName":"vfwhpa_stack","vfModuleType":"VfwHpaV2..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"2293ec86-d504-4f2e-8afe-6e6cd1e5e936","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"83156158-51fd-4a09-9ccd-5067c3cf3f0b","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","vnf_name":"oof-vnf","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","workload_context":"","vfw_name_0":"test-oof-post1","vf_module_name":"vfwhpa_stack","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","template_type":"heat","vfw_private_2_port_vnic_type":"normal","oof_directives":"{}","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","environment_context":"","sdnc_directives":"{}","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net","vf_module_index":"0"},"msoRequest":{"requestId":"ed66ab72-69ea-4205-bb12-e29003bbcf28","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T02:26:27.321Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask start 2018-11-22T02:26:27.321Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - completeVnfVfModuleType=vfw_hpa_v2/vfw_hpa_v2 0::VfwHpaV2..base_vfw..module-0 2018-11-22T02:26:27.321Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[33a14071-bd76-468a-bcbb-952639e344fb], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:26:27.322Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:26:27.321Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - createVfModule exit 2018-11-22T02:26:27.324Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T02:26:27.325Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T02:26:27.325Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T02:26:27.327Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T02:26:27.328Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 12 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 02:26:27 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T02:26:27.353Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:26:27.354Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:26:27.354Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:26:27.354Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:26:27 GMT]} 2018-11-22T02:26:27.355Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:26:27.355Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:26:27.368Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T02:26:27.368Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:26:27.368Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:26:27.368Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:26:27.368Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:26:27.368Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:26:27.368Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[07ec72ac-eb1a-4fb6-8754-145751ab7700], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:26:27.369Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:26:27.369Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:26:27.401Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:26:27.401Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T02:26:27.401Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:26:27.401Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:26:27 GMT]} 2018-11-22T02:26:27.401Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T02:26:27.401Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:26:27.404Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T02:26:27.404Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T02:26:27.406Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - inputs: item 0: vf_module_id=83156158-51fd-4a09-9ccd-5067c3cf3f0b item 1: sink_flavor_name=onap.large item 2: packetgen_flavor_name=onap.hpa.flavor32 item 3: vnf_name=oof-vnf item 4: public_net_id=external item 5: vfw_private_ip_1=192.168.1.201 item 6: onap_private_subnet_id=shared item 7: vfw_private_ip_0=200.200.200.252 item 8: sec_group=default item 9: vfw_private_ip_2=100.100.105.252 item 10: workload_context= item 11: vfw_name_0=test-oof-post1 item 12: vf_module_name=vfwhpa_stack item 13: onap_private_net_cidr=100.100.105.0/24 item 14: vpg_private_1_port_vnic_type=normal item 15: vfw_private_1_port_vnic_type=normal item 16: vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09 item 17: vsn_private_1_port_vnic_type=normal item 18: template_type=heat item 19: vfw_private_2_port_vnic_type=normal item 20: oof_directives={} item 21: vpg_name_0=vpktgen item 22: vpg_private_ip_1=100.100.105.251 item 23: vsn_private_ip_0=192.168.1.202 item 24: vpg_private_ip_0=200.200.200.251 item 25: protected_private_net_cidr=192.169.1.0/24 item 26: vsn_private_ip_1=100.100.105.250 item 27: unprotected_private_net_cidr=200.200.200.0/24 item 28: vfw_private_0_port_vnic_type=normal item 29: firewall_flavor_name=onap.hpa.flavor31 item 30: vsn_name_0=vsink item 31: onap_private_net_id=shared item 32: vpg_private_0_port_vnic_type=normal item 33: unprotected_private_net_id=private item 34: vsn_private_0_port_vnic_type=normal item 35: environment_context= item 36: sdnc_directives={} item 37: vfw_image_name=ubuntu-16.04 item 38: protected_private_net_id=vfw_protected_private_net item 39: vf_module_index=0 2018-11-22T02:26:27.406Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - requestType = , volumeGroupStackId = null, baseStackId = null 2018-11-22T02:26:27.460Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Found vfModuleCust entry org.onap.so.db.catalog.beans.VfModuleCustomization@170fa8d1[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@2890c6c6[modelUUID=4e338668-ae41-4e3e-9a9a-45ac03f1babf,modelInvariantUUID=7f664dbe-b99a-48c4-b4a6-8e01b188dc5f,modelName=VfwHpaV2..base_vfw..module-0,modelVersion=1,description=,isBase=true,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@556d26d[artifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,templateName=base_vfw.yaml,templateBody=########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=YzViNDY5NGUxYTIwZjI5NTA2Mjg3YmI2NTMyNjAyZDI=,created=2018-11-21 16:25:56.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@1ee15a06[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=firewall_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5cac2a20[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2c059150[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3446380f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6de85ab9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4e28c5a5[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@68e97150[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3f4e41a2[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=pub_key,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@a98a4e3[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3e934e03[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7a75de5d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2762ed65[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2da8ec0[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@74b35dbc[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@419cf73b[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6c6a6d9a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@279976fc[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@39d18e41[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_2,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@12af2f6[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7d084121[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3acd9004[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_artifact_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@759a6dff[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_2_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@62901297[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sink_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1f02e911[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@317a5e18[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3f8e96d5[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2809bdee[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@70b36d20[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@96853cc[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@38e253ce[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@76fa6b12[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@733ec25e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@258b195e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@11587e48[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@11c163de[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=packetgen_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@a64d8b3[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@340be9a2[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5de17ff1[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=key_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@62df2c25[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=nexus_artifact_repo,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7985e461[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4394c51[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@906e98d[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@73b14278[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_0_port_vnic_type,required=false,paramType=string,paramAlias=]],childTemplates=[]],created=2018-11-21 16:25:56.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@170fa8d1[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@2890c6c6]],vnfResources=org.onap.so.db.catalog.beans.VnfResource@1e7cce60[modelUUID=a367b6e2-59fe-4d68-9e98-8f67b0cb1a4d,modelInvariantUUID=7dbfc099-771e-4022-a6b7-3d1b708e2644,modelName=vfw_hpa_v2,modelVersion=1.0,toscaNodeType=org.openecomp.resource.vf.VfwHpaV2,description=vfw hpa,orchestrationMode=HEAT,aicVersionMin=,aicVersionMax=,created=2018-11-21 16:25:56.0,heatTemplates=,vnfResourceCustomizations=[org.onap.so.db.catalog.beans.VnfResourceCustomization@662ba30b[modelCustomizationUUID=54a6a4ad-bb29-44e2-94bb-83533e68b795,modelInstanceName=vfw_hpa_v2 0,created=2018-11-21 16:25:56.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstfdd_e@23473321,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@170fa8d1[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@2890c6c6]],vnfcInstanceGroupCustomizations=[]]]]]] 2018-11-22T02:26:27.461Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.463Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:26:27.464Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.466Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:26:27.468Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ed66ab72-69ea-4205-bb12-e29003bbcf28], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:26:27.469Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:26:27.469Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:26:27.539Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:26:27.539Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:26:27.540Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:26:27.540Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:26:27 GMT]} 2018-11-22T02:26:27.540Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:26:27.540Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:26:27.542Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.545Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:26:27.545Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.546Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:26:27.547Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ed66ab72-69ea-4205-bb12-e29003bbcf28], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:26:27.548Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:26:27.548Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:26:27.625Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:26:27.627Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:26:27.627Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:26:27.630Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:26:27 GMT]} 2018-11-22T02:26:27.630Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:26:27.630Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:26:27.637Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T02:26:27.638Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - This is a BASE Module request 2018-11-22T02:26:27.640Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got HEAT Template from DB: ########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh 2018-11-22T02:26:27.640Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got Heat Environment from DB: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T02:26:27.641Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - paramSet has 43 entries 2018-11-22T02:26:27.643Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vf_module_id is of type string 2018-11-22T02:26:27.643Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sink_flavor_name is of type string 2018-11-22T02:26:27.643Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: packetgen_flavor_name is of type string 2018-11-22T02:26:27.644Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: public_net_id is of type string 2018-11-22T02:26:27.646Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_1 is of type string 2018-11-22T02:26:27.650Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_subnet_id is of type string 2018-11-22T02:26:27.650Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_0 is of type string 2018-11-22T02:26:27.651Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sec_group is of type string 2018-11-22T02:26:27.655Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_2 is of type string 2018-11-22T02:26:27.656Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_name_0 is of type string 2018-11-22T02:26:27.657Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_cidr is of type string 2018-11-22T02:26:27.657Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_1_port_vnic_type is of type string 2018-11-22T02:26:27.658Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_1_port_vnic_type is of type string 2018-11-22T02:26:27.658Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vnf_id is of type string 2018-11-22T02:26:27.661Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_1_port_vnic_type is of type string 2018-11-22T02:26:27.662Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_2_port_vnic_type is of type string 2018-11-22T02:26:27.663Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_name_0 is of type string 2018-11-22T02:26:27.663Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_1 is of type string 2018-11-22T02:26:27.665Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_0 is of type string 2018-11-22T02:26:27.666Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_0 is of type string 2018-11-22T02:26:27.666Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_cidr is of type string 2018-11-22T02:26:27.667Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_1 is of type string 2018-11-22T02:26:27.667Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_cidr is of type string 2018-11-22T02:26:27.671Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_0_port_vnic_type is of type string 2018-11-22T02:26:27.671Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: firewall_flavor_name is of type string 2018-11-22T02:26:27.671Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_name_0 is of type string 2018-11-22T02:26:27.672Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_id is of type string 2018-11-22T02:26:27.672Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_0_port_vnic_type is of type string 2018-11-22T02:26:27.673Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_id is of type string 2018-11-22T02:26:27.673Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_0_port_vnic_type is of type string 2018-11-22T02:26:27.673Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_image_name is of type string 2018-11-22T02:26:27.673Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_id is of type string 2018-11-22T02:26:27.673Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Ignoring extra inputs: [vnf_name, workload_context, vf_module_name, environment_context, vf_module_index] 2018-11-22T02:26:27.717Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter pub_key appears to be in environment - do not count as missing 2018-11-22T02:26:27.717Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_ip appears to be in environment - do not count as missing 2018-11-22T02:26:27.717Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter demo_artifacts_version appears to be in environment - do not count as missing 2018-11-22T02:26:27.717Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_artifact_name appears to be in environment - do not count as missing 2018-11-22T02:26:27.717Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter cloud_env appears to be in environment - do not count as missing 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_port appears to be in environment - do not count as missing 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter install_script_version appears to be in environment - do not count as missing 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter key_name appears to be in environment - do not count as missing 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_version appears to be in environment - do not count as missing 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_name appears to be in environment - do not count as missing 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - No missing parameters found - ok to proceed 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Found oof_directives: {} 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Found sdnc_directives: {} 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Found template_type: heat 2018-11-22T02:26:27.718Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T02:26:27.719Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids 2018-11-22T02:26:27.719Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles 2018-11-22T02:26:27.720Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T02:26:27.720Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoCommonUtils - stack request:CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=83156158-51fd-4a09-9ccd-5067c3cf3f0b, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T02:26:27.721Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Template Data is: {stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=83156158-51fd-4a09-9ccd-5067c3cf3f0b, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T02:26:27.721Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Request is: org.onap.so.openstack.utils.MulticloudRequest@aecd329[genericVnfId=20d5da70-0d9e-4b1e-8585-ceddc19c7e09,vfModuleId=83156158-51fd-4a09-9ccd-5067c3cf3f0b,oofDirectives={},sdncDirectives={},templateType=heat,templateData=CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=83156158-51fd-4a09-9ccd-5067c3cf3f0b, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null}] 2018-11-22T02:26:27.721Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.722Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:26:27.722Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:26:27.722Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:26:27.722Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ed66ab72-69ea-4205-bb12-e29003bbcf28], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:26:27.722Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:26:27.722Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:26:27.779Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:26:27.779Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:26:27.779Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:26:27.779Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:26:27 GMT]} 2018-11-22T02:26:27.780Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:26:27.780Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:26:27.781Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T02:26:27.781Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T02:26:27.791Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making POST request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[ed66ab72-69ea-4205-bb12-e29003bbcf28], X-ONAP-InvocationID=[77d18721-43e1-4933-b2aa-133f7cdfe438], X-ONAP-PartnerName=[SO]} 2018-11-22T02:26:27.815Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - {"generic-vnf-id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vf-module-id":"83156158-51fd-4a09-9ccd-5067c3cf3f0b","oof_directives":{},"sdnc_directives":{},"template_type":"heat","template_data":{"template":"##########################################################################\n#\n#==================LICENSE_START==========================================\n#\n#\n# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n#==================LICENSE_END============================================\n#\n# ECOMP is a trademark and service mark of AT&T Intellectual Property.\n#\n##########################################################################\n\nheat_template_version: 2013-05-23\n\ndescription: Heat template that deploys vFirewall demo app for ONAP\n\n##############\n# #\n# PARAMETERS #\n# #\n##############\n\nparameters:\n vfw_image_name:\n type: string\n label: Image name or ID\n description: Image to be used for compute instance\n firewall_flavor_name:\n type: string\n label: Firewall Flavor\n description: Type of instance (flavor) to be used for firewall VM\n sink_flavor_name:\n type: string\n label: Flavor\n description: Type of instance (flavor) to be used for vSink VM\n packetgen_flavor_name:\n type: string\n label: Flavor\n description: Type of instance (flavor) to be used for packet generator\n public_net_id:\n type: string\n label: Public network name or ID\n description: Public network that enables remote connection to VNF\n unprotected_private_net_id:\n type: string\n label: Unprotected private network name or ID\n description: Private network that connects vPacketGenerator with vFirewall\n protected_private_net_id:\n type: string\n label: Protected private network name or ID\n description: Private network that connects vFirewall with vSink\n onap_private_net_id:\n type: string\n label: ONAP management network name or ID\n description: Private network that connects ONAP components and the VNF\n onap_private_subnet_id:\n type: string\n label: ONAP management sub-network name or ID\n description: Private sub-network that connects ONAP components and the VNF\n unprotected_private_net_cidr:\n type: string\n label: Unprotected private network CIDR\n description: The CIDR of the unprotected private network\n protected_private_net_cidr:\n type: string\n label: Protected private network CIDR\n description: The CIDR of the protected private network\n onap_private_net_cidr:\n type: string\n label: ONAP private network CIDR\n description: The CIDR of the protected private network\n vfw_private_ip_0:\n type: string\n label: vFirewall private IP address towards the unprotected network\n description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator\n vfw_private_ip_1:\n type: string\n label: vFirewall private IP address towards the protected network\n description: Private IP address that is assigned to the vFirewall to communicate with the vSink\n vfw_private_ip_2:\n type: string\n label: vFirewall private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vFirewall to communicate with ONAP components\n vpg_private_ip_0:\n type: string\n label: vPacketGenerator private IP address towards the unprotected network\n description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall\n vpg_private_ip_1:\n type: string\n label: vPacketGenerator private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components\n vsn_private_ip_0:\n type: string\n label: vSink private IP address towards the protected network\n description: Private IP address that is assigned to the vSink to communicate with the vFirewall\n vsn_private_ip_1:\n type: string\n label: vSink private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vSink to communicate with ONAP components\n vfw_private_0_port_vnic_type:\n type: string\n description: vfw port 0 vnic type (normal, direct)\n default: normal\n vfw_private_1_port_vnic_type:\n type: string\n description: vfw port 1 vnic type (normal, direct)\n default: normal\n vfw_private_2_port_vnic_type:\n type: string\n description: vfw port 2 vnic type (normal, direct)\n default: normal\n vsn_private_0_port_vnic_type:\n type: string\n description: vsn port 0 vnic type (normal, direct)\n default: normal\n vsn_private_1_port_vnic_type:\n type: string\n description: vsn port 1 vnic type (normal, direct)\n default: normal\n vpg_private_0_port_vnic_type:\n type: string\n description: vpg port 0 vnic type (normal, direct)\n default: normal\n vpg_private_1_port_vnic_type:\n type: string\n description: vpg port 1 vnic type (normal, direct)\n default: normal\n vfw_name_0:\n type: string\n label: vFirewall name\n description: Name of the vFirewall\n vpg_name_0:\n type: string\n label: vPacketGenerator name\n description: Name of the vPacketGenerator\n vsn_name_0:\n type: string\n label: vSink name\n description: Name of the vSink\n vnf_id:\n type: string\n label: VNF ID\n description: The VNF ID is provided by ONAP\n vf_module_id:\n type: string\n label: vFirewall module ID\n description: The vFirewall Module ID is provided by ONAP\n dcae_collector_ip:\n type: string\n label: DCAE collector IP address\n description: IP address of the DCAE collector\n dcae_collector_port:\n type: string\n label: DCAE collector port\n description: Port of the DCAE collector\n key_name:\n type: string\n label: Key pair name\n description: Public/Private key pair name\n pub_key:\n type: string\n label: Public key\n description: Public key to be installed on the compute instance\n install_script_version:\n type: string\n label: Installation script version number\n description: Version number of the scripts that install the vFW demo app\n demo_artifacts_version:\n type: string\n label: Artifacts version used in demo vnfs\n description: Artifacts (jar, tar.gz) version used in demo vnfs\n nexus_artifact_repo:\n type: string\n description: Root URL for the Nexus repository for Maven artifacts.\n default: \"https://nexus.onap.org\"\n cloud_env:\n type: string\n label: Cloud environment\n description: Cloud environment (e.g., openstack, rackspace)\n sec_group:\n type: string\n description: ONAP Security Group\n sdnc_model_name:\n type: string\n description: SDNC Model Name metatada\n sdnc_model_version:\n type: string\n description: SDNC Model Version metatada\n sdnc_artifact_name:\n type: string\n description: SDNC Artifact Name metatada\n\n#############\n# #\n# RESOURCES #\n# #\n#############\n\nresources:\n random-str:\n type: OS::Heat::RandomString\n properties:\n length: 4\n\n my_keypair:\n type: OS::Nova::KeyPair\n properties:\n name:\n str_replace:\n template: base_rand\n params:\n base: { get_param: key_name }\n rand: { get_resource: random-str }\n public_key: { get_param: pub_key }\n save_private_key: false\n\n unprotected_private_network:\n type: OS::Neutron::Net\n properties:\n name: { get_param: unprotected_private_net_id }\n\n protected_private_network:\n type: OS::Neutron::Net\n properties:\n name: { get_param: protected_private_net_id }\n\n unprotected_private_subnet:\n type: OS::Neutron::Subnet\n properties:\n network_id: { get_resource: unprotected_private_network }\n cidr: { get_param: unprotected_private_net_cidr }\n\n protected_private_subnet:\n type: OS::Neutron::Subnet\n properties:\n network_id: { get_resource: protected_private_network }\n cidr: { get_param: protected_private_net_cidr }\n\n # Virtual Firewall instantiation\n vfw_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: unprotected_private_network }\n binding:vnic_type: { get_param: vfw_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: unprotected_private_subnet }, \"ip_address\": { get_param: vfw_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_private_1_port:\n type: OS::Neutron::Port\n properties:\n allowed_address_pairs: [{ \"ip_address\": { get_param: vpg_private_ip_0 }}]\n network: { get_resource: protected_private_network }\n binding:vnic_type: { get_param: vfw_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: protected_private_subnet }, \"ip_address\": { get_param: vfw_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_private_2_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vfw_private_2_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vfw_private_ip_2 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: firewall_flavor_name }\n name: { get_param: vfw_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vfw_private_0_port }\n - port: { get_resource: vfw_private_1_port }\n - port: { get_resource: vfw_private_2_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __dcae_collector_ip__ : { get_param: dcae_collector_ip }\n __dcae_collector_port__ : { get_param: dcae_collector_port }\n __demo_artifacts_version__ : { get_param: demo_artifacts_version }\n __install_script_version__ : { get_param: install_script_version }\n __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 }\n __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 }\n __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 }\n __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }\n __protected_private_net_cidr__ : { get_param: protected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__dcae_collector_ip__\" > /opt/config/dcae_collector_ip.txt\n echo \"__dcae_collector_port__\" > /opt/config/dcae_collector_port.txt\n echo \"__demo_artifacts_version__\" > /opt/config/demo_artifacts_version.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vfw_private_ip_0__\" > /opt/config/vfw_private_ip_0.txt\n echo \"__vfw_private_ip_1__\" > /opt/config/vfw_private_ip_1.txt\n echo \"__vfw_private_ip_2__\" > /opt/config/vfw_private_ip_2.txt\n echo \"__unprotected_private_net_cidr__\" > /opt/config/unprotected_private_net_cidr.txt\n echo \"__protected_private_net_cidr__\" > /opt/config/protected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh\n cd /opt\n chmod +x v_firewall_install.sh\n ./v_firewall_install.sh\n\n\n # Virtual Packet Generator instantiation\n vpg_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: unprotected_private_network }\n binding:vnic_type: { get_param: vpg_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: unprotected_private_subnet }, \"ip_address\": { get_param: vpg_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vpg_private_1_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vpg_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vpg_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vpg_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: packetgen_flavor_name }\n name: { get_param: vpg_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vpg_private_0_port }\n - port: { get_resource: vpg_private_1_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __fw_ipaddr__: { get_param: vfw_private_ip_0 }\n __protected_net_cidr__: { get_param: protected_private_net_cidr }\n __sink_ipaddr__: { get_param: vsn_private_ip_0 }\n __demo_artifacts_version__ : { get_param: demo_artifacts_version }\n __install_script_version__ : { get_param: install_script_version }\n __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 }\n __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 }\n __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__fw_ipaddr__\" > /opt/config/fw_ipaddr.txt\n echo \"__protected_net_cidr__\" > /opt/config/protected_net_cidr.txt\n echo \"__sink_ipaddr__\" > /opt/config/sink_ipaddr.txt\n echo \"__demo_artifacts_version__\" > /opt/config/demo_artifacts_version.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vpg_private_ip_0__\" > /opt/config/vpg_private_ip_0.txt\n echo \"__vpg_private_ip_1__\" > /opt/config/vpg_private_ip_1.txt\n echo \"__unprotected_private_net_cidr__\" > /opt/config/unprotected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh\n cd /opt\n chmod +x v_packetgen_install.sh\n ./v_packetgen_install.sh\n\n\n # Virtual Sink instantiation\n vsn_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: protected_private_network }\n binding:vnic_type: { get_param: vsn_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: protected_private_subnet }, \"ip_address\": { get_param: vsn_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vsn_private_1_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vsn_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vsn_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vsn_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: sink_flavor_name }\n name: { get_param: vsn_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vsn_private_0_port }\n - port: { get_resource: vsn_private_1_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __protected_net_gw__: { get_param: vfw_private_ip_1 }\n __unprotected_net__: { get_param: unprotected_private_net_cidr }\n __install_script_version__ : { get_param: install_script_version }\n __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 }\n __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 }\n __protected_private_net_cidr__ : { get_param: protected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__protected_net_gw__\" > /opt/config/protected_net_gw.txt\n echo \"__unprotected_net__\" > /opt/config/unprotected_net.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vsn_private_ip_0__\" > /opt/config/vsn_private_ip_0.txt\n echo \"__vsn_private_ip_1__\" > /opt/config/vsn_private_ip_1.txt\n echo \"__protected_private_net_cidr__\" > /opt/config/protected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh\n cd /opt\n chmod +x v_sink_install.sh\n ./v_sink_install.sh\n","stack_name":"vfwhpa_stack","parameters":{"vf_module_id":"83156158-51fd-4a09-9ccd-5067c3cf3f0b","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","vfw_name_0":"test-oof-post1","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","vfw_private_2_port_vnic_type":"normal","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net"},"timeout_mins":120,"environment":"parameters:\n cloud_env: \"openstack\"\n dcae_collector_ip: \"10.0.4.1\"\n dcae_collector_port: \"8081\"\n demo_artifacts_version: \"1.3.0-SNAPSHOT\"\n firewall_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n install_script_version: \"1.3.0-SNAPSHOT\"\n key_name: \"vfw_key\"\n nexus_artifact_repo: \"https://nexus.onap.org\"\n onap_private_net_cidr: \"10.0.0.0/16\"\n onap_private_net_id: \"PUT THE ONAP PRIVATE NETWORK NAME HERE\"\n onap_private_subnet_id: \"PUT THE ONAP PRIVATE NETWORK NAME HERE\"\n packetgen_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n protected_private_net_cidr: \"192.168.20.0/24\"\n protected_private_net_id: \"zdfw1fwl01_protected\"\n pub_key: \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN\"\n public_net_id: \"PUT THE PUBLIC NETWORK ID HERE\"\n sec_group: \"PUT THE ONAP SECURITY GROUP HERE\"\n sink_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n unprotected_private_net_cidr: \"192.168.10.0/24\"\n unprotected_private_net_id: \"zdfw1fwl01_unprotected\"\n vf_module_id: \"vFirewall\"\n vfw_image_name: \"PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)\"\n vfw_name_0: \"zdfw1fwl01fwl01\"\n vfw_private_0_port_vnic_type: \"normal or direct\"\n vfw_private_1_port_vnic_type: \"normal or direct\"\n vfw_private_2_port_vnic_type: \"normal or direct\"\n vfw_private_ip_0: \"192.168.10.100\"\n vfw_private_ip_1: \"192.168.20.100\"\n vfw_private_ip_2: \"10.0.100.1\"\n vnf_id: \"vFirewall_demo_app\"\n vpg_name_0: \"zdfw1fwl01pgn01\"\n vpg_private_0_port_vnic_type: \"normal or direct\"\n vpg_private_1_port_vnic_type: \"normal or direct\"\n vpg_private_ip_0: \"192.168.10.200\"\n vpg_private_ip_1: \"10.0.100.2\"\n vsn_name_0: \"zdfw1fwl01snk01\"\n vsn_private_0_port_vnic_type: \"normal or direct\"\n vsn_private_1_port_vnic_type: \"normal or direct\"\n vsn_private_ip_0: \"192.168.20.250\"\n vsn_private_ip_1: \"10.0.100.3\"\n sdnc_artifact_name: \n sdnc_model_name: \n sdnc_model_version: \n","disable_rollback":true}} 2018-11-22T02:26:27.822Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from POST: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 02:26:27 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T02:26:27.822Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T02:26:27.822Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T02:26:27.823Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T02:26:27.823Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T02:26:27.823Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - VF Module vfwhpa_stack successfully created 2018-11-22T02:26:27.859Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 ONAP-POD-01-Rail-06 ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 CFY ed66ab72-69ea-4205-bb12-e29003bbcf28 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 83156158-51fd-4a09-9ccd-5067c3cf3f0b true 83156158-51fd-4a09-9ccd-5067c3cf3f0b 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:26:27.859Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 2018-11-22T02:26:27.859Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.BpelRestClient - Content is: ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 ONAP-POD-01-Rail-06 ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 CFY ed66ab72-69ea-4205-bb12-e29003bbcf28 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 83156158-51fd-4a09-9ccd-5067c3cf3f0b true 83156158-51fd-4a09-9ccd-5067c3cf3f0b 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:26:29.172Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T02:26:29.172Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T02:26:29.173Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T02:26:29.181Z|ed66ab72-69ea-4205-bb12-e29003bbcf28| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask exit: code=200, resp= ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 ONAP-POD-01-Rail-06 ed66ab72-69ea-4205-bb12-e29003bbcf28-1542853586705 CFY ed66ab72-69ea-4205-bb12-e29003bbcf28 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true 83156158-51fd-4a09-9ccd-5067c3cf3f0b true 83156158-51fd-4a09-9ccd-5067c3cf3f0b 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:44:50.597Z|trace-#| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 13 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules/83156158-51fd-4a09-9ccd-5067c3cf3f0b Encoding: UTF-8 Http-Method: DELETE Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[813], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 83156158-51fd-4a09-9ccd-5067c3cf3f0b true 1f844267-e13e-4b94-805a-fa12f093de26 81bacddf-2202-4f01-bd6b-b7b91829bde4 1f844267-e13e-4b94-805a-fa12f093de26-1542854690263 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/1f844267-e13e-4b94-805a-fa12f093de26-1542854690263 -------------------------------------- 2018-11-22T02:44:50.607Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete VfModule enter: {"deleteVfModuleRequest":{"messageId":"1f844267-e13e-4b94-805a-fa12f093de26-1542854690263","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/1f844267-e13e-4b94-805a-fa12f093de26-1542854690263","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vfModuleId":"83156158-51fd-4a09-9ccd-5067c3cf3f0b","vfModuleStackId":"","msoRequest":{"requestId":"1f844267-e13e-4b94-805a-fa12f093de26","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T02:44:50.625Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - deleteVNFVolumes exit 2018-11-22T02:44:50.625Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T02:44:50.626Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T02:44:50.626Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T02:44:50.626Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T02:44:50.628Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 13 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 02:44:50 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T02:44:50.639Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T02:44:50.639Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.639Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.639Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:44:50.639Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.640Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:44:50.640Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[10e5ae2f-8634-4987-8e98-976f5959282c], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:50.640Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:44:50.640Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:44:50.723Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:44:50.723Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:44:50.723Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:44:50.724Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:44:50 GMT]} 2018-11-22T02:44:50.731Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:44:50.732Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:44:50.733Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[ceb61b85-2880-4fac-a1d7-3c4fcbbc9a7c], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:50.734Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:44:50.735Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:44:50.781Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:44:50.782Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T02:44:50.782Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:44:50.782Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:44:50 GMT]} 2018-11-22T02:44:50.782Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T02:44:50.782Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:44:50.783Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T02:44:50.783Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T02:44:50.786Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Deleting VF Module in ONAP-POD-01-Rail-06/709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[1f844267-e13e-4b94-805a-fa12f093de26], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:44:50.787Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:44:50.799Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:44:50.799Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:44:50.799Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:44:50.799Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:44:50 GMT]} 2018-11-22T02:44:50.818Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:44:50.819Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:44:50.820Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T02:44:50.820Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Query multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T02:44:50.821Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.821Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:44:50.821Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:50.821Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:44:50.826Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[1f844267-e13e-4b94-805a-fa12f093de26], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:50.830Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:44:50.830Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:44:50.883Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:44:50.884Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:44:50.884Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:44:50.884Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:44:50 GMT]} 2018-11-22T02:44:50.885Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:44:50.885Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:44:50.901Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T02:44:51.056Z|1f844267-e13e-4b94-805a-fa12f093de26| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making GET request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[1f844267-e13e-4b94-805a-fa12f093de26], X-ONAP-InvocationID=[39549599-a0ee-4296-b204-b25ef242bc91], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:51.084Z|1f844267-e13e-4b94-805a-fa12f093de26| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from GET: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 02:44:51 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T02:44:51.085Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Mulicloud GET Response: org.apache.cxf.jaxrs.impl.ResponseImpl@4ee0c967 2018-11-22T02:44:51.085Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T02:44:51.085Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T02:44:51.085Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T02:44:51.085Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T02:44:51.086Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Delete multicloud HEAT stack: in tenant 709ba629fe194f8699b12f9d6ffd86a0 2018-11-22T02:44:51.086Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:51.086Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:44:51.086Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:44:51.086Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:44:51.087Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[1f844267-e13e-4b94-805a-fa12f093de26], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:51.087Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:44:51.087Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:44:51.135Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:44:51.135Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:44:51.135Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:44:51.135Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:44:50 GMT]} 2018-11-22T02:44:51.136Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:44:51.136Z|1f844267-e13e-4b94-805a-fa12f093de26| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:44:51.137Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ 2018-11-22T02:44:51.150Z|1f844267-e13e-4b94-805a-fa12f093de26| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making DELETE request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[1f844267-e13e-4b94-805a-fa12f093de26], X-ONAP-InvocationID=[92de9dfd-0b05-4515-baaf-3c8b89bffac7], X-ONAP-PartnerName=[SO]} 2018-11-22T02:44:51.172Z|1f844267-e13e-4b94-805a-fa12f093de26| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from DELETE: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload/ Response Headers: {connection=[keep-alive], content-type=[text/html], Date=[Thu, 22 Nov 2018 02:44:51 GMT], Server=[openresty], transfer-encoding=[chunked], Vary=[Cookie], X-Frame-Options=[SAMEORIGIN]}

Server Error (500)

2018-11-22T02:44:51.173Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Delete response is: java.io.ByteArrayInputStream@61bf742f 2018-11-22T02:44:51.173Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T02:44:51.173Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Internal Server Error 2018-11-22T02:44:51.173Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T02:44:51.173Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Internal Server Error 2018-11-22T02:44:51.184Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: 1f844267-e13e-4b94-805a-fa12f093de26-1542854690263 true 83156158-51fd-4a09-9ccd-5067c3cf3f0b 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:44:51.184Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/1f844267-e13e-4b94-805a-fa12f093de26-1542854690263 2018-11-22T02:44:51.184Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.BpelRestClient - Content is: 1f844267-e13e-4b94-805a-fa12f093de26-1542854690263 true 83156158-51fd-4a09-9ccd-5067c3cf3f0b 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:44:52.620Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T02:44:52.620Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T02:44:52.620Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T02:44:52.626Z|1f844267-e13e-4b94-805a-fa12f093de26| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Delete vfModule exit: code=200, resp= 1f844267-e13e-4b94-805a-fa12f093de26-1542854690263 true 83156158-51fd-4a09-9ccd-5067c3cf3f0b 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:45:43.896Z|| org.apache.cxf.interceptor.LoggingInInterceptor - Inbound Message ---------------------------- ID: 14 Address: http://so-openstack-adapter.onap:8087/services/rest/v2/vnfs/20d5da70-0d9e-4b1e-8585-ceddc19c7e09/vf-modules Encoding: UTF-8 Http-Method: POST Content-Type: application/xml Headers: {accept-encoding=[gzip,deflate], Authorization=[Basic YnBlbDpwYXNzd29yZDEk], connection=[Keep-Alive], Content-Length=[5311], content-type=[application/xml], host=[so-openstack-adapter.onap:8087], user-agent=[Apache-HttpClient/4.5.5 (Java/1.8.0_181)]} Payload: ONAP-POD-01-Rail-06 709ba629fe194f8699b12f9d6ffd86a0 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 oof-vnf vfwhpa_stack cba6e389-c2da-480c-a0e1-21acfa7137be vfw_hpa_v2/vfw_hpa_v2 0 VfwHpaV2..base_vfw..module-0 1.0 2293ec86-d504-4f2e-8afe-6e6cd1e5e936 true true true vf_module_id cba6e389-c2da-480c-a0e1-21acfa7137be vsn_private_0_port_vnic_type normal template_type heat oof_directives {} onap_private_net_id shared vsn_name_0 vsink vnf_name oof-vnf vpg_private_0_port_vnic_type normal workload_context vf_module_name vfwhpa_stack unprotected_private_net_id private vfw_image_name ubuntu-16.04 vnf_id 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 vfw_private_0_port_vnic_type normal protected_private_net_id vfw_protected_private_net firewall_flavor_name onap.hpa.flavor31 vfw_name_0 test-oof-post1 vpg_name_0 vpktgen public_net_id external onap_private_net_cidr 100.100.105.0/24 sink_flavor_name onap.large environment_context onap_private_subnet_id shared sec_group default packetgen_flavor_name onap.hpa.flavor32 vfw_private_1_port_vnic_type normal vpg_private_ip_0 200.200.200.251 sdnc_directives {} vfw_private_ip_0 200.200.200.252 protected_private_net_cidr 192.169.1.0/24 vsn_private_ip_1 100.100.105.250 vfw_private_ip_2 100.100.105.252 vpg_private_ip_1 100.100.105.251 vfw_private_ip_1 192.168.1.201 vsn_private_ip_0 192.168.1.202 unprotected_private_net_cidr 200.200.200.0/24 vf_module_index 0 vpg_private_1_port_vnic_type normal vfw_private_2_port_vnic_type normal vsn_private_1_port_vnic_type normal 9d443c57-4567-4767-a7a0-8822defd042a 81bacddf-2202-4f01-bd6b-b7b91829bde4 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 -------------------------------------- 2018-11-22T02:45:43.931Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - Create VfModule enter inside VnfAdapterRest: {"createVfModuleRequest":{"messageId":"9d443c57-4567-4767-a7a0-8822defd042a-1542854743450","skipAAI":true,"notificationUrl":"http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/9d443c57-4567-4767-a7a0-8822defd042a-1542854743450","cloudSiteId":"ONAP-POD-01-Rail-06","tenantId":"709ba629fe194f8699b12f9d6ffd86a0","vnfId":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vnfType":"vfw_hpa_v2/vfw_hpa_v2 0","vnfVersion":"1.0","vfModuleId":"cba6e389-c2da-480c-a0e1-21acfa7137be","vfModuleName":"vfwhpa_stack","vfModuleType":"VfwHpaV2..base_vfw..module-0","volumeGroupId":"","volumeGroupStackId":"","baseVfModuleId":"","baseVfModuleStackId":"","modelCustomizationUuid":"2293ec86-d504-4f2e-8afe-6e6cd1e5e936","requestType":"","failIfExists":true,"backout":true,"enableBridge":null,"vfModuleParams":{"vf_module_id":"cba6e389-c2da-480c-a0e1-21acfa7137be","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","vnf_name":"oof-vnf","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","workload_context":"","vfw_name_0":"test-oof-post1","vf_module_name":"vfwhpa_stack","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","template_type":"heat","vfw_private_2_port_vnic_type":"normal","oof_directives":"{}","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","environment_context":"","sdnc_directives":"{}","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net","vf_module_index":"0"},"msoRequest":{"requestId":"9d443c57-4567-4767-a7a0-8822defd042a","serviceInstanceId":"81bacddf-2202-4f01-bd6b-b7b91829bde4"},"synchronous":false}} 2018-11-22T02:45:43.931Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask start 2018-11-22T02:45:43.932Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - completeVnfVfModuleType=vfw_hpa_v2/vfw_hpa_v2 0::VfwHpaV2..base_vfw..module-0 2018-11-22T02:45:43.932Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Entered GetVnfAdapterImpl: mode=null, cloudSite=ONAP-POD-01-Rail-06 2018-11-22T02:45:43.932Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestV2 - createVfModule exit 2018-11-22T02:45:43.932Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:43.932Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:43.932Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:45:43.932Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by bus: [org.apache.cxf.ws.policy.PolicyOutInterceptor@8e426cd] 2018-11-22T02:45:43.932Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:43.932Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:45:43.933Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[190957c1-d98e-4481-8b40-f807ff9ea972], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:45:43.932Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by service: [] 2018-11-22T02:45:43.933Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:45:43.933Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:45:43.933Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by endpoint: [org.apache.cxf.interceptor.MessageSenderInterceptor@783e5e3c, org.apache.cxf.interceptor.LoggingOutInterceptor@1bbe7e7c] 2018-11-22T02:45:43.933Z|trace-#| o.apache.cxf.interceptor.OutgoingChainInterceptor - Interceptors contributed by binding: [org.apache.cxf.jaxrs.interceptor.JAXRSOutInterceptor@718ca150] 2018-11-22T02:45:43.943Z|trace-#| org.apache.cxf.interceptor.LoggingOutInterceptor - Outbound Message --------------------------- ID: 14 Response-Code: 202 Content-Type: application/xml Headers: {Date=[Thu, 22 Nov 2018 02:45:43 GMT], Content-Length=[0]} -------------------------------------- 2018-11-22T02:45:43.964Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:45:43.965Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:45:43.965Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:45:43.965Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:45:44 GMT]} 2018-11-22T02:45:43.975Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:45:43.975Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:45:43.976Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - Got CloudSite: Optional[CloudSite_.._jvstfdd_30[regionId=ONAP-POD-01-Rail-06,identityServiceId=ONAP-POD-01-Rail-06,cloudVersion=,clli=,cloudifyId=,platform=,orchestrator=multicloud]] 2018-11-22T02:45:43.977Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Find Request ID Generating New One: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:45:43.977Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:45:43.977Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:45:43.977Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudifyManager/null 2018-11-22T02:45:43.977Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:45:43.977Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[f2f62a20-9699-4259-a584-e043f92b3680], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:45:43.978Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:45:43.978Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:45:43.996Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:45:43.996Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 404 2018-11-22T02:45:43.996Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:45:43.996Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:45:44 GMT]} 2018-11-22T02:45:43.997Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: 2018-11-22T02:45:43.997Z|trace-#| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:45:43.997Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: mode=MULTICLOUD 2018-11-22T02:45:43.997Z|trace-#| org.onap.so.adapters.vnf.VnfAdapterRestUtils - GetVnfAdapterImpl: Return Plugin (multicloud) Adapter 2018-11-22T02:45:44.005Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - inputs: item 0: vf_module_id=cba6e389-c2da-480c-a0e1-21acfa7137be item 1: sink_flavor_name=onap.large item 2: packetgen_flavor_name=onap.hpa.flavor32 item 3: vnf_name=oof-vnf item 4: public_net_id=external item 5: vfw_private_ip_1=192.168.1.201 item 6: onap_private_subnet_id=shared item 7: vfw_private_ip_0=200.200.200.252 item 8: sec_group=default item 9: vfw_private_ip_2=100.100.105.252 item 10: workload_context= item 11: vfw_name_0=test-oof-post1 item 12: vf_module_name=vfwhpa_stack item 13: onap_private_net_cidr=100.100.105.0/24 item 14: vpg_private_1_port_vnic_type=normal item 15: vfw_private_1_port_vnic_type=normal item 16: vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09 item 17: vsn_private_1_port_vnic_type=normal item 18: template_type=heat item 19: vfw_private_2_port_vnic_type=normal item 20: oof_directives={} item 21: vpg_name_0=vpktgen item 22: vpg_private_ip_1=100.100.105.251 item 23: vsn_private_ip_0=192.168.1.202 item 24: vpg_private_ip_0=200.200.200.251 item 25: protected_private_net_cidr=192.169.1.0/24 item 26: vsn_private_ip_1=100.100.105.250 item 27: unprotected_private_net_cidr=200.200.200.0/24 item 28: vfw_private_0_port_vnic_type=normal item 29: firewall_flavor_name=onap.hpa.flavor31 item 30: vsn_name_0=vsink item 31: onap_private_net_id=shared item 32: vpg_private_0_port_vnic_type=normal item 33: unprotected_private_net_id=private item 34: vsn_private_0_port_vnic_type=normal item 35: environment_context= item 36: sdnc_directives={} item 37: vfw_image_name=ubuntu-16.04 item 38: protected_private_net_id=vfw_protected_private_net item 39: vf_module_index=0 2018-11-22T02:45:44.005Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - requestType = , volumeGroupStackId = null, baseStackId = null 2018-11-22T02:45:44.093Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Found vfModuleCust entry org.onap.so.db.catalog.beans.VfModuleCustomization@70b4d330[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@5de4775a[modelUUID=4e338668-ae41-4e3e-9a9a-45ac03f1babf,modelInvariantUUID=7f664dbe-b99a-48c4-b4a6-8e01b188dc5f,modelName=VfwHpaV2..base_vfw..module-0,modelVersion=1,description=,isBase=true,volumeHeatTemplate=,moduleHeatTemplate=org.onap.so.db.catalog.beans.HeatTemplate@14d5504d[artifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,templateName=base_vfw.yaml,templateBody=########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ,timeoutMinutes=120,version=2,description=created from csar,artifactChecksum=YzViNDY5NGUxYTIwZjI5NTA2Mjg3YmI2NTMyNjAyZDI=,created=2018-11-21 16:25:56.0,parameters=[org.onap.so.db.catalog.beans.HeatTemplateParam@5fcdc187[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=firewall_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@23c1652a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5042aef8[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@738a63c1[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@73c6824e[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2fa7f539[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@205f8c5b[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4d31922f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=pub_key,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5631f35f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@f495253[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_0_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@55ae06c9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=unprotected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@654516c9[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1ca673f0[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6e28e191[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vnf_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@48286a31[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_ip,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@352b3d9c[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@79ad333a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3e18c9a4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_2,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@636259fb[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vsn_private_1_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5eb51b7f[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=demo_artifacts_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@6d057423[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_artifact_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@34c8a829[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_2_port_vnic_type,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@10b1c1d4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sink_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4fe0b7ae[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vf_module_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@49391806[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=cloud_env,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@2e1c5ad1[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vpg_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@7f0c2305[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=dcae_collector_port,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@759a8e65[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@73266a57[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_ip_1,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@54bf41ad[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=install_script_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@d5def05[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_net_cidr,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5888366[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_name_0,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@30988345[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=public_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@1b294eb6[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_image_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@11cd933a[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=packetgen_flavor_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@43350182[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=onap_private_subnet_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@56531351[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sec_group,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4ab54434[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=key_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@3c2dd0fe[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=nexus_artifact_repo,required=false,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@17b24b62[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_version,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@63c46ef4[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=sdnc_model_name,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@5bcaa0af[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=protected_private_net_id,required=true,paramType=string,paramAlias=], org.onap.so.db.catalog.beans.HeatTemplateParam@4078c841[heatTemplateArtifactUuid=f786f57f-416d-456d-a120-fc4d21cf21ae,paramName=vfw_private_0_port_vnic_type,required=false,paramType=string,paramAlias=]],childTemplates=[]],created=2018-11-21 16:25:56.0,heatFiles=[],vfModuleCustomization=[org.onap.so.db.catalog.beans.VfModuleCustomization@70b4d330[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@5de4775a]],vnfResources=org.onap.so.db.catalog.beans.VnfResource@21c14806[modelUUID=a367b6e2-59fe-4d68-9e98-8f67b0cb1a4d,modelInvariantUUID=7dbfc099-771e-4022-a6b7-3d1b708e2644,modelName=vfw_hpa_v2,modelVersion=1.0,toscaNodeType=org.openecomp.resource.vf.VfwHpaV2,description=vfw hpa,orchestrationMode=HEAT,aicVersionMin=,aicVersionMax=,created=2018-11-21 16:25:56.0,heatTemplates=,vnfResourceCustomizations=[org.onap.so.db.catalog.beans.VnfResourceCustomization@68903800[modelCustomizationUUID=54a6a4ad-bb29-44e2-94bb-83533e68b795,modelInstanceName=vfw_hpa_v2 0,created=2018-11-21 16:25:56.0,minInstances=,maxInstances=,availabilityZoneMaxCount=,nfFunction=,nfType=,nfRole=,nfNamingCode=,multiStageDesign=false,vnfResources=org.onap.so.db.catalog.beans.VnfResource_$$_jvstfdd_e@2cc1be43,vfModuleCustomizations=[org.onap.so.db.catalog.beans.VfModuleCustomization@70b4d330[modelCustomizationUUID=2293ec86-d504-4f2e-8afe-6e6cd1e5e936,label=base_vfw,minInstances=1,maxInstances=1,initialCount=1,availabilityZoneCount=,created=2018-11-21 16:25:56.0,volumeHeatEnv=,heatEnvironment=Artifact UUID=3679a5fa-4a72-4ea3-9099-f5f16788977b, name=base_vfw.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: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ,creationTimestamp=11/21/18 4:25 PM,vfModule=org.onap.so.db.catalog.beans.VfModule@5de4775a]],vnfcInstanceGroupCustomizations=[]]]]]] 2018-11-22T02:45:44.094Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:44.094Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:45:44.094Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:44.095Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:45:44.095Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[9d443c57-4567-4767-a7a0-8822defd042a], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:45:44.095Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:45:44.095Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:45:44.159Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:45:44.159Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:45:44.159Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:45:44.160Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:45:44 GMT]} 2018-11-22T02:45:44.161Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:45:44.164Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:45:44.165Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:44.166Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:45:44.166Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:44.166Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:45:44.167Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[9d443c57-4567-4767-a7a0-8822defd042a], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:45:44.167Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:45:44.167Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:45:44.208Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:45:44.208Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:45:44.208Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:45:44.209Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:45:44 GMT]} 2018-11-22T02:45:44.209Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:45:44.209Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:45:44.211Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got MulticloudUtils for vduPlugin 2018-11-22T02:45:44.211Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - This is a BASE Module request 2018-11-22T02:45:44.211Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got HEAT Template from DB: ########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh 2018-11-22T02:45:44.212Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Got Heat Environment from DB: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T02:45:44.212Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - paramSet has 43 entries 2018-11-22T02:45:44.212Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vf_module_id is of type string 2018-11-22T02:45:44.212Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sink_flavor_name is of type string 2018-11-22T02:45:44.213Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: packetgen_flavor_name is of type string 2018-11-22T02:45:44.213Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: public_net_id is of type string 2018-11-22T02:45:44.213Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_1 is of type string 2018-11-22T02:45:44.213Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_subnet_id is of type string 2018-11-22T02:45:44.214Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_0 is of type string 2018-11-22T02:45:44.214Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: sec_group is of type string 2018-11-22T02:45:44.214Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_ip_2 is of type string 2018-11-22T02:45:44.214Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_name_0 is of type string 2018-11-22T02:45:44.215Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_cidr is of type string 2018-11-22T02:45:44.215Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_1_port_vnic_type is of type string 2018-11-22T02:45:44.215Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_1_port_vnic_type is of type string 2018-11-22T02:45:44.215Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vnf_id is of type string 2018-11-22T02:45:44.215Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_1_port_vnic_type is of type string 2018-11-22T02:45:44.216Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_2_port_vnic_type is of type string 2018-11-22T02:45:44.216Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_name_0 is of type string 2018-11-22T02:45:44.216Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_1 is of type string 2018-11-22T02:45:44.216Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_0 is of type string 2018-11-22T02:45:44.217Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_ip_0 is of type string 2018-11-22T02:45:44.217Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_cidr is of type string 2018-11-22T02:45:44.217Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_ip_1 is of type string 2018-11-22T02:45:44.217Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_cidr is of type string 2018-11-22T02:45:44.217Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_private_0_port_vnic_type is of type string 2018-11-22T02:45:44.218Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: firewall_flavor_name is of type string 2018-11-22T02:45:44.218Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_name_0 is of type string 2018-11-22T02:45:44.218Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: onap_private_net_id is of type string 2018-11-22T02:45:44.218Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vpg_private_0_port_vnic_type is of type string 2018-11-22T02:45:44.219Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: unprotected_private_net_id is of type string 2018-11-22T02:45:44.219Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vsn_private_0_port_vnic_type is of type string 2018-11-22T02:45:44.222Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: vfw_image_name is of type string 2018-11-22T02:45:44.222Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Parameter: protected_private_net_id is of type string 2018-11-22T02:45:44.222Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Ignoring extra inputs: [vnf_name, workload_context, vf_module_name, environment_context, vf_module_index] 2018-11-22T02:45:44.225Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter pub_key appears to be in environment - do not count as missing 2018-11-22T02:45:44.226Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_ip appears to be in environment - do not count as missing 2018-11-22T02:45:44.226Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter demo_artifacts_version appears to be in environment - do not count as missing 2018-11-22T02:45:44.226Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_artifact_name appears to be in environment - do not count as missing 2018-11-22T02:45:44.226Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter cloud_env appears to be in environment - do not count as missing 2018-11-22T02:45:44.227Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter dcae_collector_port appears to be in environment - do not count as missing 2018-11-22T02:45:44.227Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter install_script_version appears to be in environment - do not count as missing 2018-11-22T02:45:44.227Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter key_name appears to be in environment - do not count as missing 2018-11-22T02:45:44.234Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_version appears to be in environment - do not count as missing 2018-11-22T02:45:44.234Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - Required parameter sdnc_model_name appears to be in environment - do not count as missing 2018-11-22T02:45:44.234Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - No missing parameters found - ok to proceed 2018-11-22T02:45:44.235Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Found oof_directives: {} 2018-11-22T02:45:44.237Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Found sdnc_directives: {} 2018-11-22T02:45:44.238Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Found template_type: heat 2018-11-22T02:45:44.238Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with an environment variable: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T02:45:44.238Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no files / child template ids 2018-11-22T02:45:44.238Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoCommonUtils - createStackParam called with no heatFiles 2018-11-22T02:45:44.244Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoCommonUtils - Found an environment variable - value: parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: 2018-11-22T02:45:44.244Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoCommonUtils - stack request:CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=cba6e389-c2da-480c-a0e1-21acfa7137be, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T02:45:44.245Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Template Data is: {stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=cba6e389-c2da-480c-a0e1-21acfa7137be, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null} 2018-11-22T02:45:44.255Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Request is: org.onap.so.openstack.utils.MulticloudRequest@3efb584b[genericVnfId=20d5da70-0d9e-4b1e-8585-ceddc19c7e09,vfModuleId=cba6e389-c2da-480c-a0e1-21acfa7137be,oofDirectives={},sdncDirectives={},templateType=heat,templateData=CreateStackParam{stackName='vfwhpa_stack', templateUrl='null', template='########################################################################## # #==================LICENSE_START========================================== # # # Copyright (c) 2017 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 vFirewall demo app for ONAP ############## # # # PARAMETERS # # # ############## parameters: vfw_image_name: type: string label: Image name or ID description: Image to be used for compute instance firewall_flavor_name: type: string label: Firewall Flavor description: Type of instance (flavor) to be used for firewall VM sink_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for vSink VM packetgen_flavor_name: type: string label: Flavor description: Type of instance (flavor) to be used for packet generator public_net_id: type: string label: Public network name or ID description: Public network that enables remote connection to VNF unprotected_private_net_id: type: string label: Unprotected private network name or ID description: Private network that connects vPacketGenerator with vFirewall protected_private_net_id: type: string label: Protected private network name or ID description: Private network that connects vFirewall with vSink onap_private_net_id: type: string label: ONAP management network name or ID description: Private network that connects ONAP components and the VNF onap_private_subnet_id: type: string label: ONAP management sub-network name or ID description: Private sub-network that connects ONAP components and the VNF unprotected_private_net_cidr: type: string label: Unprotected private network CIDR description: The CIDR of the unprotected private network protected_private_net_cidr: type: string label: Protected private network CIDR description: The CIDR of the protected private network onap_private_net_cidr: type: string label: ONAP private network CIDR description: The CIDR of the protected private network vfw_private_ip_0: type: string label: vFirewall private IP address towards the unprotected network description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator vfw_private_ip_1: type: string label: vFirewall private IP address towards the protected network description: Private IP address that is assigned to the vFirewall to communicate with the vSink vfw_private_ip_2: type: string label: vFirewall private IP address towards the ONAP management network description: Private IP address that is assigned to the vFirewall to communicate with ONAP components vpg_private_ip_0: type: string label: vPacketGenerator private IP address towards the unprotected network description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall vpg_private_ip_1: type: string label: vPacketGenerator private IP address towards the ONAP management network description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components vsn_private_ip_0: type: string label: vSink private IP address towards the protected network description: Private IP address that is assigned to the vSink to communicate with the vFirewall vsn_private_ip_1: type: string label: vSink private IP address towards the ONAP management network description: Private IP address that is assigned to the vSink to communicate with ONAP components vfw_private_0_port_vnic_type: type: string description: vfw port 0 vnic type (normal, direct) default: normal vfw_private_1_port_vnic_type: type: string description: vfw port 1 vnic type (normal, direct) default: normal vfw_private_2_port_vnic_type: type: string description: vfw port 2 vnic type (normal, direct) default: normal vsn_private_0_port_vnic_type: type: string description: vsn port 0 vnic type (normal, direct) default: normal vsn_private_1_port_vnic_type: type: string description: vsn port 1 vnic type (normal, direct) default: normal vpg_private_0_port_vnic_type: type: string description: vpg port 0 vnic type (normal, direct) default: normal vpg_private_1_port_vnic_type: type: string description: vpg port 1 vnic type (normal, direct) default: normal vfw_name_0: type: string label: vFirewall name description: Name of the vFirewall vpg_name_0: type: string label: vPacketGenerator name description: Name of the vPacketGenerator vsn_name_0: type: string label: vSink name description: Name of the vSink vnf_id: type: string label: VNF ID description: The VNF ID is provided by ONAP vf_module_id: type: string label: vFirewall module ID description: The vFirewall 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 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 install_script_version: type: string label: Installation script version number description: Version number of the scripts that install the vFW demo app demo_artifacts_version: type: string label: Artifacts version used in demo vnfs description: Artifacts (jar, tar.gz) version used in demo vnfs nexus_artifact_repo: type: string description: Root URL for the Nexus repository for Maven artifacts. default: "https://nexus.onap.org" cloud_env: type: string label: Cloud environment description: Cloud environment (e.g., openstack, rackspace) sec_group: type: string description: ONAP Security Group sdnc_model_name: type: string description: SDNC Model Name metatada sdnc_model_version: type: string description: SDNC Model Version metatada sdnc_artifact_name: type: string description: SDNC Artifact Name metatada ############# # # # RESOURCES # # # ############# resources: random-str: type: OS::Heat::RandomString properties: length: 4 my_keypair: type: OS::Nova::KeyPair properties: name: str_replace: template: base_rand params: base: { get_param: key_name } rand: { get_resource: random-str } public_key: { get_param: pub_key } save_private_key: false unprotected_private_network: type: OS::Neutron::Net properties: name: { get_param: unprotected_private_net_id } protected_private_network: type: OS::Neutron::Net properties: name: { get_param: protected_private_net_id } unprotected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: unprotected_private_network } cidr: { get_param: unprotected_private_net_cidr } protected_private_subnet: type: OS::Neutron::Subnet properties: network_id: { get_resource: protected_private_network } cidr: { get_param: protected_private_net_cidr } # Virtual Firewall instantiation vfw_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vfw_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vfw_private_ip_0 }}] security_groups: - { get_param: sec_group } vfw_private_1_port: type: OS::Neutron::Port properties: allowed_address_pairs: [{ "ip_address": { get_param: vpg_private_ip_0 }}] network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vfw_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vfw_private_ip_1 }}] security_groups: - { get_param: sec_group } vfw_private_2_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vfw_private_2_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vfw_private_ip_2 }}] security_groups: - { get_param: sec_group } vfw_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: firewall_flavor_name } name: { get_param: vfw_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vfw_private_0_port } - port: { get_resource: vfw_private_1_port } - port: { get_resource: vfw_private_2_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} 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 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 } __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 } __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 } __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr } __protected_private_net_cidr__ : { get_param: protected_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 "__dcae_collector_ip__" > /opt/config/dcae_collector_ip.txt echo "__dcae_collector_port__" > /opt/config/dcae_collector_port.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vfw_private_ip_0__" > /opt/config/vfw_private_ip_0.txt echo "__vfw_private_ip_1__" > /opt/config/vfw_private_ip_1.txt echo "__vfw_private_ip_2__" > /opt/config/vfw_private_ip_2.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_private_net_cidr.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh cd /opt chmod +x v_firewall_install.sh ./v_firewall_install.sh # Virtual Packet Generator instantiation vpg_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: unprotected_private_network } binding:vnic_type: { get_param: vpg_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: unprotected_private_subnet }, "ip_address": { get_param: vpg_private_ip_0 }}] security_groups: - { get_param: sec_group } vpg_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vpg_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vpg_private_ip_1 }}] security_groups: - { get_param: sec_group } vpg_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: packetgen_flavor_name } name: { get_param: vpg_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vpg_private_0_port } - port: { get_resource: vpg_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __fw_ipaddr__: { get_param: vfw_private_ip_0 } __protected_net_cidr__: { get_param: protected_private_net_cidr } __sink_ipaddr__: { get_param: vsn_private_ip_0 } __demo_artifacts_version__ : { get_param: demo_artifacts_version } __install_script_version__ : { get_param: install_script_version } __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 } __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 } __unprotected_private_net_cidr__ : { get_param: unprotected_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 "__fw_ipaddr__" > /opt/config/fw_ipaddr.txt echo "__protected_net_cidr__" > /opt/config/protected_net_cidr.txt echo "__sink_ipaddr__" > /opt/config/sink_ipaddr.txt echo "__demo_artifacts_version__" > /opt/config/demo_artifacts_version.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vpg_private_ip_0__" > /opt/config/vpg_private_ip_0.txt echo "__vpg_private_ip_1__" > /opt/config/vpg_private_ip_1.txt echo "__unprotected_private_net_cidr__" > /opt/config/unprotected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh cd /opt chmod +x v_packetgen_install.sh ./v_packetgen_install.sh # Virtual Sink instantiation vsn_private_0_port: type: OS::Neutron::Port properties: network: { get_resource: protected_private_network } binding:vnic_type: { get_param: vsn_private_0_port_vnic_type} fixed_ips: [{"subnet": { get_resource: protected_private_subnet }, "ip_address": { get_param: vsn_private_ip_0 }}] security_groups: - { get_param: sec_group } vsn_private_1_port: type: OS::Neutron::Port properties: network: { get_param: onap_private_net_id } binding:vnic_type: { get_param: vsn_private_1_port_vnic_type} fixed_ips: [{"subnet": { get_param: onap_private_subnet_id }, "ip_address": { get_param: vsn_private_ip_1 }}] security_groups: - { get_param: sec_group } vsn_0: type: OS::Nova::Server properties: image: { get_param: vfw_image_name } flavor: { get_param: sink_flavor_name } name: { get_param: vsn_name_0 } key_name: { get_resource: my_keypair } networks: - network: { get_param: public_net_id } - port: { get_resource: vsn_private_0_port } - port: { get_resource: vsn_private_1_port } metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }} user_data_format: RAW user_data: str_replace: params: __protected_net_gw__: { get_param: vfw_private_ip_1 } __unprotected_net__: { get_param: unprotected_private_net_cidr } __install_script_version__ : { get_param: install_script_version } __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 } __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 } __protected_private_net_cidr__ : { get_param: protected_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 "__protected_net_gw__" > /opt/config/protected_net_gw.txt echo "__unprotected_net__" > /opt/config/unprotected_net.txt echo "__install_script_version__" > /opt/config/install_script_version.txt echo "__vsn_private_ip_0__" > /opt/config/vsn_private_ip_0.txt echo "__vsn_private_ip_1__" > /opt/config/vsn_private_ip_1.txt echo "__protected_private_net_cidr__" > /opt/config/protected_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.vfw&a=vfw-scripts&e=zip&v=__install_script_version__" -o /opt/vfw-scripts-__install_script_version__.zip unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh cd /opt chmod +x v_sink_install.sh ./v_sink_install.sh ', parameters={vf_module_id=cba6e389-c2da-480c-a0e1-21acfa7137be, sink_flavor_name=onap.large, packetgen_flavor_name=onap.hpa.flavor32, public_net_id=external, vfw_private_ip_1=192.168.1.201, onap_private_subnet_id=shared, vfw_private_ip_0=200.200.200.252, sec_group=default, vfw_private_ip_2=100.100.105.252, vfw_name_0=test-oof-post1, onap_private_net_cidr=100.100.105.0/24, vpg_private_1_port_vnic_type=normal, vfw_private_1_port_vnic_type=normal, vnf_id=20d5da70-0d9e-4b1e-8585-ceddc19c7e09, vsn_private_1_port_vnic_type=normal, vfw_private_2_port_vnic_type=normal, vpg_name_0=vpktgen, vpg_private_ip_1=100.100.105.251, vsn_private_ip_0=192.168.1.202, vpg_private_ip_0=200.200.200.251, protected_private_net_cidr=192.169.1.0/24, vsn_private_ip_1=100.100.105.250, unprotected_private_net_cidr=200.200.200.0/24, vfw_private_0_port_vnic_type=normal, firewall_flavor_name=onap.hpa.flavor31, vsn_name_0=vsink, onap_private_net_id=shared, vpg_private_0_port_vnic_type=normal, unprotected_private_net_id=private, vsn_private_0_port_vnic_type=normal, vfw_image_name=ubuntu-16.04, protected_private_net_id=vfw_protected_private_net}, timeoutMinutes=120, environment='parameters: cloud_env: "openstack" dcae_collector_ip: "10.0.4.1" dcae_collector_port: "8081" demo_artifacts_version: "1.3.0-SNAPSHOT" firewall_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" install_script_version: "1.3.0-SNAPSHOT" key_name: "vfw_key" nexus_artifact_repo: "https://nexus.onap.org" onap_private_net_cidr: "10.0.0.0/16" onap_private_net_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" onap_private_subnet_id: "PUT THE ONAP PRIVATE NETWORK NAME HERE" packetgen_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" protected_private_net_cidr: "192.168.20.0/24" protected_private_net_id: "zdfw1fwl01_protected" pub_key: "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" public_net_id: "PUT THE PUBLIC NETWORK ID HERE" sec_group: "PUT THE ONAP SECURITY GROUP HERE" sink_flavor_name: "PUT THE VM FLAVOR NAME HERE (m1.medium suggested)" unprotected_private_net_cidr: "192.168.10.0/24" unprotected_private_net_id: "zdfw1fwl01_unprotected" vf_module_id: "vFirewall" vfw_image_name: "PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)" vfw_name_0: "zdfw1fwl01fwl01" vfw_private_0_port_vnic_type: "normal or direct" vfw_private_1_port_vnic_type: "normal or direct" vfw_private_2_port_vnic_type: "normal or direct" vfw_private_ip_0: "192.168.10.100" vfw_private_ip_1: "192.168.20.100" vfw_private_ip_2: "10.0.100.1" vnf_id: "vFirewall_demo_app" vpg_name_0: "zdfw1fwl01pgn01" vpg_private_0_port_vnic_type: "normal or direct" vpg_private_1_port_vnic_type: "normal or direct" vpg_private_ip_0: "192.168.10.200" vpg_private_ip_1: "10.0.100.2" vsn_name_0: "zdfw1fwl01snk01" vsn_private_0_port_vnic_type: "normal or direct" vsn_private_1_port_vnic_type: "normal or direct" vsn_private_ip_0: "192.168.20.250" vsn_private_ip_1: "10.0.100.3" sdnc_artifact_name: sdnc_model_name: sdnc_model_version: ', disableRollback='true', files=null}] 2018-11-22T02:45:44.255Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Could not Target Entity: http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:44.256Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ===========================request begin================================================ 2018-11-22T02:45:44.256Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - URI : http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06 2018-11-22T02:45:44.256Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Method : GET 2018-11-22T02:45:44.257Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {Accept=[application/hal+json], Content-Length=[0], Content-Type=[application/hal+json], X-ONAP-RequestID=[9d443c57-4567-4767-a7a0-8822defd042a], X-ONAP-InvocationID=[null], X-ONAP-PartnerName=[SO]} 2018-11-22T02:45:44.257Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Request body: 2018-11-22T02:45:44.257Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ==========================request end================================================ 2018-11-22T02:45:44.287Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - ============================response begin========================================== 2018-11-22T02:45:44.287Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status code : 200 2018-11-22T02:45:44.288Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Status text : 2018-11-22T02:45:44.288Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Headers : {X-Application-Context=[application:8082], 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=[Thu, 22 Nov 2018 02:45:44 GMT]} 2018-11-22T02:45:44.289Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - Response body: { "id" : "ONAP-POD-01-Rail-06", "identityService" : { "id" : "ONAP-POD-01-Rail-06", "handler" : { }, "identityServerTypeAsString" : "KEYSTONE", "hibernateLazyInitializer" : { }, "identity_url" : "http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload", "mso_id" : "apih", "mso_pass" : "abc123", "admin_tenant" : "service", "member_role" : null, "tenant_metadata" : null, "identity_server_type" : "KEYSTONE", "identity_authentication_type" : "USERNAME_PASSWORD", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null }, "uri" : null, "region_id" : "ONAP-POD-01-Rail-06", "aic_version" : null, "clli" : null, "platform" : null, "orchestrator" : "multicloud", "cloudify_id" : null, "identity_service_id" : "ONAP-POD-01-Rail-06", "last_updated_by" : null, "creation_timestamp" : "2018-11-20T21:36:27.000+0000", "update_timestamp" : null, "_links" : { "self" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" }, "cloudSite" : { "href" : "http://so-catalog-db-adapter.onap:8082/cloudSite/ONAP-POD-01-Rail-06" } } } 2018-11-22T02:45:44.290Z|9d443c57-4567-4767-a7a0-8822defd042a| o.onap.so.logging.jaxrs.filter.SpringClientFilter - =======================response end================================================= 2018-11-22T02:45:44.291Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T02:45:44.291Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Multicloud Endpoint is: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload 2018-11-22T02:45:44.318Z|9d443c57-4567-4767-a7a0-8822defd042a| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Making POST request to: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Request Headers: {Authorization=[Basic YnBlbDpwYXNzd29yZDEk], content-type=[application/json], Accept=[application/json], X-ONAP-RequestID=[9d443c57-4567-4767-a7a0-8822defd042a], X-ONAP-InvocationID=[68ac5fa4-4dda-47e5-947f-75aa9818ce3b], X-ONAP-PartnerName=[SO]} 2018-11-22T02:45:44.341Z|9d443c57-4567-4767-a7a0-8822defd042a| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - {"generic-vnf-id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vf-module-id":"cba6e389-c2da-480c-a0e1-21acfa7137be","oof_directives":{},"sdnc_directives":{},"template_type":"heat","template_data":{"template":"##########################################################################\n#\n#==================LICENSE_START==========================================\n#\n#\n# Copyright (c) 2017 AT&T Intellectual Property. All rights reserved.\n#\n# Licensed under the Apache License, Version 2.0 (the \"License\");\n# you may not use this file except in compliance with the License.\n# You may obtain a copy of the License at\n# http://www.apache.org/licenses/LICENSE-2.0\n#\n# Unless required by applicable law or agreed to in writing, software\n# distributed under the License is distributed on an \"AS IS\" BASIS,\n# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n# See the License for the specific language governing permissions and\n# limitations under the License.\n#\n#==================LICENSE_END============================================\n#\n# ECOMP is a trademark and service mark of AT&T Intellectual Property.\n#\n##########################################################################\n\nheat_template_version: 2013-05-23\n\ndescription: Heat template that deploys vFirewall demo app for ONAP\n\n##############\n# #\n# PARAMETERS #\n# #\n##############\n\nparameters:\n vfw_image_name:\n type: string\n label: Image name or ID\n description: Image to be used for compute instance\n firewall_flavor_name:\n type: string\n label: Firewall Flavor\n description: Type of instance (flavor) to be used for firewall VM\n sink_flavor_name:\n type: string\n label: Flavor\n description: Type of instance (flavor) to be used for vSink VM\n packetgen_flavor_name:\n type: string\n label: Flavor\n description: Type of instance (flavor) to be used for packet generator\n public_net_id:\n type: string\n label: Public network name or ID\n description: Public network that enables remote connection to VNF\n unprotected_private_net_id:\n type: string\n label: Unprotected private network name or ID\n description: Private network that connects vPacketGenerator with vFirewall\n protected_private_net_id:\n type: string\n label: Protected private network name or ID\n description: Private network that connects vFirewall with vSink\n onap_private_net_id:\n type: string\n label: ONAP management network name or ID\n description: Private network that connects ONAP components and the VNF\n onap_private_subnet_id:\n type: string\n label: ONAP management sub-network name or ID\n description: Private sub-network that connects ONAP components and the VNF\n unprotected_private_net_cidr:\n type: string\n label: Unprotected private network CIDR\n description: The CIDR of the unprotected private network\n protected_private_net_cidr:\n type: string\n label: Protected private network CIDR\n description: The CIDR of the protected private network\n onap_private_net_cidr:\n type: string\n label: ONAP private network CIDR\n description: The CIDR of the protected private network\n vfw_private_ip_0:\n type: string\n label: vFirewall private IP address towards the unprotected network\n description: Private IP address that is assigned to the vFirewall to communicate with the vPacketGenerator\n vfw_private_ip_1:\n type: string\n label: vFirewall private IP address towards the protected network\n description: Private IP address that is assigned to the vFirewall to communicate with the vSink\n vfw_private_ip_2:\n type: string\n label: vFirewall private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vFirewall to communicate with ONAP components\n vpg_private_ip_0:\n type: string\n label: vPacketGenerator private IP address towards the unprotected network\n description: Private IP address that is assigned to the vPacketGenerator to communicate with the vFirewall\n vpg_private_ip_1:\n type: string\n label: vPacketGenerator private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vPacketGenerator to communicate with ONAP components\n vsn_private_ip_0:\n type: string\n label: vSink private IP address towards the protected network\n description: Private IP address that is assigned to the vSink to communicate with the vFirewall\n vsn_private_ip_1:\n type: string\n label: vSink private IP address towards the ONAP management network\n description: Private IP address that is assigned to the vSink to communicate with ONAP components\n vfw_private_0_port_vnic_type:\n type: string\n description: vfw port 0 vnic type (normal, direct)\n default: normal\n vfw_private_1_port_vnic_type:\n type: string\n description: vfw port 1 vnic type (normal, direct)\n default: normal\n vfw_private_2_port_vnic_type:\n type: string\n description: vfw port 2 vnic type (normal, direct)\n default: normal\n vsn_private_0_port_vnic_type:\n type: string\n description: vsn port 0 vnic type (normal, direct)\n default: normal\n vsn_private_1_port_vnic_type:\n type: string\n description: vsn port 1 vnic type (normal, direct)\n default: normal\n vpg_private_0_port_vnic_type:\n type: string\n description: vpg port 0 vnic type (normal, direct)\n default: normal\n vpg_private_1_port_vnic_type:\n type: string\n description: vpg port 1 vnic type (normal, direct)\n default: normal\n vfw_name_0:\n type: string\n label: vFirewall name\n description: Name of the vFirewall\n vpg_name_0:\n type: string\n label: vPacketGenerator name\n description: Name of the vPacketGenerator\n vsn_name_0:\n type: string\n label: vSink name\n description: Name of the vSink\n vnf_id:\n type: string\n label: VNF ID\n description: The VNF ID is provided by ONAP\n vf_module_id:\n type: string\n label: vFirewall module ID\n description: The vFirewall Module ID is provided by ONAP\n dcae_collector_ip:\n type: string\n label: DCAE collector IP address\n description: IP address of the DCAE collector\n dcae_collector_port:\n type: string\n label: DCAE collector port\n description: Port of the DCAE collector\n key_name:\n type: string\n label: Key pair name\n description: Public/Private key pair name\n pub_key:\n type: string\n label: Public key\n description: Public key to be installed on the compute instance\n install_script_version:\n type: string\n label: Installation script version number\n description: Version number of the scripts that install the vFW demo app\n demo_artifacts_version:\n type: string\n label: Artifacts version used in demo vnfs\n description: Artifacts (jar, tar.gz) version used in demo vnfs\n nexus_artifact_repo:\n type: string\n description: Root URL for the Nexus repository for Maven artifacts.\n default: \"https://nexus.onap.org\"\n cloud_env:\n type: string\n label: Cloud environment\n description: Cloud environment (e.g., openstack, rackspace)\n sec_group:\n type: string\n description: ONAP Security Group\n sdnc_model_name:\n type: string\n description: SDNC Model Name metatada\n sdnc_model_version:\n type: string\n description: SDNC Model Version metatada\n sdnc_artifact_name:\n type: string\n description: SDNC Artifact Name metatada\n\n#############\n# #\n# RESOURCES #\n# #\n#############\n\nresources:\n random-str:\n type: OS::Heat::RandomString\n properties:\n length: 4\n\n my_keypair:\n type: OS::Nova::KeyPair\n properties:\n name:\n str_replace:\n template: base_rand\n params:\n base: { get_param: key_name }\n rand: { get_resource: random-str }\n public_key: { get_param: pub_key }\n save_private_key: false\n\n unprotected_private_network:\n type: OS::Neutron::Net\n properties:\n name: { get_param: unprotected_private_net_id }\n\n protected_private_network:\n type: OS::Neutron::Net\n properties:\n name: { get_param: protected_private_net_id }\n\n unprotected_private_subnet:\n type: OS::Neutron::Subnet\n properties:\n network_id: { get_resource: unprotected_private_network }\n cidr: { get_param: unprotected_private_net_cidr }\n\n protected_private_subnet:\n type: OS::Neutron::Subnet\n properties:\n network_id: { get_resource: protected_private_network }\n cidr: { get_param: protected_private_net_cidr }\n\n # Virtual Firewall instantiation\n vfw_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: unprotected_private_network }\n binding:vnic_type: { get_param: vfw_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: unprotected_private_subnet }, \"ip_address\": { get_param: vfw_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_private_1_port:\n type: OS::Neutron::Port\n properties:\n allowed_address_pairs: [{ \"ip_address\": { get_param: vpg_private_ip_0 }}]\n network: { get_resource: protected_private_network }\n binding:vnic_type: { get_param: vfw_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: protected_private_subnet }, \"ip_address\": { get_param: vfw_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_private_2_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vfw_private_2_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vfw_private_ip_2 }}]\n security_groups:\n - { get_param: sec_group }\n\n vfw_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: firewall_flavor_name }\n name: { get_param: vfw_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vfw_private_0_port }\n - port: { get_resource: vfw_private_1_port }\n - port: { get_resource: vfw_private_2_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __dcae_collector_ip__ : { get_param: dcae_collector_ip }\n __dcae_collector_port__ : { get_param: dcae_collector_port }\n __demo_artifacts_version__ : { get_param: demo_artifacts_version }\n __install_script_version__ : { get_param: install_script_version }\n __vfw_private_ip_0__ : { get_param: vfw_private_ip_0 }\n __vfw_private_ip_1__ : { get_param: vfw_private_ip_1 }\n __vfw_private_ip_2__ : { get_param: vfw_private_ip_2 }\n __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }\n __protected_private_net_cidr__ : { get_param: protected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__dcae_collector_ip__\" > /opt/config/dcae_collector_ip.txt\n echo \"__dcae_collector_port__\" > /opt/config/dcae_collector_port.txt\n echo \"__demo_artifacts_version__\" > /opt/config/demo_artifacts_version.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vfw_private_ip_0__\" > /opt/config/vfw_private_ip_0.txt\n echo \"__vfw_private_ip_1__\" > /opt/config/vfw_private_ip_1.txt\n echo \"__vfw_private_ip_2__\" > /opt/config/vfw_private_ip_2.txt\n echo \"__unprotected_private_net_cidr__\" > /opt/config/unprotected_private_net_cidr.txt\n echo \"__protected_private_net_cidr__\" > /opt/config/protected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_firewall_install.sh\n cd /opt\n chmod +x v_firewall_install.sh\n ./v_firewall_install.sh\n\n\n # Virtual Packet Generator instantiation\n vpg_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: unprotected_private_network }\n binding:vnic_type: { get_param: vpg_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: unprotected_private_subnet }, \"ip_address\": { get_param: vpg_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vpg_private_1_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vpg_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vpg_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vpg_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: packetgen_flavor_name }\n name: { get_param: vpg_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vpg_private_0_port }\n - port: { get_resource: vpg_private_1_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __fw_ipaddr__: { get_param: vfw_private_ip_0 }\n __protected_net_cidr__: { get_param: protected_private_net_cidr }\n __sink_ipaddr__: { get_param: vsn_private_ip_0 }\n __demo_artifacts_version__ : { get_param: demo_artifacts_version }\n __install_script_version__ : { get_param: install_script_version }\n __vpg_private_ip_0__ : { get_param: vpg_private_ip_0 }\n __vpg_private_ip_1__ : { get_param: vpg_private_ip_1 }\n __unprotected_private_net_cidr__ : { get_param: unprotected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__fw_ipaddr__\" > /opt/config/fw_ipaddr.txt\n echo \"__protected_net_cidr__\" > /opt/config/protected_net_cidr.txt\n echo \"__sink_ipaddr__\" > /opt/config/sink_ipaddr.txt\n echo \"__demo_artifacts_version__\" > /opt/config/demo_artifacts_version.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vpg_private_ip_0__\" > /opt/config/vpg_private_ip_0.txt\n echo \"__vpg_private_ip_1__\" > /opt/config/vpg_private_ip_1.txt\n echo \"__unprotected_private_net_cidr__\" > /opt/config/unprotected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_packetgen_install.sh\n cd /opt\n chmod +x v_packetgen_install.sh\n ./v_packetgen_install.sh\n\n\n # Virtual Sink instantiation\n vsn_private_0_port:\n type: OS::Neutron::Port\n properties:\n network: { get_resource: protected_private_network }\n binding:vnic_type: { get_param: vsn_private_0_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_resource: protected_private_subnet }, \"ip_address\": { get_param: vsn_private_ip_0 }}]\n security_groups:\n - { get_param: sec_group }\n\n vsn_private_1_port:\n type: OS::Neutron::Port\n properties:\n network: { get_param: onap_private_net_id }\n binding:vnic_type: { get_param: vsn_private_1_port_vnic_type}\n fixed_ips: [{\"subnet\": { get_param: onap_private_subnet_id }, \"ip_address\": { get_param: vsn_private_ip_1 }}]\n security_groups:\n - { get_param: sec_group }\n\n vsn_0:\n type: OS::Nova::Server\n properties:\n image: { get_param: vfw_image_name }\n flavor: { get_param: sink_flavor_name }\n name: { get_param: vsn_name_0 }\n key_name: { get_resource: my_keypair }\n networks:\n - network: { get_param: public_net_id }\n - port: { get_resource: vsn_private_0_port }\n - port: { get_resource: vsn_private_1_port }\n metadata: {vnf_id: { get_param: vnf_id }, vf_module_id: { get_param: vf_module_id }}\n user_data_format: RAW\n user_data:\n str_replace:\n params:\n __protected_net_gw__: { get_param: vfw_private_ip_1 }\n __unprotected_net__: { get_param: unprotected_private_net_cidr }\n __install_script_version__ : { get_param: install_script_version }\n __vsn_private_ip_0__ : { get_param: vsn_private_ip_0 }\n __vsn_private_ip_1__ : { get_param: vsn_private_ip_1 }\n __protected_private_net_cidr__ : { get_param: protected_private_net_cidr }\n __onap_private_net_cidr__ : { get_param: onap_private_net_cidr }\n __cloud_env__ : { get_param: cloud_env }\n __nexus_artifact_repo__: { get_param: nexus_artifact_repo }\n template: |\n #!/bin/bash\n\n # Create configuration files\n mkdir /opt/config\n echo \"__protected_net_gw__\" > /opt/config/protected_net_gw.txt\n echo \"__unprotected_net__\" > /opt/config/unprotected_net.txt\n echo \"__install_script_version__\" > /opt/config/install_script_version.txt\n echo \"__vsn_private_ip_0__\" > /opt/config/vsn_private_ip_0.txt\n echo \"__vsn_private_ip_1__\" > /opt/config/vsn_private_ip_1.txt\n echo \"__protected_private_net_cidr__\" > /opt/config/protected_private_net_cidr.txt\n echo \"__onap_private_net_cidr__\" > /opt/config/onap_private_net_cidr.txt\n echo \"__cloud_env__\" > /opt/config/cloud_env.txt\n echo \"__nexus_artifact_repo__\" > /opt/config/nexus_artifact_repo.txt\n\n # Download and run install script\n apt-get update\n apt-get -y install unzip\n if [[ \"__install_script_version__\" =~ \"SNAPSHOT\" ]]; then REPO=snapshots; else REPO=releases; fi\n curl -k -L \"__nexus_artifact_repo__/service/local/artifact/maven/redirect?r=${REPO}&g=org.onap.demo.vnf.vfw&a=vfw-scripts&e=zip&v=__install_script_version__\" -o /opt/vfw-scripts-__install_script_version__.zip\n unzip -j /opt/vfw-scripts-__install_script_version__.zip -d /opt v_sink_install.sh\n cd /opt\n chmod +x v_sink_install.sh\n ./v_sink_install.sh\n","stack_name":"vfwhpa_stack","parameters":{"vf_module_id":"cba6e389-c2da-480c-a0e1-21acfa7137be","sink_flavor_name":"onap.large","packetgen_flavor_name":"onap.hpa.flavor32","public_net_id":"external","vfw_private_ip_1":"192.168.1.201","onap_private_subnet_id":"shared","vfw_private_ip_0":"200.200.200.252","sec_group":"default","vfw_private_ip_2":"100.100.105.252","vfw_name_0":"test-oof-post1","onap_private_net_cidr":"100.100.105.0/24","vpg_private_1_port_vnic_type":"normal","vfw_private_1_port_vnic_type":"normal","vnf_id":"20d5da70-0d9e-4b1e-8585-ceddc19c7e09","vsn_private_1_port_vnic_type":"normal","vfw_private_2_port_vnic_type":"normal","vpg_name_0":"vpktgen","vpg_private_ip_1":"100.100.105.251","vsn_private_ip_0":"192.168.1.202","vpg_private_ip_0":"200.200.200.251","protected_private_net_cidr":"192.169.1.0/24","vsn_private_ip_1":"100.100.105.250","unprotected_private_net_cidr":"200.200.200.0/24","vfw_private_0_port_vnic_type":"normal","firewall_flavor_name":"onap.hpa.flavor31","vsn_name_0":"vsink","onap_private_net_id":"shared","vpg_private_0_port_vnic_type":"normal","unprotected_private_net_id":"private","vsn_private_0_port_vnic_type":"normal","vfw_image_name":"ubuntu-16.04","protected_private_net_id":"vfw_protected_private_net"},"timeout_mins":120,"environment":"parameters:\n cloud_env: \"openstack\"\n dcae_collector_ip: \"10.0.4.1\"\n dcae_collector_port: \"8081\"\n demo_artifacts_version: \"1.3.0-SNAPSHOT\"\n firewall_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n install_script_version: \"1.3.0-SNAPSHOT\"\n key_name: \"vfw_key\"\n nexus_artifact_repo: \"https://nexus.onap.org\"\n onap_private_net_cidr: \"10.0.0.0/16\"\n onap_private_net_id: \"PUT THE ONAP PRIVATE NETWORK NAME HERE\"\n onap_private_subnet_id: \"PUT THE ONAP PRIVATE NETWORK NAME HERE\"\n packetgen_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n protected_private_net_cidr: \"192.168.20.0/24\"\n protected_private_net_id: \"zdfw1fwl01_protected\"\n pub_key: \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN\"\n public_net_id: \"PUT THE PUBLIC NETWORK ID HERE\"\n sec_group: \"PUT THE ONAP SECURITY GROUP HERE\"\n sink_flavor_name: \"PUT THE VM FLAVOR NAME HERE (m1.medium suggested)\"\n unprotected_private_net_cidr: \"192.168.10.0/24\"\n unprotected_private_net_id: \"zdfw1fwl01_unprotected\"\n vf_module_id: \"vFirewall\"\n vfw_image_name: \"PUT THE VM IMAGE NAME HERE (UBUNTU 1404 required)\"\n vfw_name_0: \"zdfw1fwl01fwl01\"\n vfw_private_0_port_vnic_type: \"normal or direct\"\n vfw_private_1_port_vnic_type: \"normal or direct\"\n vfw_private_2_port_vnic_type: \"normal or direct\"\n vfw_private_ip_0: \"192.168.10.100\"\n vfw_private_ip_1: \"192.168.20.100\"\n vfw_private_ip_2: \"10.0.100.1\"\n vnf_id: \"vFirewall_demo_app\"\n vpg_name_0: \"zdfw1fwl01pgn01\"\n vpg_private_0_port_vnic_type: \"normal or direct\"\n vpg_private_1_port_vnic_type: \"normal or direct\"\n vpg_private_ip_0: \"192.168.10.200\"\n vpg_private_ip_1: \"10.0.100.2\"\n vsn_name_0: \"zdfw1fwl01snk01\"\n vsn_private_0_port_vnic_type: \"normal or direct\"\n vsn_private_1_port_vnic_type: \"normal or direct\"\n vsn_private_ip_0: \"192.168.20.250\"\n vsn_private_ip_1: \"10.0.100.3\"\n sdnc_artifact_name: \n sdnc_model_name: \n sdnc_model_version: \n","disable_rollback":true}} 2018-11-22T02:45:44.417Z|9d443c57-4567-4767-a7a0-8822defd042a| o.o.so.logging.jaxrs.filter.PayloadLoggingFilter - Response from POST: http://msb-iag.onap:80/api/multicloud-titaniumcloud/v1/CloudOwner/ONAP-POD-01-Rail-06/infra_workload Response Headers: {connection=[keep-alive], Content-Length=[170], content-type=[text/html], Date=[Thu, 22 Nov 2018 02:45:44 GMT], Server=[openresty]} 502 Bad Gateway

502 Bad Gateway


openresty
2018-11-22T02:45:44.422Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - StackInfo to convert: {} 2018-11-22T02:45:44.423Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - HeatStatus = FAILED msg = Bad Gateway 2018-11-22T02:45:44.423Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status: FAILED 2018-11-22T02:45:44.423Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.openstack.utils.MsoMulticloudUtils - Stack Status Message: Bad Gateway 2018-11-22T02:45:44.423Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.MsoVnfPluginAdapterImpl - VF Module vfwhpa_stack successfully created 2018-11-22T02:45:44.466Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.BpelRestClient - Sending response to BPEL: 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 ONAP-POD-01-Rail-06 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 CFY 9d443c57-4567-4767-a7a0-8822defd042a 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true cba6e389-c2da-480c-a0e1-21acfa7137be true cba6e389-c2da-480c-a0e1-21acfa7137be 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:45:44.466Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.BpelRestClient - Sending to BPEL server: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage/VNFAResponse/9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 2018-11-22T02:45:44.467Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.BpelRestClient - Content is: 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 ONAP-POD-01-Rail-06 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 CFY 9d443c57-4567-4767-a7a0-8822defd042a 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true cba6e389-c2da-480c-a0e1-21acfa7137be true cba6e389-c2da-480c-a0e1-21acfa7137be 20d5da70-0d9e-4b1e-8585-ceddc19c7e09 2018-11-22T02:45:46.298Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.BpelRestClient - Response code from BPEL server: 204 2018-11-22T02:45:46.298Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.BpelRestClient - Response body is: 2018-11-22T02:45:46.298Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.BpelRestClient - Got response code: 204: returning. 2018-11-22T02:45:46.334Z|9d443c57-4567-4767-a7a0-8822defd042a| org.onap.so.adapters.vnf.VnfAdapterRestV2 - CreateVfModuleTask exit: code=200, resp= 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 ONAP-POD-01-Rail-06 9d443c57-4567-4767-a7a0-8822defd042a-1542854743450 CFY 9d443c57-4567-4767-a7a0-8822defd042a 81bacddf-2202-4f01-bd6b-b7b91829bde4 709ba629fe194f8699b12f9d6ffd86a0 true cba6e389-c2da-480c-a0e1-21acfa7137be true cba6e389-c2da-480c-a0e1-21acfa7137be 20d5da70-0d9e-4b1e-8585-ceddc19c7e09