Documentation can be found on http://onap.readthedocs.io/en/latest
The Reboot API definition is temporarily inlcuded here until the APPC LCM Guide in Readthedocs is updated for Casablanca:
The Reboot is used to reboot a VM.
There are two types supported: HARD and SOFT. A SOFT reboot attempts a graceful shutdown and restart of the server. A HARD reboot attempts a forced shutdown and restart of the server. The HARD reboot corresponds to the power cycles of the server.
A “hard Reboot” should succeed when the VM is any of the non-error initial states (active, stopped, paused, suspended). However, “soft Reboot” succeeds only if the VM was already active. If the VM was previously stopped, paused, or suspended, the soft Reboot command may fail.
NOTE: The command implementation is based on OpenStack functionality. For further details, see http://developer.openstack.org/api-ref/compute/.
Target URL | /restconf /operations/ appc-provider-lcm:reboot |
Action | Reboot |
Action-Identifiers | vnf-id, vserver-id |
Payload Parameters | See below |
Revision History | New in 1806. |
Parameter | Description | Required? | Example |
type | The type of reboot. Values are HARD and SOFT. If not specified, SOFT reboot is performed. . | No | {"payload": { "type": "HARD", "identity-url": "http://1xx.2x.2xx.1xx:5000/v2.0" } } |
vm-id | The self-link URL of the VM. | Yes | |
Identity-url | This is the identity-url associated with the cloud-region. (If not provided, APP-C may automatically use an incorrect identity-url.) | Yes |
Reboot Response:
Success:
Failure: