diff options
author | Jernej Jakob <jernej.jakob@gmail.com> | 2019-06-23 17:01:12 +0200 |
---|---|---|
committer | Daniil Baturin <daniil@baturin.org> | 2019-11-17 19:06:47 +0100 |
commit | b4b11de59c1f53a15e1d5afbc0d392dfa768fb0d (patch) | |
tree | 8e7b6c5a822107eebc49a6970d3b3abf16ad422d /src/conf_mode/dhcpv6_server.py | |
parent | fb61e7e72acc372fa49a0cd16fa7f1ba3b0f8dfa (diff) | |
download | vyos-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/dhcpv6_server.py')
-rwxr-xr-x | src/conf_mode/dhcpv6_server.py | 3 |
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 %} |