api.dc.network

/dc/(dc)/network

api.dc.network.views.dc_network_list(*args, **kwargs)

List (GET) available networks in current datacenter.

GET /dc/(dc)/network
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • data.full (boolean) – Return list of objects with all network details (default: false)
  • data.order_by (string) – Available fields for sorting: name (default: name)
Status Codes:

/dc/(dc)/network/(name)

api.dc.network.views.dc_network(*args, **kwargs)

Show (GET), create (POST) or delete (DELETE) a network (name) association with a datacenter (dc).

GET /dc/(dc)/network/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Network name
Status Codes:
POST /dc/(dc)/network/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Network name
Status Codes:
DELETE /dc/(dc)/network/(name)
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Network name
Status Codes:

/dc/(dc)/network/(name)/ip

api.dc.network.views.dc_network_ip_list(*args, **kwargs)

List (GET) IP addresses in a network (name) used by all servers in a datacenter (dc).

GET /dc/(dc)/network/(name)/ip
DC-bound?:
Permissions:
Asynchronous?:
Parameters:
  • request.dc (string) – required - Datacenter name
  • name (string) – required - Network name
  • data.full (boolean) – Return list of objects with all network IP address details (default: false)
Status Codes: