summaryrefslogtreecommitdiff
path: root/src/conf_mode/dhcpv6_server.py
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2019-06-23 17:01:12 +0200
committerJernej Jakob <jernej.jakob@gmail.com>2019-06-24 23:25:51 +0200
commit89995dcec3a2a6b9112f11cf1c9e4a1bcb4d66d6 (patch)
tree918452196fecd88c199b7647d061dbbe802b660a /src/conf_mode/dhcpv6_server.py
parent3d3308b5556e6720e0876d0099a83a7ab3307d3c (diff)
downloadvyos-1x-89995dcec3a2a6b9112f11cf1c9e4a1bcb4d66d6.tar.gz
vyos-1x-89995dcec3a2a6b9112f11cf1c9e4a1bcb4d66d6.zip
T1470: improve output of "show dhcpv6 server leases"
- change DUID to IAID_DUID - format IAID_DUID as colon-separated hex list - implement functions: pool, sort, state - add op-mode definitions for pool, sort, state - add columns: State, Type, Last communication, Pool - implement json output - implement completionHelp function
Diffstat (limited to 'src/conf_mode/dhcpv6_server.py')
-rwxr-xr-xsrc/conf_mode/dhcpv6_server.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/conf_mode/dhcpv6_server.py b/src/conf_mode/dhcpv6_server.py
index 37da3ef25..f5117de53 100755
--- a/src/conf_mode/dhcpv6_server.py
+++ b/src/conf_mode/dhcpv6_server.py
@@ -101,6 +101,9 @@ shared-network {{ network.name }} {
{%- endfor %}
}
{%- endfor %}
+ on commit {
+ set shared-networkname = "{{ network.name }}";
+ }
}
{%- endif %}
{% endfor %}