...
delete from mso_requests.infra_active_requests;
10/27/2017
vCpeResCust custom workflow:
- Passed: Get and decompose service template from catalog.
Passed: Query SNIRO emulator to get homing information. The current config files for SO after manual changes are: . They are supposed to be updated by SO so that no more manual changes are needed in the future. The callback URL provided by SO is incorrect, needs to be fixed (). SNIRO emulator needs to be modified to use the callback URL from SO request (). Currently we use the following hacking to send the required info to SO.
Code Block title Manually send SNIRO results to SO collapse true }
Passed: SO queries AAI to get service and other info include globalCustomerID. We preload AAI with the following info. Note that the ASDC_TOSCA_UUID part is questionable. It seems not necessary. It is tracked by .
Code Block title Preload AAI for vCpeResCust flow collapse true PUT /aai/v11 /business/customers/customer/SDN-ETHERNET-INTERNET { "global-customer-id": "SDN-ETHERNET-INTERNET", "subscriber-name": "SDN-ETHERNET-INTERNET", "subscriber-type": "INFRA", "service-subscriptions": { "service-subscription": [ { "service-type": "123456789", "service-instances": { "service-instance": [ { "service-instance-id": "fbe9ad27-7ddd-49a6-ab2f-8c08e31fe12c", "service-instance-name": "fbe9ad27-7ddd-49a6-ab2f-8c08e31fe12c", "service-type": "vcpe" } ] } } ] } } After the sdc models were loaded, I added this model into AAI: PUT /aai/v11 /service-design-and-creation/models/model/1963dd8b-9375-4cab-aa59-0ee06e8333fa/model-vers/model-ver/ASDC_TOSCA_UUID { "model-version-id": "ASDC_TOSCA_UUID", "model-name": "vCpeResCust", "model-version": "1.0", "model-description": "Some ASDC Tosca Model" }
- Passed: SO creates a service instance UUID and put it in AAI.
- Blocked: SO calls SDNC assign service (type=vCpeResCust, UUID). It is tracked by ().
- Notes for upcoming test
To manually send event to DMaaP to invoke SDNC to create BRG record in AAI (this emulates the event from DHCP), do the following
Code Block http://{{mr}}:3904/events/VCPE-DHCP-EVENT/group1/C1?timeout=5000 [ "{\"msg_name\":\"DHCPACK\",\"macaddr\":\"e2:91:8c:7a:1e:9d\",\"yiaddr\":\"10.3.0.2\"}" ]
10/26/2017
- vCpeResCust custom workflow:
The config changes for sniro end point should be visible at : /shared/mso-docker.json. We should look at "sniroEndpoint". Also Jim Hahn found out that the following line needs to be added to the same file. A ticket is opened:
. Important: It seems that the mso container needs to be restarted to pick up the change in this file.Jira server ONAP JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 425b2b0a-557c-3c0c-b515-579789cceedb key SO-274 Code Block "adaptersWorkflowMessageEndpoint": "http://mso:8080/workflows/messages/Resteasy",
- SNIRO emulator config tested. The related wiki page is here: SNIRO Emulator
Add the following to /etc/mso/config.d/mso.bpmn.urn.properties to enable debug. Important: The changes are lost each time the container is restarted.
Code Block title Debug mode collapse true log.debug.CreateVcpeResCustService=true log.debug.DeleteVcpeResCustService=true log.debug.DoCreateAllottedResourceBRG=true log.debug.DoCreateAllottedResourceBRGRollback=true log.debug.DoCreateAllottedResourceTXC=true log.debug.DoCreateAllottedResourceTXCRollback=true log.debug.DoDeleteAllottedResourceBRG=true log.debug.DoDeleteAllottedResourceTXC=true log.debug.Homing=true
- A bug was reported when SO tried to create a SNIRO request. It is tracked by
.Jira server ONAP JIRA columns key,summary,type,created,updated,due,assignee,reporter,priority,status,resolution serverId 425b2b0a-557c-3c0c-b515-579789cceedb key SO-273
- General Infrastructure:
Brian created preload as following
Code Block title VNF-API Preload collapse true POST http://10.12.25.64:8282/restconf/operations/VNF-API:preload-vnf-topology-operation Content-Type: application/json { "VNF-API:input": { "VNF-API:request-information": { "VNF-API:request-id": "robot12", "VNF-API:notification-url": "https://so.onap.org", "VNF-API:order-number": "robot12", "VNF-API:request-sub-action": "SUPP", "VNF-API:request-action": "PreloadVNFRequest", "VNF-API:source": "VID", "VNF-API:order-version": "1.0" }, "VNF-API:sdnc-request-header": { "VNF-API:svc-action": "reserve", "VNF-API:svc-notification-url": "https://son.onap.org", "VNF-API:svc-request-id": "robot12" }, "VNF-API:vnf-topology-information": { "vnf-topology-identifier": { "service-type": "3c8da74-9225-4b9d-8915-214f8ab273a3", "vnf-type": "VcpeGenInfra..base_vcpe_infra..module-0", "generic-vnf-name": "vcpe-gen-infra 0", "generic-vnf-type": "VcpeGenInfra..base_vcpe_infra..module-0", "vnf-name": "vCPEInfraVF102604" }, "VNF-API:vnf-parameters": [ { "vnf-parameter-name": "vcpe_image_name", "vnf-parameter-value": "ubuntu-14-04-cloud-amd64" }, { "vnf-parameter-name": "vcpe_flavor_name", "vnf-parameter-value": "m1.medium" }, { "vnf-parameter-name": "public_net_id", "vnf-parameter-value": "external" }, { "vnf-parameter-name": "cpe_signal_net_id", "vnf-parameter-value": "vCPEInfraCPESIGNAL102604" }, { "vnf-parameter-name": "cpe_signal_subnet_id", "vnf-parameter-value": "vCPEInfraCPESIGNALSUB102604" }, { "vnf-parameter-name": "cpe_public_net_id", "vnf-parameter-value": "vCPEInfraCPEPUBLIC102604" }, { "vnf-parameter-name": "cpe_public_subnet_id", "vnf-parameter-value": "vCPEInfraCPEPUBLICSUB102604" }, { "vnf-parameter-name": "onap_private_net_id", "vnf-parameter-value": "oam_onap_hUnI" }, { "vnf-parameter-name": "onap_private_subnet_id", "vnf-parameter-value": "oam_onap_hUnI" }, { "vnf-parameter-name": "onap_private_net_cidr", "vnf-parameter-value": "10.0.0.0/16" }, { "vnf-parameter-name": "cpe_signal_net_cidr", "vnf-parameter-value": "10.4.0.0/24" }, { "vnf-parameter-name": "cpe_public_net_cidr", "vnf-parameter-value": "10.2.0.0/24" }, { "vnf-parameter-name": "vdhcp_private_ip_0", "vnf-parameter-value": "10.4.0.1" }, { "vnf-parameter-name": "vdhcp_private_ip_1", "vnf-parameter-value": "10.0.101.1" }, { "vnf-parameter-name": "vaaa_private_ip_0", "vnf-parameter-value": "10.4.0.4" }, { "vnf-parameter-name": "vaaa_private_ip_1", "vnf-parameter-value": "10.0.101.2" }, { "vnf-parameter-name": "vdns_private_ip_0", "vnf-parameter-value": "10.2.0.1" }, { "vnf-parameter-name": "vdns_private_ip_1", "vnf-parameter-value": "10.0.101.3" }, { "vnf-parameter-name": "vweb_private_ip_0", "vnf-parameter-value": "10.2.0.10" }, { "vnf-parameter-name": "vweb_private_ip_1", "vnf-parameter-value": "10.0.101.40" }, { "vnf-parameter-name": "mr_ip_addr", "vnf-parameter-value": "10.0.11.1" }, { "vnf-parameter-name": "vaaa_name_0", "vnf-parameter-value": "zdcpe1cpe01aaa01_102604" }, { "vnf-parameter-name": "vdns_name_0", "vnf-parameter-value": "zdcpe1cpe01dns01_102604" }, { "vnf-parameter-name": "vdhcp_name_0", "vnf-parameter-value": "zdcpe1cpe01dhcp01_102604" }, { "vnf-parameter-name": "vweb_name_0", "vnf-parameter-value": "zdcpe1cpe01web01_102604" }, { "vnf-parameter-name": "vnf_id", "vnf-parameter-value": "vCPE_Infrastructure_demo_app_102604" }, { "vnf-parameter-name": "vf_module_id", "vnf-parameter-value": "vCPE_Intrastructure_102604" }, { "vnf-parameter-name": "dcae_collector_ip", "vnf-parameter-value": "10.0.4.102" }, { "vnf-parameter-name": "dcae_collector_port", "vnf-parameter-value": "8080" }, { "vnf-parameter-name": "repo_url_blob", "vnf-parameter-value": "https://nexus.onap.org/content/sites/raw" }, { "vnf-parameter-name": "repo_url_artifacts", "vnf-parameter-value": "https://nexus.onap.org/content/groups/staging" }, { "vnf-parameter-name": "demo_artifacts_version", "vnf-parameter-value": "1.1.0" }, { "vnf-parameter-name": "install_script_version", "vnf-parameter-value": "1.1.0-SNAPSHOT" }, { "vnf-parameter-name": "key_name", "vnf-parameter-value": "vaaa_key" }, { "vnf-parameter-name": "pub_key", "vnf-parameter-value": "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDQXYJYYi3/OUZXUiCYWdtc7K0m5C0dJKVxPG0eI8EWZrEHYdfYe6WoTSDJCww+1qlBSpA5ac/Ba4Wn9vh+lR1vtUKkyIC/nrYb90ReUd385Glkgzrfh5HdR5y5S2cL/Frh86lAn9r6b3iWTJD8wBwXFyoe1S2nMTOIuG4RPNvfmyCTYVh8XTCCE8HPvh3xv2r4egawG1P4Q4UDwk+hDBXThY2KS8M5/8EMyxHV0ImpLbpYCTBA6KYDIRtqmgS6iKyy8v2D1aSY5mc9J0T5t9S2Gv+VZQNWQDDKNFnxqYaAo1uEoq/i1q63XC5AD3ckXb2VT6dp23BQMdDfbHyUWfJN" }, { "vnf-parameter-name": "cloud_env", "vnf-parameter-value": "Openstack" } ], "VNF-API:vnf-assignments": { } } } }
...