...
# | Description | Notes | Decision | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | AAI failed to send DMaaP notification after xNF was created |
| The bug causing this error was fixed and changes have been merged. | ||||||||||
2 | DMaap Client failed because of dependency Issues |
| The bug causing this error was fixed and changes have been submitted. | ||||||||||
3 | setFilter() is not documented | Fiachra Corcoran (DMaaP) advised any existing documentation is out of date and this should not be used | Based on input from (DMaaP) team and possible lack of future support we will do filtering on client side | ||||||||||
4 | Decide on which property to filter on | Which property from the DMaaP event should we filter on? | |||||||||||
5 | Update Events for address information | is it possible for address information to change ie. does CPS need to listen to these? | Address information might change but we don't need to worry about it for our use case as we use SDN-C and only the pndpnf-id to identify the resource |
...
- equip-type
- equip-vendor
- equip-modelpnf-id
AAI-EVENT received from DMaaP
AAI-EVENT received from DMaaP can have different event-header.action values. These are:
- CREATE
- UPDATE
- DELETE
Each action value refers to the type of operation happening to a xNF on A&AI. When a xNF is added to A&AI, the event-header.action value is CREATE. When a xNF is updated in A&AI, the event-header.action value is UPDATE. When a xNF is deleted in A&AI, the event-header.action value is DELETE.
Example of DMaaP Event when a xNF is added to A&AI:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "cambria.partition":"AAI", "event-header":{ "severity":"NORMAL", "entity-type":"pnf", "top-entity-type":"pnf", "entity-link":"/aai/v23/network/pnfs/pnf/dummyTest30", "event-type":"AAI-EVENT", "domain":"dev", "action":"CREATE", "sequence-number":"0","id":"577eb229-7c74-4cf8-84ab-79f66f4899b2", "source-name":"SO", "version":"v23", "timestamp":"20210701-12:45:09:351" }, "entity":{ "ipaddress-v4-oam":"100.10.20.20", "equip-type":"example-equip-type-val-20348", "equip-vendor":"example-equip-vendor-val-52182", "ipaddress-v6-oam":"", "orchestration-status":"Active", "pnf-name2":"dummypnf-1597953056126", "equip-model":"example-equip-model-val-8370", "in-maint":false, "resource-version":"1625143508438", "pnf-id":"927b2580-36d9-4f13-8421-3c9d43b7a75e", "management-option":"example-management-option-val-72881", "spare-equipment-indicator":false, "pnf-name":"dummyTest30" } } |
Example of DMaaP Event when a xNF is updated in A&AI:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{ "cambria.partition":"AAI", "event-header":{ "severity":"NORMAL", "entity-type":"pnf", "top-entity-type":"pnf", "entity-link":"/aai/v23/network/pnfs/pnf/dummyTest16", "event-type":"AAI-EVENT","domain":"dev","action":"UPDATE", "sequence-number":"0","id":"51a99267-83ec-4f4f-a676-690ba527bf78", "source-name":"SO","version":"v23","timestamp":"20210705-15:18:37:452" }, "entity":{ "ipaddress-v4-oam":"100.10.20.20", "equip-type":"example-equip-type-val-20348", "equip-vendor":"example-equip-vendor-val-52182", "ipaddress-v6-oam":"", "orchestration-status":"Active", "pnf-name2":"dummypnf-1597953056126", "equip-model":"example-equip-model-val-8370", "in-maint":false, "resource-version":"1625498316100", "pnf-id":"927b2580-36d9-4f13-8421-3c9d43b7a75e", "management-option":"example-management-option-val-72881", "spare-equipment-indicator":false, "pnf-name":"dummyTest16" } } |
Example of DMaaP Event when a xNF is deleted in A&AI:
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
{
"cambria.partition":"AAI",
"event-header":{
"severity":"NORMAL",
"entity-type":"pnf",
"top-entity-type":"pnf",
"entity-link":"/aai/v23/network/pnfs/pnf/dummyTest15",
"event-type":"AAI-EVENT",
"domain":"dev",
"action":"DELETE",
"sequence-number":"0",
"id":"bd5eabee-24fa-4567-999a-f35814e8c6c2",
"source-name":"SO",
"version":"v23",
"timestamp":"20210705-13:34:08:464"
},
"entity":{
"ipaddress-v4-oam":"100.10.20.20",
"equip-type":"example-equip-type-val-20348",
"equip-vendor":"example-equip-vendor-val-52182",
"ipaddress-v6-oam":"",
"orchestration-status":"Active",
"pnf-name2":"dummypnf-1597953056126",
"equip-model":"example-equip-model-val-8370",
"in-maint":false,
"resource-version":"1623155630173",
"pnf-id":"927b2580-36d9-4f13-8421-3c9d43b7a75e",
"management-option":"example-management-option-val-72881",
"spare-equipment-indicator":false,
"pnf-name":"dummyTest15"
}
} |
Proof Of Concept Code
Adding DMaaP Client dependency
...