-
Story
-
Resolution: Done
-
Medium
-
None
-
None
Supports the Create NS Subscription operation and workflows which do the following sequence:
<Create NS Subscription: note: the following workflow is a template, and it can be enhanced as needed.>
- Supports SOL005-compliant Create NS Subscription operation
- Supports input parameters handling:
- Initializes Parameters: set subscription filters
- callback_uri
- authentication
- notification_types
- operation_types
- operation_states
- ns_component_types
- lcm_opname_impactin_nscomponent
- lcm_opoccstatus_impacting_nscomponent
- nsInstanceSubscriptionFilter
- Creates Subscription ID: create subscription id
- Checks valid auth info:
- Checks Filter Type:
- checks if the notification is NOTIFICATION_TYPE.NSLCM_OPERATION_OCCURRENCE_NOTIFICATION
- Checks Valid:
- Checks Callback_URI: check callback Uri
- checks if the callbackUri exists in the NFVO_SUBSCRIPTION DB
- if no subscription, return true
- else
- checks additional filter types, notificationTypes, operationTypes, operationStates
- if the filters are NOT equal, return false
- checks ns instance filter, If the filter type is not equal, return false
- checks additional filter types, notificationTypes, operationTypes, operationStates
- return true
- checks if the callbackUri exists in the NFVO_SUBSCRIPTION DB
- Checks Callback_URI: check callback Uri
- saves subscription request to database
- returns response with subscription
*
- Initializes Parameters: set subscription filters