...
- get ns_inst_id
- delete ns instance in AAI
- get ns_instances from NFVO_NSINST database table
- invoke delete_ns_aai with global_customer_id, service_type, ns_inst_id, resource_version
- formulate the resource url with parameters
- call_aaI (resource, "DELETE")
- delete ns_inst_id row from the NFVO_NSINST database table
- delete ns_inst_id row from the NFVO_INPutParamMapping database table
- delete ns_inst_id row from the DefPkgMapping database table
- delete ns_inst_id row from the ServiceBaseInfo database table
- return 204 No Content
- Send NsIdentifierDeletionNotification
Proposal
TBD
Subscription NS
PlantUML Macro | ||
---|---|---|
| ||
@startuml
participant SO
participant SOL005_Adapter
participant SOL005_NBI
participant NS_LCMGR
participant Resource_Mgr
participant OOF
participant Catalog_DB_Adapter
participant ETSI_Catalog_Mgr
participant Inventory_DB_Adapter
participant AAI
participant SOL003_Adapter
participant VIM
participant VNFM
autonumber
group Create Subscription NS
SO -> SOL005_Adapter : Create Subscription NS
SOL005_Adapter -> SOL005_NBI : Create Subscription NS
SOL005_NBI -> NS_LCMGR : Create Subscription NS
NS_LCMGR --> NS_LCMGR : Check Subscription Filter
NS_LCMGR -> NS_LCMGR : Test subscription\nnotification (callbackUrl) endpoint
NS_LCMGR --> NS_LCMGR : Save Subscription to Database
NS_LCMGR -> SOL005_NBI : Response with LccnSubscription
end
group Delete Subscription NS
SO -> SOL005_Adapter : Delete Subscription NS
SOL005_Adapter -> SOL005_NBI : Delete Subscription NS
SOL005_NBI -> NS_LCMGR : Delete Subscription NS
NS_LCMGR --> NS_LCMGR : Delete Subscription NS
NS_LCMGR -> SOL005_NBI : Response with 204 No Content
SOL005_NBI -> SOL005_Adapter : Response for Delete Subscription NS
SOL005_Adapter -> SO : Response for Delete Subscription NS
end
@enduml |
Subscription NS
Request
- LccnSubscriptionRequest
- subscriptionId. for GET and DELETE
Response
- 204 No Content
- 201 Created (LccnSubscription)
- 200 OK (LccnSubscription[])
- 200 OK (LccnSubscription)
Subscription Filter Request
The following table describes the Subscription filter request.
attribute name | data type | cardinality | description |
---|---|---|---|
nsdIds | Identifier | 0..N | If present, match NS instances that were created based on an NSD identified by one of the nsdId values listed in this attribute. See note 1. |
vnfdIds | Identifier | 0..N | If present, match NS instances that contain VNF instances that were created based on a VNFD identified by one of the vnfdId values listed in this attribute. See note 1. |
pnfdIds | Identifier | 0..N | If present, match NS instances that contain PNFs that are represented by a PNFD identified by one of the pnfdId values listed in this attribute. See note 1. |
nsInstanceId | Identifier | 0..N | If present, match NS instances with an instance identifier listed in this attribute. See note 2. |
nsInstanceNames | String | 0..N | If present, match NS instances with an NS Instance Name listed in this attribute. See note 2. |
NOTE 1: The attributes "nsdIds", "vnfdIds" and "pnfdIds" are alternatives to reference to NS instances that are created based on certain NSDs, or contain VNF instances that are based on certain VNFDs, or contain PNFs that are based on certain PNFDs in a filter. They should not be used together in the same filter instance, but one alternative should be chosen. NOTE 2: The attributes "nsInstanceIds" and "nsInstanceNames" are alternatives to reference to particular NS Instances in a filter. They should not be used both in the same filter instance, but one alternative should be chosen. |
Design
VFC Design
TBD