You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

Work in Progress


Lifecycle Management Interface

This interface allows the CNF Manager (CNFM) client to invoke AS-CNF lifecycle management operations of AS-CNF instances towards the CNFM.

The operations provide through this interface are:

  • Create AS Identifier
  • Instantiate AS
  • Terminate AS
  • Delete AS Identifier
  • Update AS

Create AS Instance Resource

The creation of an "individual" AS instance resource.

REST Interfaces

  • POST  .../as_instances (CreateAsRequest)
  • 201 Created (AsInstance)
  • // Send AsIdentifierCreationNotification

     post condition: upon successful completion, AS instance is created in NOT_INSTANTIATED state.

Note: KeyValuePairs data type is typically realized as Hashmap or Hashtable

CreateAsRequest

Attribute NameData TypeCardinalityDescription

asdId

Identifier (UUID)1Identifier that identifies the ASD which defines the AS instance to be created.

asInstanceName

String0..1Human-readable name of the AS instance to be created.

asInstanceDescription

String0..1Human-readable description of the AS instance to be created.

metadata

KeyValuePairs0..1If present, this attribute provides additional initial values, overriding those obtained from the ASD, for the metadata attribute in "AsInstance".

Instantiate AS Instance Resource

REST Interfaces

  • POST .../as_instances/{asInstanceId}/instantiate (InstantiateAsRequest)
  • 202 Accepted ()
  • Send asLcmOperationOccurrenceNotification (STARTING/PROCESSING/COMPLETED)
  • 200 OK (AsLcmOpOcc:operationState=COMPLETED)

InstantiateAsRequest


Attribute NameData TypeCardinalityDescription

asdExtCpdInputParamMapping

ExtCpdParamMappingMetadata

0..1ext cpd parameter instance-level value

deploymentItems

DeploymentItemMetadata1..Nlifecycle parameters for deploymentItems

additionalParams

KeyValuePairs0..1Additional input parameters for the instantiation process (this is a pace holder to hold any additional parameters)


ExtCpdParamMappingMetadata


loadbalanceIP

loadbalanceIPString0..1When present, this attribute specifies the name of the deployment artifact input parameter through which the orchestrator can configure the loadbalancerIP parameter of the K8s service or ingress controller that the ExtCpd represents.

externalIPs

KeyValuePairs0..1When present, this attribute specifies the name of the deployment artifact input parameter through which the orchestrator can configure the extermalIPs parameter of the K8s service or ingress controller, or the pod network interface annotation, that the ExtCpd represents. The param name and provided IP address(es) value will be passed to the deployment tool when deploying the DeploymentArtifacts. 
nadNamesKeyValuePairs0..1These attributes specifies, for an ExtCpd representing a secondary network interface, the name(s) of the network attachment definitions (NADs) the orchestrator has created as base for the network interface the ExtCpd represents.
It is expected that the NADs themselves have been created prior to the deployment of the deployment artifacts.
nadNamespaceString0..1Specifies, for an asdExtCpd representing a secondary network interface, the namespace where the NADs are located.
Attribute may be omitted if the namespace is same as the application namespace. 

DeploymentItemMetadata


Attribute NameData TypeCardinalityDescription
deploymentItemIdIdentifier1Identifies which deploymentItem

lifecycleParameterKeyValues

KeyValuesPairs0..Nprovides lifecycle parameter keys and values

Terminate AS Instance Resource

The termination of an individual AS instance resource.

REST Interfaces

  • POST .../as_instances/{asInstanceId}/instantiate (InstantiateAsRequest)
  • 202 Accepted ()
  • Send asLcmOperationOccurrenceNotification (STARTING/PROCESSING/COMPLETED)
  • 200 OK (AsLcmOpOcc:operationState=COMPLETED)

TerminateAsRequest

Attribute NameData TypeCardinalityDescription
terminationTypeEnum1
  • FORCEFUL
  • GRACEFUL
gracefulTerminationTimeoutInteger0..1The unit is seconds
additionalParamsKeyValuePairs0..1Additional parameters passed by the CNFM client

Delete AS Instance Resource

The deletion of an individual AS instance resource.

REST Interfaces

  • DELETE .../as_instances/{asInstanceId}
  • 204 No Content
  • // Send AsIdentifierDeletionNotification to Client

Update AS

TBD


Query Individual AS

REST Interfaces

  • GET .../as_instances/{asInstanceId}
  • 200 OK (AsInstance)

AsInstance

Attribute NameData TypeCardinalityDescription
asInstanceIdIdentifier1

Identifier of the AS instance

asInstanceNameString0..1Name of the AS instance. This attribute can be modified with the PATCH method.
asInstanceDescriptionString0..1

Human-readable description of the AS instance.

This attribute can be modified with the PATCH method.

asdIdIdentifier1

Identifier of the VNFD on which the VNF instance is based.

asProviderString1

Provider of the AS instance. 

The value is copied from the ASD.

asApplicationName

String

1

Name to identify the AS instance. 

asVersionVersion1

Specifies the version of the Application (so, if software,

DeploymentArtifacts , ASD values, ... change, this changes).

asInfoNameString0..1Human readable name for the Application service instance.
asInfoDescriptionString0..1Human readable description of the AS instance
























...



Swagger File

The following is ASD LCM Restful API Swagger file (work in progress)

  • No labels