HealNsRequest
HealNsRequest
This type represents request parameters for the "Heal NS" operation. This operation supports the healing of an NS instance, either by healing the complete NS instance or by healing one of more of the VNF instances that are part of this NS. It shall comply with the provisions defined in Table 6.5.2.13-1. Either the parameter healNsData or the parameter healVnfData, but not both shall be provided.
JSON Example
{
"healNsData": {
"degreeHealing": "string",
"actionsHealing": [
"string"
],
"healScript": "string",
"additionalParamsforNs": {
"lcmInterfaces": {
"lcmInterfaces": {
"heal_start": [
{
"name": "USER",
"type": "string",
"value": "root"
},
{
"name": "PWD",
"type": "password",
"value": "pass"
},
{
"name": "HOSTNAME",
"type": "string",
"value": "10.176.160.54"
},
{
"name": "CMD",
"type": "string",
"value": "uptime"
},
{
"name": "VIM_LOCATION",
"type": "location",
"value": "vmware_641917F756584A7FA21F455F775D5F66"
}
],
"heal_end": [
{
"name": "USER",
"type": "string",
"value": "root"
},
{
"name": "PWD",
"type": "password",
"value": "pass"
},
{
"name": "HOSTNAME",
"type": "string",
"value": "10.176.160.54"
},
{
"name": "CMD",
"type": "string",
"value": "uptime"
},
{
"name": "VIM_LOCATION",
"type": "location",
"value": "vmware_641917F756584A7FA21F455F775D5F66"
}
]
}
},
"healParam": {
"cause": "error"
}
}
},
"healVnfData": [
{
"vnfInstanceId": "string",
"cause": "string",
"additionalParams": {
"lcmInterfaces": {
"lcmInterfaces": {
"heal_start": [
{
"name": "USER",
"type": "string",
"value": "root"
},
{
"name": "PWD",
"type": "password",
"value": "pass"
},
{
"name": "HOSTNAME",
"type": "string",
"value": "10.176.160.54"
},
{
"name": "CMD",
"type": "string",
"value": "uptime"
},
{
"name": "VIM_LOCATION",
"type": "location",
"value": "vmware_641917F756584A7FA21F455F775D5F66"
}
],
"heal_end": [
{
"name": "USER",
"type": "string",
"value": "root"
},
{
"name": "PWD",
"type": "password",
"value": "pass"
},
{
"name": "HOSTNAME",
"type": "string",
"value": "10.176.160.54"
},
{
"name": "CMD",
"type": "string",
"value": "uptime"
},
{
"name": "VIM_LOCATION",
"type": "location",
"value": "vmware_641917F756584A7FA21F455F775D5F66"
}
]
}
},
"healParam": {
"cause": "error"
}
}
}
]
}