Page MenuHomeVyOS Platform

improve output of "show dhcpv6 server leases"
Closed, ResolvedPublicENHANCEMENT

Description

Unify with isc-dhcp conventions:

  • change DUID to IAID_DUID as referenced in isc-dhcp documentation
  • format IAID_DUID output as colon-separated hex list
  • add type column (temporary, non-temporary or prefix delegation)
  • add expired argument
  • add json output

Details

Version
-

Event Timeline

jjakob changed the task status from Open to In progress.
jjakob triaged this task as Wishlist priority.
jjakob created this object in space S1 VyOS Public.
jjakob changed the subtype of this task from "Task" to "Enhancement".

https://kb.isc.org/docs/isc-dhcp-44-manual-pages-dhcpdleases#the-dhcpv6-lease-ia-declaration
isc-dhcpd can store IANA_DUID either as octal string (default) or hex, as set by lease-id-format parameter.
python-isc-dhcp-leases currently only supports string type, so it internally parses it into hex. We need to parse it again to add colons to unify with isc-dhcp hex format.
If python-isc-dhcp-leases were improved to add hex type support, we could set lease-id-format to hex and do away with all this parsing.

jjakob closed this task as Unknown Status.Jul 4 2019, 10:48 PM
jjakob moved this task from Need Triage to Finished on the VyOS 1.3 Equuleus board.
syncer raised the priority of this task from Wishlist to Normal.
syncer moved this task from Needs Triage to Backlog on the VyOS 1.2 Crux (VyOS 1.2.4) board.
dmbaturin changed the task status from Unknown Status to Resolved.Nov 17 2019, 6:08 PM

Cherr-picked into crux.