3.31.6. Associate host

 
MethodURIDescription
POST/v2/{tenant_id}/os-networks/{id}/action

Associates a specified network with a host.

Normal response codes: 202

 3.31.6.1. Request

This table shows the URI parameters for the associate host request:

NameTypeDescription

{tenant_id}

​String

The unique identifier of the tenant or account.

{id}

​U​U​ID

The unique identifier associated with the network.

 

Example 3.262. Associate host: JSON request

{
    "associate_host": "testHost"
}

 

Example 3.263. Associate host: XML request

<?xml version='1.0' encoding='UTF-8'?>
<associate_host>testHost</associate_host>

This operation does not require a request body.

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


loading table of contents...