ScaleNsRequest

ScaleNsRequest
ScaleNsRequest

This type represents a request for the scale NS operation. Either the parameter scaleNsData or the parameter scaleVnfData, but not both shall be provided

JSON Example
{
    "scaleType": "string",
    "scaleNsData": {
        "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",
                        "nodePools": [
                            "string"
                        ],
                        "nodePoolBatchSize": 0
                    }
                }
            ],
            "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",
                "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",
                                "nodePools": [
                                    "string"
                                ],
                                "nodePoolBatchSize": 0
                            }
                        }
                    ],
                    "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"
                        }
                    ]
                }
            }
        ]
    },
    "scaleVnfData": [
        {
            "vnfInstanceid": "string",
            "scaleVnfType": "string",
            "scaleToLevelData": {
                "vnfInstantiationLevelId": "string",
                "vnfScaleInfo": [
                    {
                        "aspectId": "string",
                        "scaleLevel": 0
                    }
                ],
                "additionalParams": {
                    "nfType": "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"
                        }
                    ]
                }
            },
            "scaleByStepData": {
                "aspectId": "string",
                "numberOfSteps": 0,
                "additionalParams": {
                    "nfType": "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"
                        }
                    ]
                }
            }
        }
    ],
    "scaleTime": "string"
}
string
scaleType
Required

Indicates the type of scaling to be performed. Possible values: - SCALE_NS - SCALE_VNF

Possible values are : SCALE_NS, SCALE_VNF,
scaleNsData
Optional

scaleNsData

scaleVnfData
Optional

The necessary information to scale the referenced NS instance. It shall be present when scaleType = SCALE_VNF.

scaleTime
Optional

scaleTime

Parameter To