summaryrefslogtreecommitdiff
path: root/src/conf_mode
diff options
context:
space:
mode:
authorJernej Jakob <jernej.jakob@gmail.com>2019-06-23 17:01:12 +0200
committerDaniil Baturin <daniil@baturin.org>2019-11-17 19:06:47 +0100
commitb4b11de59c1f53a15e1d5afbc0d392dfa768fb0d (patch)
tree8e7b6c5a822107eebc49a6970d3b3abf16ad422d /src/conf_mode
parentfb61e7e72acc372fa49a0cd16fa7f1ba3b0f8dfa (diff)
downloadvyos-1x-b4b11de59c1f53a15e1d5afbc0d392dfa768fb0d.tar.gz
vyos-1x-b4b11de59c1f53a15e1d5afbc0d392dfa768fb0d.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')
-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 %}