GET /api/subnets
List of subnets

GET /api/domains/:domain_id/subnets
List of subnets for a domain

GET /api/locations/:location_id/subnets
List of subnets per location

GET /api/organizations/:organization_id/subnets
List of subnets per organization

Parâmentros

Nome parâmetro Descrição
domain_id
opcional

ID of domain


Value:

Must be String

search
opcional

filtrar resultados


Value:

Must be String

order
opcional

ordenar resultados


Value:

Must be String

page
opcional

paginar resultados


Value:

Must be String

per_page
opcional

número de entradas por requisições


Value:

Must be String


GET /api/subnets/:id
Show a subnet

Parâmentros

Nome parâmetro Descrição
id
requerido

Value:

Must be an identifier, string from 1 to 128 characters containing only alphanumeric characters, space, underscore(_), hypen(-) with no leading or trailing space.


POST /api/subnets
Criar uma subrete

Parâmentros

Nome parâmetro Descrição
subnet
requerido

Value:

Must be a Hash

subnet[name]
requerido

Nome da subnet


Value:

Must be String

subnet[network]
requerido

Subnet network


Value:

Must be String

subnet[mask]
requerido

Mascara de rede para esta sub rede


Value:

Must be String

subnet[gateway]
opcional , nulo permitido

Primary DNS for this subnet


Value:

Must be String

subnet[dns_primary]
opcional , nulo permitido

Primary DNS for this subnet


Value:

Must be String

subnet[dns_secondary]
opcional , nulo permitido

Secondary DNS for this subnet


Value:

Must be String

subnet[ipam]
opcional , nulo permitido

IP Address auto suggestion mode for this subnet, valid values are “DHCP”, “Internal DB”, “None”


Value:

Must be String

subnet[from]
opcional , nulo permitido

Starting IP Address for IP auto suggestion


Value:

Must be String

subnet[to]
opcional , nulo permitido

Ending IP Address for IP auto suggestion


Value:

Must be String

subnet[vlanid]
opcional , nulo permitido

VLAN ID for this subnet


Value:

Must be String

subnet[domain_ids]
opcional , nulo permitido

Domínios em que essa subrede faz parte


Value:

Must be an array of any type

subnet[dhcp_id]
opcional , nulo permitido

Proxy DHCP para usar dentro dessa subrede


Value:

Must be a number.

subnet[tftp_id]
opcional , nulo permitido

TFTP Proxy para utilizar com esta subrede


Value:

Must be a number.

subnet[dns_id]
opcional , nulo permitido

Proxy DNS para usar dentro dessa subrede


Value:

Must be a number.

subnet[boot_mode]
opcional , nulo permitido

Default boot mode for interfaces assigned to this subnet, valid values are “Static”, “DHCP”


Value:

Must be String


PUT /api/subnets/:id
Update a subnet

Parâmentros

Nome parâmetro Descrição
id
requerido

Subnet numeric identifier


Value:

Must be a number.

subnet
requerido

Value:

Must be a Hash

subnet[name]
opcional

Nome da subnet


Value:

Must be String

subnet[network]
opcional

Subnet network


Value:

Must be String

subnet[mask]
opcional

Mascara de rede para esta sub rede


Value:

Must be String

subnet[gateway]
opcional , nulo permitido

Primary DNS for this subnet


Value:

Must be String

subnet[dns_primary]
opcional , nulo permitido

Primary DNS for this subnet


Value:

Must be String

subnet[dns_secondary]
opcional , nulo permitido

Secondary DNS for this subnet


Value:

Must be String

subnet[ipam]
opcional , nulo permitido

IP Address auto suggestion mode for this subnet, valid values are “DHCP”, “Internal DB”, “None”


Value:

Must be String

subnet[from]
opcional , nulo permitido

Starting IP Address for IP auto suggestion


Value:

Must be String

subnet[to]
opcional , nulo permitido

Ending IP Address for IP auto suggestion


Value:

Must be String

subnet[vlanid]
opcional , nulo permitido

VLAN ID for this subnet


Value:

Must be String

subnet[domain_ids]
opcional , nulo permitido

Domínios em que essa subrede faz parte


Value:

Must be an array of any type

subnet[dhcp_id]
opcional , nulo permitido

Proxy DHCP para usar dentro dessa subrede


Value:

Must be a number.

subnet[tftp_id]
opcional , nulo permitido

TFTP Proxy para utilizar com esta subrede


Value:

Must be a number.

subnet[dns_id]
opcional , nulo permitido

Proxy DNS para usar dentro dessa subrede


Value:

Must be a number.

subnet[boot_mode]
opcional , nulo permitido

Default boot mode for interfaces assigned to this subnet, valid values are “Static”, “DHCP”


Value:

Must be String


DELETE /api/subnets/:id
Apagar uma subrede

Parâmentros

Nome parâmetro Descrição
id
requerido

Subnet numeric identifier


Value:

Must be a number.