Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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",

"vm-id": http://1xx.2x.2xx.1xx:8774/v2/64af07e991424b8e9e54eca27d5c0d48/servers/b074cd1b-8d53-412e-a102-351cc51ac10a",

"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

...