HealNsData
This type represents the information used to heal a NS. It shall comply with the provisions defined in Table 6.5.3.43-1.
{
"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"
}
}
}
Indicates the degree of healing. Possible values include: - HEAL_RESTORE: Complete the healing of the NS restoring the state of the NS before the failure occurred. Equivalent to Recreate - HEAL_QOS: Complete the healing of the NS based on the newest QoS values - HEAL_RESET: Complete the healing of the NS resetting to the original instantiation state of the NS Equivalent to Restart - PARTIAL_HEALING.
Used to specify dedicated healing actions in a particular order (e.g. as a script). The actionsHealing attribute can be used to provide a specific script whose content and actions might only be possible to be derived during runtime.