"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "neutron/agent/linux/dhcp.py" between
neutron-14.0.2.tar.gz and neutron-14.0.3.tar.gz

About: OpenStack Neutron (Core Service: Networking) enables network connectivity as a service for other OpenStack services, such as OpenStack Compute. Provides an API for users to define networks and the attachments into them. Has a pluggable architecture that supports many popular networking vendors and technologies.
The "Stein" series (maintained release).

dhcp.py  (neutron-14.0.2):dhcp.py  (neutron-14.0.3)
skipping to change at line 351 skipping to change at line 351
'--no-hosts', '--no-hosts',
_no_resolv, _no_resolv,
'--pid-file=%s' % pid_file, '--pid-file=%s' % pid_file,
'--dhcp-hostsfile=%s' % self.get_conf_file_name('host'), '--dhcp-hostsfile=%s' % self.get_conf_file_name('host'),
'--addn-hosts=%s' % self.get_conf_file_name('addn_hosts'), '--addn-hosts=%s' % self.get_conf_file_name('addn_hosts'),
'--dhcp-optsfile=%s' % self.get_conf_file_name('opts'), '--dhcp-optsfile=%s' % self.get_conf_file_name('opts'),
'--dhcp-leasefile=%s' % self.get_conf_file_name('leases'), '--dhcp-leasefile=%s' % self.get_conf_file_name('leases'),
'--dhcp-match=set:ipxe,175', '--dhcp-match=set:ipxe,175',
'--dhcp-userclass=set:ipxe6,iPXE', '--dhcp-userclass=set:ipxe6,iPXE',
'--local-service', '--local-service',
'--bind-dynamic',
] ]
if self.device_manager.driver.bridged: if not self.device_manager.driver.bridged:
cmd += [ cmd += [
'--bind-interfaces',
]
else:
cmd += [
'--bind-dynamic',
'--bridge-interface=%s,tap*' % self.interface_name, '--bridge-interface=%s,tap*' % self.interface_name,
] ]
possible_leases = 0 possible_leases = 0
for i, subnet in enumerate(self._get_all_subnets(self.network)): for i, subnet in enumerate(self._get_all_subnets(self.network)):
mode = None mode = None
# if a subnet is specified to have dhcp disabled # if a subnet is specified to have dhcp disabled
if not subnet.enable_dhcp: if not subnet.enable_dhcp:
continue continue
if subnet.ip_version == 4: if subnet.ip_version == 4:
 End of changes. 3 change blocks. 
6 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)