...
NOTE: The command implementation is based on OpenStack functionality. For further details, see http://developer.openstack.org/api-ref/compute/.
Reboot Request:
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:
- A successful Reboot of the VM returns a success status code 400 when completed.
...
- A failed request to reboot the VM returns a failure code 401 and the failure message. Failure messages can include:
- vm-id not available in A&AI
- identity-url not available in A&AI
- unauthorized
- forbidden
- itemNotFound
- conflict
...