Files
nova/doc/api_samples/os-extended-networks/network-create-req.xml
T
Vishvananda Ishaya 71fabdc8dc Add api extension for new network fields.
This uses the existing api extension to implement the actual control
of the fields, but the check is based on a new dummy extension
called os-extended-networks.

Api sample tests added for new extension.

DocImpact: Adds an extension that enables extra fields for network
create. The new fields are:
  mtu: int (default flag) if set, nova sets the mtu on bridge. This
       allows network_device_mtu flag to be set per network.
  dhcp_server: ip (default == gateway) if different from gateway, sets
                nova to assume gateway is external.
  enable_dhcp: bool (default true) false will disable dhcp on network.
  share_address: bool (default flag) if specifed, network will have
                 the same dhcp ip on every host. This allows
                 share_dhcp_address flag to be set per network.
  allowed_start: ip if specified, reserves all ips before allowed_start.
  allowed_end: ip if specified, reserves all ips after allowed_end.

Partially-implements blueprint better-support-for-multiple-networks

Change-Id: I577fe5f6560be50106f345a42a826e97d5e7d64c
2014-08-19 11:21:23 -07:00

11 lines
317 B
XML

<network>
<label>new net 111</label>
<cidr>10.20.105.0/24</cidr>
<mtu>9000</mtu>
<dhcp_server>10.20.105.2</dhcp_server>
<enable_dhcp>False</enable_dhcp>
<share_address>True</share_address>
<allowed_start>10.20.105.10</allowed_start>
<allowed_end>10.20.105.200</allowed_end>
</network>