3.39.2. Enable scheduling for a service

 
MethodURIDescription
PUT/v2/{tenant_id}/os-services/enable

Enables scheduling for a service.

Normal response codes: 200

 3.39.2.1. Request

This table shows the URI parameters for the enable scheduling for a service request:

NameTypeDescription

{tenant_id}

​String

The ID for the tenant or account in a multi-tenancy cloud.

 

Example 3.322. Enable scheduling for a service: JSON request

{
    "host": "host1",
    "binary": "nova-compute"
}

 3.39.2.2. Response

 

Example 3.323. Enable scheduling for a service: JSON response

{
    "service": {
        "host": "host1",
        "binary": "nova-compute",
        "status": "enabled"
    }
}

Questions? Discuss on ask.openstack.org
Found an error? Report a bug against this page


loading table of contents...