Port Management

Assign a port for a hardware to virtual network.

    /ports/{id}/assign
  • Parameters
  • id
    string  (required) in path

    Port UUID

    vnid
     (required) in body

    Virtual Network ID

    {
    	"vnid": "string"
    } 

Unassign a port

/ports/{id}/unassign

Unassign a port for a hardware.

    /ports/{id}/unassign
  • Parameters
  • id
    string  (required) in path

    Port UUID

    vnid
     (required) in body

    Virtual Network ID

    {
    	"vnid": "string"
    } 

Disabling bonding

/ports/{id}/disbond

Disabling bonding for one or all ports

    /ports/{id}/disbond
  • Parameters
  • id
    string  (required) in path

    Port UUID

    bulk_disable
    boolean in query

    disable both ports

Enabling bonding

/ports/{id}/bond

Enabling bonding for one or all ports

    /ports/{id}/bond
  • Parameters
  • id
    string  (required) in path

    Port UUID

    bulk_enable
    boolean in query

    enable both ports

Convert to Layer 2

/ports/{id}/convert/layer-2

Converts a bond port to Layer 2. IP assignments of the port will be removed.

    /ports/{id}/convert/layer-2
  • Parameters
  • id
    string  (required) in path

    Port UUID

    vnid
    in body

    Virtual Network ID

    {
    	"vnid": "string"
    } 

Convert to Layer 3

/ports/{id}/convert/layer-3

Converts a bond port to Layer 3. VLANs must first be unassigned.

    /ports/{id}/convert/layer-3
  • Parameters
  • id
    string  (required) in path

    Port UUID

    request_ips
    in body

    IPs to request

    {
    	"request_ips": [
    		{
    			"address_family": "integer",
    			"public": "boolean"
    		}
    	]
    } 

Assign a native VLAN

/ports/{id}/native-vlan

Assigns a virtual network to this port as a "native VLAN"

    /ports/{id}/native-vlan
  • Parameters
  • id
    string  (required) in path

    Port UUID

    vnid
    string  (required) in body

    UUID or VNID of the virtual network to assign

Remove native VLAN

/ports/{id}/native-vlan

Removes the native VLAN from this port

    /ports/{id}/native-vlan
  • Parameters
  • id
    string  (required) in path

    Port UUID