more logging. is it even being *set*?
This commit is contained in:
parent
befdc9e99b
commit
4942e7d662
@ -26,7 +26,7 @@ enable-ra
|
|||||||
# {{ assignment.iface }} assignment
|
# {{ assignment.iface }} assignment
|
||||||
# Assignment blocks:
|
# Assignment blocks:
|
||||||
{%- for b in assignment.iface_blocks %}
|
{%- for b in assignment.iface_blocks %}
|
||||||
# * {{ b|string }} ({{ assignment.dhcp6_ranges[assign_loop.index0] }})
|
# * {{ b|string }} {{ assignment.dhcp6_ranges[assign_loop.index0] }}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
{%- if do_listen %}
|
{%- if do_listen %}
|
||||||
listen-address = {{ assignment.iface_ll }}
|
listen-address = {{ assignment.iface_ll }}
|
||||||
|
@ -132,6 +132,7 @@ class Assignment(object):
|
|||||||
for i in self.iface_blocks:
|
for i in self.iface_blocks:
|
||||||
# DHCPv6 range.
|
# DHCPv6 range.
|
||||||
_base = str(i.ip).rstrip(':')
|
_base = str(i.ip).rstrip(':')
|
||||||
|
logger.debug('Base prefix for {0}: {1}'.format(str(i), _base))
|
||||||
start = '{0}:dead:beef:cafe:0'.format(_base)
|
start = '{0}:dead:beef:cafe:0'.format(_base)
|
||||||
stop = '{0}:dead:beef:cafe:ffff'.format(_base)
|
stop = '{0}:dead:beef:cafe:ffff'.format(_base)
|
||||||
self.dhcp6_ranges.append((start, stop))
|
self.dhcp6_ranges.append((start, stop))
|
||||||
|
Loading…
Reference in New Issue
Block a user