Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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.


AsInstance (response)

see the AsInstance section below, ASD LCM RESTful Protocols for SO CNF Manager

...

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

InstantiateAsRequest


Attribute NameData TypeCardinalityDescription

asdExtCpdInputParams

ExtCpdParams

0..Ncontains ext cpd parameter instance-level values

deploymentItems2

DeploymentItems1..Ncontains lifecycle parameters for deploymentItems

additionalParams1, 3

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

Note: 

  1. additional parameters can be passed to define custom values. All keys that are separated by dots are handled as separate values. Passing a value file content is under consideration. Special characters are allowed to represent \n, \., etc.
  2. If some of the parameters required for instantiation are complex and cannot fit into the additionalParams section of the JSON request body, In this case, the deploymentItems can be used. 
  3. the target cluster name could be passed thru additionalParams if the client wants to select the target cluster.

ExtCpdParams


extCpdId

UUID1identifier
loadbalancerIPString0..1contains the IP address to configure the loadBalancer of the K8s service or ingress controller that the ExtCpd represents

externalIPs

String0..N

contains external IPs


nadNamesString0..N

contains a list of nad names


nadNamespaceString0..1

contains a nad namespace


DeploymentItems


Attribute NameData TypeCardinalityDescription
deploymentItemIdIdentifier1Identifies which deploymentItem

lifecycleParameterKeyValues

KeyValuesPairs0..Nprovides lifecycle parameter keys and values

Terminate AS Instance Resource

...

  • 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

...

AsInstance for Create and Query

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.

asProductNameString1Name to identify the AS product. The value is copied from the ASD ?

asApplicationName

String

1

Name to identify the AS instance. 

asSchemaVersionVersion1Specifies the version of the ASD’s schema (if we modify an ASD field definition, add/remove field definitions, etc.).
asApplicationVersionVersion1

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

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

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

asdExtCpd

datatype.ExtCpd0..NDescribes the externally exposed connection points of the application.
enhancedClusterCapabilitiesdatatype. enhancedClusterCapabilities0..NA list of  expected capabilities of the target Kubernetes cluster to aid placement of the application service on a suitable cluster.
deploymentItemsDeploymentItems1..NDeployment artifacts












...



Register K8S Clusters

To instantiate an AS on an non-ONAP K8S cluster, a cluster configuration file that is specific to the cluster must be uploaded.

...