~soren/nova/assume-dhcp-start-is-gateway

Viewing all changes in revision 614.

  • Committer: Soren Hansen
  • Date: 2011-01-26 14:01:24 UTC
  • Revision ID: soren@linux2go.dk-20110126140124-o7b78s8shpj0jy98
Set --dhcp-range's first argument to net['gateway'] rather than net['dhcp_start'].

The address given to dhcp-range is only used to identify the interface to which the pool of IP's belong. net['start'] will always be part of the subnet of the dhcp_range, so this avoids the need for dhcp_range to be set.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: