ScaleNsData

ScaleNsData
ScaleNsData

This type represents the information to scale a NS.

JSON Example
{
    "vnfInstanceToBeAdded": [
        {
            "vnfInstanceId": "string",
            "vnfProfileId": "string"
        }
    ],
    "vnfInstanceToBeRemoved": [
        "string"
    ],
    "scaleNsByStepsData": {
        "scalingDirection": "string",
        "aspectId": "string",
        "numberOfSteps": 0
    },
    "scaleNsToLevelData": {
        "nsInstantiationLevel": "string",
        "nsScaleInfo": [
            {
                "nsScalingAspectId": "string",
                "nsScaleLevelId": "string"
            }
        ]
    },
    "additionalParamsForNs": {
        "nfType": "string",
        "entityPrefix": "string",
        "useVAppTemplates": false,
        "catalogName": "string",
        "catalogId": "string",
        "vduParams": [
            {
                "vduName": "string",
                "vduId": "string",
                "deploymentProfileId": "string",
                "chartName": "string",
                "namespace": "string",
                "repoUrl": "string",
                "username": "string",
                "password": "string",
                "extensionId": "string",
                "overrides": "string",
                "metadata": [
                    {}
                ],
                "catalogName": "string",
                "catalogId": "string"
            }
        ],
        "instantiationLevelId": "string",
        "extVirtualLinks": [
            {
                "extVirtualLinkId": "string",
                "vimId": "string",
                "resourceProviderId": "string",
                "resourceId": "string",
                "extCps": [
                    {
                        "cpdId": "string",
                        "cpConfig": [
                            {
                                "cpInstanceId": "string",
                                "linkPortId": "string",
                                "cpProtocolData": [
                                    {
                                        "layerProtocol": "string",
                                        "ipOverEthernet": {
                                            "macAddress": "string",
                                            "ipAddresses": [
                                                {
                                                    "type": "string",
                                                    "fixedAddresses": [
                                                        "string"
                                                    ],
                                                    "numDynamicAddresses": 0,
                                                    "addressRange": {
                                                        "minAddress": "string",
                                                        "maxAddress": "string"
                                                    },
                                                    "subnetId": "string"
                                                }
                                            ]
                                        }
                                    }
                                ]
                            }
                        ]
                    }
                ],
                "extLinkPorts": [
                    {
                        "id": "string",
                        "resourceHandle": {
                            "vimId": "string",
                            "resourceProviderId": "string",
                            "resourceId": "string",
                            "vimLevelResourceType": "string"
                        }
                    }
                ]
            }
        ],
        "nodeProfileName": "string",
        "vimConnectionInfo": [
            {
                "id": "string",
                "vimId": "string",
                "vimType": "string",
                "extra": {
                    "deploymentProfileId": "string",
                    "nodeProfileName": "string",
                    "nodePoolId": "string",
                    "nodePoolName": "string",
                    "vimName": "string"
                }
            }
        ],
        "lcmInterfaces": {
            "lcmInterfaces": {
                "scale_start": [
                    {
                        "name": "USER",
                        "type": "string",
                        "value": "root"
                    },
                    {
                        "name": "PWD",
                        "type": "password",
                        "value": "Y2EkaGMwdw=="
                    },
                    {
                        "name": "HOSTNAME",
                        "type": "string",
                        "value": "10.176.160.54"
                    },
                    {
                        "name": "CMD",
                        "type": "string",
                        "value": "uptime"
                    },
                    {
                        "name": "VIM_LOCATION",
                        "type": "location",
                        "value": "vmware_641917F756584A7FA21F455F775D5F66"
                    }
                ],
                "scale_end": [
                    {
                        "name": "USER",
                        "type": "string",
                        "value": "root"
                    },
                    {
                        "name": "PWD",
                        "type": "password",
                        "value": "Y2EkaGMwdw=="
                    },
                    {
                        "name": "HOSTNAME",
                        "type": "string",
                        "value": "10.176.160.54"
                    },
                    {
                        "name": "CMD",
                        "type": "string",
                        "value": "uptime"
                    },
                    {
                        "name": "VIM_LOCATION",
                        "type": "location",
                        "value": "vmware_641917F756584A7FA21F455F775D5F66"
                    }
                ]
            }
        },
        "isVnfVAppTemplate": false,
        "vAppTemplateName": "string",
        "storageProfiles": [
            "string"
        ]
    },
    "additionalParamsForVnf": [
        {
            "vnfProfileId": "string",
            "vnfInstanceName": "string",
            "vnfInstanceDescription": "string",
            "metadata": {},
            "additionalParams": {
                "nfType": "string",
                "entityPrefix": "string",
                "useVAppTemplates": false,
                "catalogName": "string",
                "catalogId": "string",
                "vduParams": [
                    {
                        "vduName": "string",
                        "vduId": "string",
                        "deploymentProfileId": "string",
                        "chartName": "string",
                        "namespace": "string",
                        "repoUrl": "string",
                        "username": "string",
                        "password": "string",
                        "extensionId": "string",
                        "overrides": "string",
                        "metadata": [
                            {}
                        ],
                        "catalogName": "string",
                        "catalogId": "string"
                    }
                ],
                "instantiationLevelId": "string",
                "extVirtualLinks": [
                    {
                        "extVirtualLinkId": "string",
                        "vimId": "string",
                        "resourceProviderId": "string",
                        "resourceId": "string",
                        "extCps": [
                            {
                                "cpdId": "string",
                                "cpConfig": [
                                    {
                                        "cpInstanceId": "string",
                                        "linkPortId": "string",
                                        "cpProtocolData": [
                                            {
                                                "layerProtocol": "string",
                                                "ipOverEthernet": {
                                                    "macAddress": "string",
                                                    "ipAddresses": [
                                                        {
                                                            "type": "string",
                                                            "fixedAddresses": [
                                                                "string"
                                                            ],
                                                            "numDynamicAddresses": 0,
                                                            "addressRange": {
                                                                "minAddress": "string",
                                                                "maxAddress": "string"
                                                            },
                                                            "subnetId": "string"
                                                        }
                                                    ]
                                                }
                                            }
                                        ]
                                    }
                                ]
                            }
                        ],
                        "extLinkPorts": [
                            {
                                "id": "string",
                                "resourceHandle": {
                                    "vimId": "string",
                                    "resourceProviderId": "string",
                                    "resourceId": "string",
                                    "vimLevelResourceType": "string"
                                }
                            }
                        ]
                    }
                ],
                "nodeProfileName": "string",
                "vimConnectionInfo": [
                    {
                        "id": "string",
                        "vimId": "string",
                        "vimType": "string",
                        "extra": {
                            "deploymentProfileId": "string",
                            "nodeProfileName": "string",
                            "nodePoolId": "string",
                            "nodePoolName": "string",
                            "vimName": "string"
                        }
                    }
                ],
                "lcmInterfaces": {
                    "lcmInterfaces": {
                        "scale_start": [
                            {
                                "name": "USER",
                                "type": "string",
                                "value": "root"
                            },
                            {
                                "name": "PWD",
                                "type": "password",
                                "value": "Y2EkaGMwdw=="
                            },
                            {
                                "name": "HOSTNAME",
                                "type": "string",
                                "value": "10.176.160.54"
                            },
                            {
                                "name": "CMD",
                                "type": "string",
                                "value": "uptime"
                            },
                            {
                                "name": "VIM_LOCATION",
                                "type": "location",
                                "value": "vmware_641917F756584A7FA21F455F775D5F66"
                            }
                        ],
                        "scale_end": [
                            {
                                "name": "USER",
                                "type": "string",
                                "value": "root"
                            },
                            {
                                "name": "PWD",
                                "type": "password",
                                "value": "Y2EkaGMwdw=="
                            },
                            {
                                "name": "HOSTNAME",
                                "type": "string",
                                "value": "10.176.160.54"
                            },
                            {
                                "name": "CMD",
                                "type": "string",
                                "value": "uptime"
                            },
                            {
                                "name": "VIM_LOCATION",
                                "type": "location",
                                "value": "vmware_641917F756584A7FA21F455F775D5F66"
                            }
                        ]
                    }
                },
                "isVnfVAppTemplate": false,
                "vAppTemplateName": "string",
                "storageProfiles": [
                    "string"
                ]
            }
        }
    ],
    "locationConstraints": [
        {
            "vnfProfileId": "string",
            "locationConstraints": {
                "countryCode": "string",
                "civicAddressElement": [
                    {
                        "caType": 0,
                        "caValue": "string"
                    }
                ]
            }
        }
    ]
}
vnfInstanceToBeAdded
Optional

An existing VNF instance to be added to the NS instance as part of the scaling operation. If needed, the VNF Profile to be used for this VNF instance may also be provided.

array of Identifier
vnfInstanceToBeRemoved
Optional

The VNF instance to be removed from the NS instance as part of the scaling operation.

scaleNsByStepsData
Optional

scaleNsByStepsData

scaleNsToLevelData
Optional

scaleNsToLevelData

additionalParamsForNs
Optional

additionalParamsForNs

additionalParamsForVnf
Optional

Allows the OSS/BSS to provide additional parameter(s) per VNF instance (as opposed to the NS level, which is covered in additionalParamforNs). This is for VNFs that are to be created by the NFVO as part of the NS scaling and not for existing VNF that are covered by the scaleVnfData.

locationConstraints
Optional

The location constraints for the VNF to be instantiated as part of the NS scaling. An example can be a constraint for the VNF to be in a specific geographic location.

Property Of