mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
Removed dhcpopts.conf for now as, it is the routing options and they seem to be dealt with dofferently in the new arrangement
Changed the dhcp tests to avoid handing out the broadcast and gateway addresses :)
This commit is contained in:
parent
f21b90a73e
commit
5137d7e136
@ -96,7 +96,7 @@ class CsDnsMasq(object):
|
||||
|
||||
def configure_server(self):
|
||||
self.updated = self.updated | CsHelper.addifmissing(CLOUD_CONF, "dhcp-hostsfile=/etc/dhcphosts.txt")
|
||||
self.updated = self.updated | CsHelper.addifmissing(DNSMASQ_CONF, "dhcp-optsfile=%s:" % DHCP_OPTS)
|
||||
#self.updated = self.updated | CsHelper.addifmissing(DNSMASQ_CONF, "dhcp-optsfile=%s:" % DHCP_OPTS)
|
||||
for i in self.devinfo:
|
||||
if not i['dnsmasq']:
|
||||
continue
|
||||
|
||||
@ -219,7 +219,7 @@ class UpdateConfigTestCase(SystemVMTestCase):
|
||||
# This must happen in order for dnsmasq to be listening
|
||||
octets = config['router_guest_ip'].split('.')
|
||||
configs = []
|
||||
for n in range(10):
|
||||
for n in range(3,13):
|
||||
ipb = ".".join(octets[0:3])
|
||||
ipa = "%s.%s" % (ipb, n)
|
||||
gw = "%s.1" % ipb
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user