Table of Contents | ||
---|---|---|
|
...
System View
Gliffy Diagram | ||||||||
---|---|---|---|---|---|---|---|---|
|
System Set up
SO
Custom Workflow Configuration
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
~/oom/kubernetes# kubectl edit cm dev-so-so-bpmn-infra-app-configmap mso: ... oof: auth: test:testpwd callbackEndpoint: http://so-bpmn-infra.onap:8081/mso/WorkflowMessage endpoint: https://oof-osdf.onap:8698/api/oof/v1/placement timeout: PT30M workflow: + custom: + BBS_E2E_Service: + sdnc: + need: true CreateGenericVNFV1: aai: volume-group: uri: /aai/v6/cloud-infrastructure/volume-groups/volume-group default: aai: ... ## Restart the pod ~/oom/kubernetes# kubectl delete po dev-so-so-bpmn-infra-7556d7f6bc-8fthk |
...
Info | |||||||
---|---|---|---|---|---|---|---|
| |||||||
Currently, the existing RESOURCE ORDER displayed above for the service requires the VNF-Virtual-link to be orchestrated first. Due to missing functionality in DGs to handle this orchestration for the ODN network (modeled as VNF-Virtual-Link) in BBS use case, we need to delete a database entry so that service decomposition does not contain any VNF virtual links that need to be orchestrated.
|
DMaaP Message Router
Create required topics
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
curl -X POST \ http://mr.api.simpledemo.openecomp.org:30227/topics/create \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -d '{ "topicName": "unauthenticated.DCAE_CL_OUTPUT", "topicDescription": "", "partitionCount": "", "replicationCount": "3" }' |
...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
curl -X POST \ http://mr.api.simpledemo.openecomp.org:30227/topics/create \ -H 'Accept: application/json' \ -H 'Content-Type: application/json' \ -H 'cache-control: no-cache' \ -d '{ "topicName": "unauthenticated.PNF_UPDATE", "topicDescription": "", "partitionCount": "", "replicationCount": "3" }' |
DCAE
PNF Registration Handler (PRH)
Update dcae-prh config in Consul
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{"dmaap.dmaapUpdateProducerConfiguration.dmaapPortNumber": 3904, "security.trustStorePath": "/opt/app/prh/etc/cert/trust.jks", "dmaap.dmaapProducerConfiguration.dmaapTopicName": "/events/unauthenticated.PNF_READY", "dmaap.dmaapConsumerConfiguration.dmaapHostName": "message-router", "streams_subscribes": {"ves-reg-output": {"type": "message_router", "dmaap_info": {"topic_url": "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT"}}}, "security.enableAaiCertAuth": false, "dmaap.dmaapConsumerConfiguration.dmaapUrl": "http://message-router:3904/events/unauthenticated.VES_PNFREG_OUTPUT", "dmaap.dmaapProducerConfiguration.dmaapUserPassword": "admin", "dmaap.dmaapUpdateProducerConfiguration.dmaapTopicName": "/events/unauthenticated.PNF_UPDATE", "aai.aaiClientConfiguration.aaiUserPassword": "AAI", "dmaap.dmaapConsumerConfiguration.dmaapUserName": "admin", "security.trustStorePasswordPath": "/opt/app/prh/etc/cert/trust.pass", "aai.aaiClientConfiguration.aaiBasePath": "/aai/v12", "dmaap.dmaapProducerConfiguration.dmaapUrl": "http://message-router:3904/events/unauthenticated.PNF_READY", "dmaap.dmaapProducerConfiguration.dmaapPortNumber": 3904, "aai.aaiClientConfiguration.aaiHost": "aai", "dmaap.dmaapUpdateProducerConfiguration.dmaapContentType": "application/json", "aai.aaiClientConfiguration.aaiServiceInstancePath": "/business/customers/customer/${customer}/service-subscriptions/service-subscription/${serviceType}/service-instances/service-instance/${serviceInstanceId}", "dmaap.dmaapConsumerConfiguration.dmaapUserPassword": "admin", "security.keyStorePath": "/opt/app/prh/etc/cert/key.p12", "dmaap.dmaapUpdateProducerConfiguration.dmaapUrl": "http://message-router:3904/events/unauthenticated.PNF_UPDATE", "dmaap.dmaapProducerConfiguration.dmaapProtocol": "http", "dmaap.dmaapUpdateProducerConfiguration.dmaapProtocol": "http", "aai.aaiClientConfiguration.aaiIgnoreSslCertificateErrors": true, "security.enableDmaapCertAuth": false, "dmaap.dmaapUpdateProducerConfiguration.dmaapUserPassword": "admin", "aai.aaiClientConfiguration.pnfUrl": "https://aai:8443/aai/v12/network/pnfs/pnf", "dmaap.dmaapConsumerConfiguration.dmaapTopicName": "events/unauthenticated.VES_PNFREG_OUTPUT", "dmaap.dmaapConsumerConfiguration.dmaapProtocol": "http", "dmaap.dmaapConsumerConfiguration.dmaapPortNumber": 3904, "dmaap.dmaapConsumerConfiguration.consumerId": "c12", "dmaap.dmaapUpdateProducerConfiguration.dmaapUserName": "admin", "dmaap.dmaapConsumerConfiguration.dmaapContentType": "application/json", "dmaap.dmaapConsumerConfiguration.messageLimit": -1, "dmaap.dmaapProducerConfiguration.dmaapContentType": "application/json", "dmaap.dmaapUpdateProducerConfiguration.dmaapHostName": "message-router", "streams_publishes": {"pnf-update": {"type": "message_router", "dmaap_info": {"topic_url": "http://message-router:3904/events/unauthenticated.PNF_UPDATE"}}, "pnf-ready": {"type": "message_router", "dmaap_info": {"topic_url": "http://message-router:3904/events/unauthenticated.PNF_READY"}}}, "dmaap.dmaapConsumerConfiguration.consumerGroup": "OpenDCAE-c12", "security.keyStorePasswordPath": "/opt/app/prh/etc/cert/key.pass", "aai.aaiClientConfiguration.aaiUserName": "AAI", "aai.aaiClientConfiguration.aaiPnfPath": "/network/pnfs/pnf", "dmaap.dmaapProducerConfiguration.dmaapHostName": "message-router", "aai.aaiClientConfiguration.aaiHeaders": {"X-FromAppId": "prh", "X-TransactionId": "9999", "Accept": "application/json", "Authorization": "Basic QUFJOkFBSQ==", "Real-Time": "true"}, "aai.aaiClientConfiguration.aaiHostPortNumber": 8443, "dmaap.dmaapConsumerConfiguration.timeoutMs": -1, "aai.aaiClientConfiguration.aaiProtocol": "https", "dmaap.dmaapProducerConfiguration.dmaapUserName": "admin"} |
BBS Event Processor (BBS-ep)
BBS-EventProcessor Service (BBS Usecase)
...
Code Block | ||||
---|---|---|---|---|
| ||||
"application.clVersion": "1.0.0" |
RESTCONF Collector
See RESTConf Collector (BBS Usecase)
VES mapper
VES Collector
Configure mapping VES event domain to DMaaP topic: ves-statechange --> unauthenticated.CPE_AUTHENTICATION
...
Code Block | ||||
---|---|---|---|---|
| ||||
"ves-statechange": {"type": "message_router", "dmaap_info": {"topic_url": "http://message-router:3904/events/unauthenticated.CPE_AUTHENTICATION"}} |
SDNC
Make sure that BBS DGs in SDNC DGBuilder are in Active state
...
http://dguser:test123@{{sdnc-dgbuilder_Node-IP}}:30203/#
Access SDN M&C DG
Configure Access SDN M&C IP address in SDNC DG using dgbuilder
...
> GENERIC-RESOURCE-API: bbs-access-connectivity-network-topology-operation-create-huawei.json
> GENERIC-RESOURCE-API: bbs-access-connectivity-network-topology-operation-delete-huawei.json
Edge SDN M&C DG
Configure Edge SDN M&C IP address in SDNC DG using dgbuilder
...
> GENERIC-RESOURCE-API: bbs-access-connectivity-network-topology-operation-common-huawei.json
Ref: Swisscom Edge SDN M&C and virtual BNG
Policy
BBS APEX Policy
Inside APEX container,
1) Edit DCAEConsumer URL in `examples/config/ONAPBBS/NomadicONTPolicyModel_config.json`
...
Expand | ||
---|---|---|
| ||
Have a look at - https://docs.onap.org/en/casablanca/submodules/policy/apex-pdp.git/docs/APEX-User-Manual.html#the-apex-deployment-client Note: The clients are not started by default with apex engine. Instead user needs to start the client either locally or inside the container. However, we are planning to package the clients in a separate docker container so that in OOM installations of ONAP we will have it started & ready for use.
Have a look at - https://docs.onap.org/en/casablanca/submodules/policy/distribution.git/docs/index.html?highlight=distribution https://wiki.onap.org/display/DW/Policy+Platform+-+SDC+Service+Distribution+Software+Architecture
Note: As this is new feature coming in Dublin release, pairwise testing is going on right now and post that official documentation will be created for the same. In the meantime have a look at - https://wiki.onap.org/display/DW/Policy+Design+and+API+Flow+for+Model+Driven+Control+Loop |
Edge Services: vBNG+AAA+DHCP, Edge SDN M&C
Swisscom Edge SDN M&C and virtual BNG
BBS Service Configuration
AAI: Business customer
Create a business customer and subscription to BBS service type in AAI
...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
curl -X PUT \ https://aai.api.simpledemo.openecomp.org:30233/aai/v14/business/customers/customer/0dd5ab04-11a1-48b2-9792-6f12a42223d3/service-subscriptions/service-subscription/BBS_E2E_Service \ -H 'Accept: application/json' \ -H 'Authorization: Basic QUFJOkFBSQ==' \ -H 'Cache-Control: no-cache' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json' \ -H 'Host: aai.api.simpledemo.openecomp.org:30233' \ -H 'User-Agent: PostmanRuntime/7.15.0' \ -H 'X-FromAppId: Postman Application' \ -H 'X-TransactionId: Postman REST Transaction' \ -H 'accept-encoding: gzip, deflate' \ -H 'cache-control: no-cache' \ -H 'content-length: 38' \ -d '{ "service-type": "BBS_E2E_Service" }' curl -X GET \ 'https://aai.api.simpledemo.openecomp.org:30233/aai/v16/business/customers/customer/0dd5ab04-11a1-48b2-9792-6f12a42223d3?depth=all' \ -H 'Accept: application/json' \ -H 'Authorization: Basic QUFJOkFBSQ==' \ -H 'Cache-Control: no-cache' \ -H 'Connection: keep-alive' \ -H 'Content-Type: application/json' \ -H 'Host: aai.api.simpledemo.openecomp.org:30233' \ -H 'User-Agent: PostmanRuntime/7.15.0' \ -H 'X-FromAppId: Postman Application' \ -H 'X-TransactionId: Postman REST Transaction' \ -H 'accept-encoding: gzip, deflate' \ -H 'cache-control: no-cache' { "global-customer-id": "0dd5ab04-11a1-48b2-9792-6f12a42223d3", "subscriber-name": "BBSCustomer", "subscriber-type": "CUST", "resource-version": "1561552477331", "service-subscriptions": { "service-subscription": [ { "service-type": "BBS_E2E_Service", "resource-version": "1561553245301" } ] } } |
BBS HSIA CFS Onboarding and Distribution
Postman Collection: BBS_Use_Case_PostmanCollection.zip
1) Create Vendor License Model (VLM)
Multimedia | ||||
---|---|---|---|---|
|
2) Resource Onboarding
Notes:
- Create VFCs (CPE, AccessConnectivity, InternetProfile) and VFs with single VFC (CPE, AccessConnectivity, InternetProfile).
- Declare attributes as inputs in VF.
...
Multimedia | ||||
---|---|---|---|---|
|
BSS HSIA Service Order: Request Input
Input provided as part of the service order, sent to External API from BSS
...
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
{ "externalId": "BBS_BSS_TrackindId3584", "category": "NetworkService", "description": "Service Order for a new HSIA CFS", "priority": "1", "relatedParty": [ { "id": "6f486438-87b5-4bee-8f85-30090c760501", "role": "ONAPcustomer", "name": "EnterpriseA", "@referredType": "Consumer" } ], "orderItem": [ { "id": "1", "action": "add", "service": { "name": "BBS_E2E_Service_1", "serviceState": "active", "serviceSpecification": { "id": "0187be8c-8efb-4531-97fa-dbe984ed9cdb" }, "serviceCharacteristic": [ { "name": "ont_ont_serial_num", "value": { "serviceCharacteristicValue": "HWTCC01B7503" } }, { "name": "edgeinternetprofile_ip_rg_mac_addr", "value": { "serviceCharacteristicValue": "54:04:a6:38:12:9d" } }, { "name": "edgeinternetprofile_ip_downstream_speed", "value": { "serviceCharacteristicValue": "10" } }, { "name": "ont_ont_mac_addr", "value": { "serviceCharacteristicValue": "54:04:a6:38:12:9d" } }, { "name": "edgeinternetprofile_ip_remote_id", "value": { "serviceCharacteristicValue": "AC9.000.010.001" } }, { "name": "ont_ont_swVersion", "value": { "serviceCharacteristicValue": "1.0.0" } }, { "name": "ont_ont_manufacturer", "value": { "serviceCharacteristicValue": "HUAWEI" } }, { "name": "edgeinternetprofile_ip_service_type", "value": { "serviceCharacteristicValue": "BBS_E2E_Service" } }, { "name": "ont_ont_pnf_name", "value": { "serviceCharacteristicValue": "Huawei-4857544302FF269D" } }, { "name": "edgeinternetprofile_ip_upstream_speed", "value": { "serviceCharacteristicValue": "10" } }, { "name": "ont_ont_nf_type", "value": { "serviceCharacteristicValue": "HN8255WS" } }, { "name": "cvlan", "value": { "serviceCharacteristicValue": "100" } }, { "name": "svlan", "value": { "serviceCharacteristicValue": "1000" } } ] } } ] } |
BBS HSIA Service Creation and Activation
Gliffy Diagram | ||||||
---|---|---|---|---|---|---|
|
Multimedia | ||||
---|---|---|---|---|
|
BBS HSIA Service Reconfiguration. Nomadic ONT
Gliffy Diagram | ||||||
---|---|---|---|---|---|---|
|
Multimedia | ||||
---|---|---|---|---|
|
...