DHCP Subnet

Media Type
[application/vnd.org.midonet.DhcpSubnet-v2+json]
Collection Media Type
[application/vnd.org.midonet.collection.DhcpSubnet-v2+json]
GET     /bridges/:bridgeId/dhcp
GET     /bridges/:bridgeId/dhcp/:subnetAddr
POST    /bridges/:bridgeId/dhcp
PUT     /bridges/:bridgeId/dhcp/:subnetAddr
DELETE  /bridges/:bridgeId/dhcp/:subnetAddr
Field NameTypePOST/PUTRequiredDescription

uri

URI

  

A GET against this URI refreshes the representation of this source.

hosts

URI

  

A GET against this URI returns the DHCP hosts for this subnet.

subnetPrefix

String

POST/PUT

Yes

The IPv4 subnet prefix address.

subnetLength

Integer

POST/PUT

Yes

The IPv4 subnet prefix length. The value must belong to the interval [0, 32].

defaultGateway

String

POST/PUT

No

The IPv4 address of the default gateway.

dnsServerAddrs

Array of String

POST/PUT

No

The list of DNS server IPv4 addresses.

enabled

Boolean

POST/PUT

No

Indicates whether the DHCP service is enabled. The default value is true.

interfaceMTU

Integer

POST/PUT

No

The interface Maximum Transmission Unit. The value must belong to the interval [0, 65536].

opt121Routes

Array of (String, Integer, String)

POST/PUT

No

The list of DHCP option 121 routes, each of which consists of the following fields: destinationPrefix as an IPv4 subnet address; destinationLength as an IPv4 subnet prefix length; and gatewayAddr as the gateway IPv4 address.

serverAddr

String

POST/PUT

No

The IPv4 address of the DHCP server.

Questions? Discuss on Mailing Lists or Chat.
Found an error? Report a bug.