Age | Commit message (Collapse) | Author | |
---|---|---|---|
2024-02-13 | dhcp: dhcpv6: T3316: Add op-mode for showing DHCP(v6) static-mappings | sarthurdev | |
2024-02-13 | dhcpv6-server: T5992: Fix op-mode Kea DHCP lease output | sarthurdev | |
Due to Kea's lease file cleanup, the CSV file content is inconsistent. This commit makes changes to use the Kea control socket to fetch current lease information. | |||
2023-12-08 | dhcp: T3316: Migrate dhcp/dhcpv6 server to Kea | sarthurdev | |
2023-11-30 | T5778: dhcp server: fix op-mode command <show dhcp server leases ...>. | Nicolas Fort | |
2023-07-29 | T3355: migrate "show dhcp client lease" to new op-mode style | Christian Breunig | |
vyos@vyos# ${vyos_op_scripts_dir}/dhcp.py show_client_leases --family inet --interface eth0.10 Interface eth0.10 IP address 172.16.33.123 [Active] Subnet Mask 255.255.255.0 Domain Name vyos.net Router 172.16.33.254 Name Server 172.16.254.30 DHCP Server 172.16.33.254 DHCP Server 86400 Last Update Sat Jul 29 21:13:32 CEST 2023 Expiry Sun Jul 30 21:13:31 CEST 2023 vyos@vyos# ${vyos_op_scripts_dir}/dhcp.py show_client_leases --family inet --interface eth0.10 --raw [ { "last_update": "Sat Jul 29 21:13:32 CEST 2023", "reason": "BOUND", "interface": "eth0.10", "new_expiry": "1690744411", "new_dhcp_lease_time": "86400", "medium": "", "alias_ip_address": "", "new_ip_address": "172.16.33.123", "new_broadcast_address": "172.16.33.255", "new_subnet_mask": "255.255.255.0", "new_domain_name": "vyos.net", "new_network_number": "172.16.33.0", "new_domain_name_servers": "172.16.254.30", "new_routers": "172.16.33.254", "new_static_routes": "", "new_dhcp_server_identifier": "172.16.33.254", "new_dhcp_message_type": "5", "old_ip_address": "", "old_subnet_mask": "", "old_domain_name": "", "old_domain_name_servers": "", "old_routers": "", "old_static_routes": "" } ] | |||
2023-02-27 | op-mode: T4952: use list_interfaces from vyos-utils | John Estabrook | |
2022-12-23 | dhcp: T4758: implement missing functionality from old script to new op-mode ↵ | Christian Poessinger | |
script Sorting DHCP pools and filtering for state can now be done using the new op-mode mode scripts in DHCP. This allows us to drop the old helpers show_dhcp.py and show_dhcpv6.py. | |||
2022-11-02 | T4758: Rewrite show DHCP(v6) server leases to vyos.opmode format | Viacheslav Hletenko | |
Rewrite op-mode DHCP and DHCPv6 leases to vyos.opmode format Abbility to show 'raw' format show dhcp server leases show dhcpv6 server leases | |||
2021-09-19 | dhcpv6: op-mode: xml: error out if DHCPv6 service not configured | Christian Poessinger | |
Restarting DHCPv6 server should not be possible when service is not configured on the CLI. | |||
2021-09-19 | dhcpv6: op-mode: xml: fix duplicate help strings | Christian Poessinger | |
2021-09-19 | dhcp: op-mode: xml: error out if DHCP service not configured | Christian Poessinger | |
2021-09-19 | dhcp: op-mode: xml: fix duplicate help string | Christian Poessinger | |
2021-09-02 | op-mode: T1376: speed up tab-completion for DHCP pool listing | Christian Poessinger | |
Commit 9f20bee81c ("T1376: improve show_dhcp and show_dhcpv6") added the tab completion helper to list the availbale IP pools to query. This was done by calling a python script which then called cli-shell-api which resulted in a penalty by the Python interpreter startup. This can be solved by directly using the cli-shell-api wrapper available as <path> in op-mode - as also seen for DHCPv6. | |||
2021-01-15 | op-mode: restart: cleanup help strings | Christian Poessinger | |
2021-01-10 | xml: op-mode: add preprocessor support as known from configuration mode | Christian Poessinger | |