Introduction and Approach
In BBS, notifications generated by the domain specific M&C (Access, Edge) into ONAP using the capabilities provided by ONAP's DCAE component and supported collectors that map the notifications into VES events for processing within ONAP.
For this release, BBS uses Restconf Collector to collect the notifications, converting the notification into the requisite VES event by the VES Mapper uS. The VES event placed on the DMaaP bus with a topic that can be consumed by the associated DCAE uS for processing. In many cases the DCAE uS uses ONAP's Policy capabilities to implement the function specific to the notification. The specific interactions are documented within the corresponding notification as identified below.
Supported Notifications
The primary scenarios for notifications within BBS are to support:
- Registration and Re-registration of CPE PNFs (e.g., ONT) used to support the Nomadic ONT scenario
- Authentication state change of the gateway (e.g., residential) functionality associated with CPE PNFs that updates the operational state of the HSIA CFS.
Common Functionality
BBS Notifications have functionality provided by ONAP components that is used by multiple BBS Notifications
DCAE
Restconf Collector
The Restconf
The APIs to Access SDN M&C leverage those specified in CCVPN Closed Loop.
Figure 2. Domain Controller ↔ Restconf Collector Interfacing Diagram
In case of BBS Nomadic ONT, Restconf collector subscribes both of ONT Registration and RG Activation notifications through separate SSE connections with Access SDN M & C , each of the connection handler is assigned at design time to build JSON message with different topics of Restconf_Notification with certain Restconf2VES XML file indicator (in OID field for the time being ). The SB domain controller IP/port, authentication information and produced topic could be assigned at design time at blue print creation through DCAE-DS and configurable at control loop creation time from CLAMP.
ONT Registration Notification
Following is an example of ONT Registration notification received from Access SDN M&C - the domain controller.
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
[
{
“notification” :
{
“event-time”: ”2018-03-15T08:15:32.000Z”,
“notification-id”: ”2541256”,
“message”:
{
“topic”:“resource”,
“object-type”:“ont”,
“version”: ”v1”,
“operation”: “Create”,
“target”: ”ont/ont=23hk1231231232”,
“content”:
{
“ont”:
{
“ontSN”:“48575443FA637D1A”,
“neName”:“MA5800T-001”,
“neUNIPort”:“0/1/6”,
“onuID”:“101”,
“accessID”:“HG65875420001”,
“remark”:“”,
}
}
}
}
}
] |
The output of Restconf Collector for the ONT Registration is the above JSON message being published on DMAAP with topic of RestConf_ONT_Registration.
RG Activation Notification
Following is an example of RG Activation notification received from Edge SDN M&C - the domain controller.
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
[
{
“notification”
{
“event-time”: ”2018-04-15T08:15:32.000Z”,
“notification-id”: ”2541256”,
“message”:
{
“topic”:“resource”,
“object-type”:“Gateway”,
“version”: ”v1”,
“operation”: “Create”,
“target”: "Gateway/sn=83575443FA637D1A”,
“content” :
{
“Gateway”:
{
“gatewaySN”:“83575443FA637D1A”,
“mac”:“28-6E-D4-89-34-DD”,
“pppoeUserName”: ”587564@163.com”,
“ip”: "10.68.52.158”,
“state”:”Online”,
“ontSN”:“48575443FA637D1A”
}
}
}
}
}
] |
The output of Restconf Collector for the RG Activation is the above JSON message being published on DMAAP with topic of RestConf_RG_Activation.
DC=Domain Controller RCC=Restconf Collector thread UVA=Universal VES Adaptor thread SSE=SSE Connection
ORN=ONT Registration Notification RN=Restconf Notification topic PNF_R=PNF Registration Event
RAN=RG Activation Notification CPE_A=CPE Authentication Event PRH=PNF Registration Handler PU= PNF Update
Figure 2. Logic flow of Restconf Collector vs VES Mapper
VES Mapper
Restconf2VES Mapping
The Restconf2VES mapping rule (*.xml) is provided by the vendor for certain type of notification for ONT and defined as the following:
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
The default mapping artifact (xml file) name is specified at the design time in VES Mapper micro-service blueprint at DCAE-DS and it is configurable through CLAMP at control loop creation time. The pre-condition is that the mapping file with correct naming convention should be available or on-boarded and stored in ONAP at design time. When the Nomadic ONT control loop is deployed, the mapping files retrievable and loaded to VES Mapper working space.
PNF Registration Event
VES Mapper converts the ONT Registration notification JSON message from DMAAP into the following PNF Registration event.
Code Block | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||
This pnfRegistration Event definition can be found at link:
https://wiki.onap.org/display/DW/5G+-+PNF+Plug+and+Play#id-5G-PNFPlugandPlay-STAGE3-PNFREGISTRATIONVESEVENT
The field definitions use for the BBS Use case for ONT Registration:
eventName: pnfRegistration_<vendorName>_cpe
eventId: unique per CPE proxied – incremented as described
sourceName: <PNF-name/PNF correlation ID>: Format string: <Manufacturer
OUI>-<SerialNumber> or <Manufacturer OUI>-<Model>-<SerialNumber>
reportingEntityName:<thirdparty-sdnc-id> from esr request
additionalFields:
oltName: <OLT name>
oltPONSlot: <OLT PON Slot>
oltPONPort: <OLT PON Port>
|