summaryrefslogtreecommitdiff
path: root/interface-definitions
AgeCommit message (Collapse)Author
2026-11-12Merge pull request #5648 from c-po/T9606-ospf-compatibleKyrylo Yatsenko
ospf: T9606: add "compatible" node for RFC1583 and RFC7474 options
2026-11-12ospf: T9606: add "compatible rfc7474" to control strict sequence number ↵Christian Breunig
validation FRR now makes strict RFC7474 sequence number validation for OSPF cryptographic authentication optional. It is on by default and only the "no compatible rfc7474" form is shown. The new CLI node "compatible rfc7474" enables strict validation. When it is not set, "no compatible rfc7474" is rendered. Migration does not set it, so the previous behaviour of non-strict sequence number validation is kept on upgraded routers. Users must explicitly enable strict validation.
2026-11-12ospf: T9606: move "parameters rfc1583-compatibility" to "compatible rfc1583"Christian Breunig
The RFC1583 option sat under "parameters" although FRR groups it with its other "compatible" commands. It now lives under "compatible rfc1583" for the default and VRF instances. Migration moves an existing setting and drops a "parameters" node left empty by the move.
2026-11-11telegraf: T9329: Add PKI based TLS options for InfluxDB outputOleksandr Kuchmystyi
Add a reusable `tls` node for Telegraf outputs and use it for InfluxDB: `ca-certificate`, `certificate`, `server-name` and `insecure`. Referenced PKI objects are written to `/run/telegraf/certs`.
2026-11-02Merge pull request #5618 from c-po/T9555John Estabrook
xml: T9555: replace inline nodes duplicating existing include files
2026-11-01xml: T9555: replace inline nodes duplicating existing include filesChristian Breunig
Some CLI nodes were written out inline although an identical include already existed: the conntrack ignore rule protocol for IPv4 and IPv6, the accel-ppp RADIUS accounting interim interval and the OSPF stub area no-summary option. The copies could drift apart from the include over time. They now use the existing includes. The generated templates and the preprocessed XML are unchanged.
2026-11-01static: T9482: handle a blackhole next to a next-hop of the same distanceRuben Herold
FRR staticd refuses a blackhole or reject route next to a next-hop or interface route of the same prefix and distance. VyOS accepted the combination, the commit failed later in frr-reload and on some FRR versions the config manager stalled. Add a disable node to blackhole and reject. Verification refuses an enabled blackhole or reject route next to a next-hop, interface or dhcp-interface route of the same distance, and blackhole together with reject, in routes, tables and VRFs. The same applies to the default route of a PPPoE interface and of a DHCP interface that has a gateway. A commit that changes only such an interface does not run the check, frr-reload refuses it and the commit is rolled back. A config migration sets disable on the route FRR did not apply, so existing configurations keep loading and route as before.
2026-10-31Merge pull request #5615 from ↵Christian Breunig
ruben-herold/T9543-ipsec-reset-default-connection-type ipsec: T9543: start a peer again on reset when connection-type is unset
2026-10-31interfaces: T3871: remove the hw-id node and migrate its bindingsChristian Breunig
The node decides nothing now that the mapping store owns naming, and keeping it would leave two sources of truth free to disagree. Existing bindings are carried into the store by matching each hw-id against the permanent address of the hardware present, so a box named by an older release keeps exactly the names it had. Entries whose hardware is absent are skipped - the configuration may well originate from another machine. The hardware address of an interface is now read off the device rather than from the configuration.
2026-10-31ipsec: T9543: start a peer again on reset when connection-type is unsetRuben Herold
A site-to-site peer without connection-type is started at commit, because the router treats an unset value as initiate. The reset command only started a peer again when initiate was set explicitly in the configuration. After a reset such a peer was terminated and stayed down, including its VTI interface. Make initiate the default value of connection-type in the CLI definition, so every consumer sees the same value, and read the peer configuration with defaults in the reset command. A peer that is disabled, whose name starts with an at sign or whose remote address is any is not started at commit, so reset keeps skipping it instead of reporting a failed initiation.
2026-10-29mpls: T9534: Fix rendering of LDP neighbor ttl-security disableNataliia Solomko
The LDP template treated "ttl-security" as a node with a "disable" child, but it is a leaf holding either a TTL or "disable". Setting it to "disable" therefore produced "ttl-security hops disable", which FRR rejects, and the commit failed. The template now compares the value itself. The CLI also accepts only 1-254 or "disable", so invalid values are caught at set time instead of failing in FRR.
2026-10-29Merge pull request #5572 from c-po/T9473-cgnatViacheslav Hletenko
cgnat: T9473: invalid input crashes commit and overlapping pools hand out the same external address and ports
2026-10-28interfaces: T9491: refuse deleting an interface used as mirror or redirect ↵Nataliia Solomko
target A mirror or redirect target could be deleted while another interface still pointed at it. The commit was accepted, but after save and reboot the source interface failed verification and its whole configuration was dropped. Mirror ingress, mirror egress and redirect now take part in the interface reverse-dependency check, so deleting a target that is still in use now fails at commit time. Deleting it together with every interface that points at it still succeeds.
2026-10-26cgnat: T9473: reject pool ranges with host bits setChristian Breunig
Internal and external pool ranges also accepted a prefix with host bits set, such as 100.64.0.1/29. Such a value cannot be converted into a network and crashed the commit with a Python traceback. These values are now rejected when set; a range is either a network prefix or an address range.
2026-10-26cgnat: T9473: accept only a numeric range as external-port-rangeChristian Breunig
The external port range accepted a single port, a service name and a range whose start lies above its end. The first two crashed the commit with a Python traceback, the last one failed with a misleading "not enough ports" error. The CLI now only accepts a numeric range within 1-65535, and a reversed range is rejected with a clear error.
2026-10-22T8382: Add VPP Prometheus exporter supportRitika Chopra
Integrate the VPP Prometheus exporter with VyOS configuration. Upon being configured via VyOS CLI, the exporter reads VPP statistics and exposes selected metrics at /metrics endpoint for Prometheus to scrape. VPP exporter service can co-exist with node-exporter (both independently) to export VPP and kernel stats respectively. The implementation provides functionality: CLI configuration for the exporter, including its listen port, VRF, and selectable stat groups: interfaces, err, buffer-pools, system, workers, nodes, memory, nat44, and acl. Default stat groups of interfaces, err, buffer-pools, system, workers, and memory. Explicitly selecting any groups replaces that default set. The exporter is opt-in: configuring vpp-exporter enables and starts it. Removing the configuration stops the exporter independently of VPP. While configured, it follows VPP’s lifecycle and restarts when its own configuration changes. Validation that requires VPP to be configured before configuring the exporter, and rejects VPP removal while the exporter remains configured. Node metrics through the nodes group when VPP’s per-node-counters setting is enabled. Selecting nodes without that setting produces a warning. Removing the exporter leaves per-node-counters unchanged. VRF support for the exporter service. Co-authored-by: @inetman28 PR-Ref: #5339 (Addressed review comments, removed regex CLI options)
2026-10-22Merge pull request #5459 from ruben-herold/T9289-ipoe-lease-timeViacheslav Hletenko
ipoe-server: T9289: expose accel-ppp lease-time DHCP options
2026-10-19Merge pull request #5529 from ch4nn0n/T9097-haproxy-check-sslChristian Breunig
haproxy: T9097: add ssl checks-only for TLS health checks
2026-10-18Merge pull request #5570 from jvoss/isis_distribute_link_stateChristian Breunig
isis: T9227: add distribute link-state command
2026-10-18ospf: T9441: migrate "parameters opaque-lsa" to "capability opaque"Alex Kudentsov
"protocols ospf parameters opaque-lsa" and "protocols ospf capability opaque" are two CLI nodes for one FRR setting, FRR's "capability opaque". Keep "capability opaque" only. The migration script ospf/2-to-3 sets "capability opaque" where "parameters opaque-lsa" exists in the default VRF, and deletes the old node (and the "parameters" node when it is left empty). FRR refuses opaque LSAs outside the default VRF, so in a VRF instance the option never took effect: for a VRF the migration drops both "parameters opaque-lsa" and a plain "capability opaque" instead of moving the value into a node FRR would refuse at the next commit. The template renders the line from "capability opaque" only; it rendered the alias form "ospf opaque-lsa" for the old node, which frr-reload found missing in the running config on every reload: while only the old node was set, every commit that reloads FRR reset all adjacencies of that OSPF instance. Tests: a migration unit test (global instance, VRF instance, a VRF with "capability opaque" set directly, both nodes set together in a VRF, and global+VRF independence), the vrf-ospf config test (now carries "parameters opaque-lsa" in both the default instance and a VRF instance; the VRF instance is expected to lose it with no replacement), test_ospf_02 uses the new node, and test_ospf_21 checks the generated FRR config.
2026-10-17isis: T9227: add distribute link-state commandJonathan Voss
2026-10-16Merge pull request #5560 from alexandr-san4ez/T9346-rolling_validation-fixChristian Breunig
policy: T9346: Allow dot in `prefix-list` and `prefix-list6` names
2026-10-16policy: T9346: Allow dot in `prefix-list` and `prefix-list6` namesOleksandr Kuchmystyi
VyOS 1.3 allowed a dot in `policy prefix-list` and `policy prefix-list6` names (pattern `^[-_a-zA-Z0-9.]+$`). The XML rewrite dropped the dot from the allowed characters, so a 1.3 configuration using such names can no longer be loaded or committed after an upgrade. FRR itself accepts the dot in prefix-list names.
2026-10-15dhcp-server: T9267: make client-class substring matching contains-anywhereRuben Herold
The Mikrotik configuration referenced by T9267 uses matching-type=substring, documented to match the value anywhere within the option string. This PR's "substring" match instead compared a fixed-length slice at a fixed byte offset (default 0) for exact equality - effectively an anchored prefix match, not a substring search - which does not reliably reproduce the ticket's own use case of picking a device model string (e.g. "T42S") out of a longer, variably-formatted hostname. Rebuild "hostname substring"/"vendor-class-id substring" on Kea's match()+lcase() instead of substring()==, so a configured value now matches anywhere in the option content and case-insensitively (options like vendor-class-id are not guaranteed to arrive in a fixed case). Drop the "offset" leaf together with it, since it has no remaining purpose once matching is no longer anchored to a fixed position, and there is no released behavior to preserve. Raw hex input and values containing a literal single quote are rejected for substring matching in verify(), since neither can be safely embedded into the generated Kea regular expression; exact "value" matching is unaffected and still accepts both. Reported by alexk37 in review of PR #5436.
2026-10-15dhcp-server: T9267: drop standalone substring "length" optionRuben Herold
The byte length compared by a hostname/vendor-class-id "substring" match is always derived from "value" for a meaningful equality test: a shorter length never matches (comparing fewer option bytes against the full value literal), and a longer one is silently clamped by Kea to the available bytes, turning what looks like a prefix match into an exact match of the whole remainder. There is no legitimate use for setting it independently of "value", so drop the leaf rather than add another verify() constraint around it. Reported by alexk37 in review of PR #5436.
2026-10-15dhcp-server: T9267: add client-class matching on hostname/vendor-class-idRuben Herold
Client classes could previously only match on relay agent information (Option 82). Add matching on the client-sent hostname (Option 12) and vendor class identifier (Option 60), each with an exact-value or substring form, so clients sharing a subnet can be told apart by e.g. device model without splitting the subnet into per-model pools. Also let a client-class deliver its own options (reusing the existing subnet/range option syntax), so a match can directly hand out a model-specific value such as a provisioning URL, independent of which pool the client's lease is drawn from.
2026-10-14Merge pull request #5478 from jestabro/rdep-interfaceDaniil Baturin
T7886: add a general method for verifying interface reverse dependencies
2026-10-11Merge pull request #5534 from jbsky/container-tmpfs-chownChristian Breunig
container: T9401: add chown option to tmpfs mounts
2026-10-09Merge pull request #5502 from natali-rs1985/T6304John Estabrook
config-management: T6304: Rewrite commit-archive location into a structured CLI
2026-10-08T7886: add concatenation of vif entriesJohn Estabrook
2026-10-08T7886: add basic cases of reverse interface dependency verificationJohn Estabrook
Add cases for which a config mode script calls verify_interface_exists, excluding those of dynamic_interface_pattern, to be handled separately. The dependency verification raises error, resp., gives a warning, when verify_interface_exists is called with warning_only=False, resp., True. These are the critical cases that motivated the original design, for if a removal of an interface is allowed, a subsequent reboot will raise ConfigError on config load and invalidate the config subtree for that component.
2026-10-08Merge pull request #5540 from Hanarion/bgp-ipv6-route-map-vrf-importChristian Breunig
bgp: T9410: add route-map vrf import under ipv6-unicast
2026-10-08Merge pull request #5541 from rnavarro/feat/router-advert-no-remove-on-exitChristian Breunig
router-advert: T9413: add no-remove-on-exit and no-flush-* options
2026-10-07router-advert: T9413: add no-remove-on-exit and no-flush-* optionsRobert Navarro
On shutdown radvd sends a final RA with router lifetime 0 and announces its RDNSS and DNSSL entries with lifetime 0. On a VRRP pair that sends RAs from a shared source address (source-address fe80::1), hosts read the zero router lifetime as the shared router going away and remove their default route until the backup's next RA. On my routers that was 1.6 s of IPv6 loss when the master rebooted. radvd controls this with RemoveAdvOnExit, FlushRDNSS and FlushDNSSL, all defaulting to on. Expose them per interface: set service router-advert interface <if> no-remove-on-exit set service router-advert interface <if> no-flush-name-server set service router-advert interface <if> no-flush-dnssl The directives are only rendered when the options are set, so the generated radvd.conf is unchanged for existing configurations.
2026-10-07bgp: T9410: add route-map vrf import under ipv6-unicastLandry JUGE
The ipv4-unicast address family has 'route-map vrf import' to filter the VRF route leak; ipv6-unicast did not, so an IPv6 leak could not be filtered. The template is already AFI-generic: only the CLI node was missing.
2026-10-07Merge pull request #5523 from mandelbitdev/T9370-openvpn-chacha20poly1305Christian Breunig
openvpn: T9370: add chacha20poly1305 data cipher
2026-10-07Merge pull request #5536 from alexk37/bgp-default-local-pref-100Christian Breunig
bgp: T9404: do not render "bgp default local-preference" when the value is 100
2026-10-07Merge pull request #5442 from ritika0313/T9328-v1x-blast-radiusViacheslav Hletenko
T9351: Accel-PPP-NG: Add CLI support for Message Authenticator attribute in Access packets (Blast-RADIUS mitigation)
2026-10-07config-management: T6304: Rewrite commit-archive location into a structured CLINataliia Solomko
Replace the free-form 'commit-archive location <url>' leafNode with a structured, per-destination tagNode: `set system config-management commit-archive location <name> <protocol> \ authentication { username | password } | server | port | path` Each location selects exactly one transport protocol (scp, sftp, ssh, ftp, ftps, http, https, git, tftp). 'git' additionally accepts a 'transport' (https/http/ssh, default https). 'source-address' and 'vrf' stay under 'commit-archive' and apply to every location, as before.
2026-10-07bgp: T9404: do not render "bgp default local-preference" when the value is 100Alex Kudentsov
FRR does not print "bgp default local-preference 100" in show running-config because 100 is its default, so frr-reload never finds the line in the running config and sends it again on every reload. The command handler calls bgp_clear_star_soft_in() whether or not the value changed, so every reload ran "clear bgp * soft in" (once in pass 0 and twice in pass 1), a full inbound re-evaluation of every peer. Add the default (100) to the XML definition of parameters default local-pref. Templates cannot query the XML definition while rendering, so frrender takes the value from the config defaults of "parameters default" (conf.get_config_defaults) and adds it to the BGP dict as the key xml_default_local_pref, for the global instance and for every VRF instance. bgpd.frr.j2 renders the line only when the configured value differs from xml_default_local_pref, so the value 100 is not hardcoded in the template. A real value change (100 to 200, or 200 to 100) is still sent: frr-reload sees the difference between the rendered file and the running config.
2026-10-06container: T9401: add chown option to tmpfs mountsjbsky
Since T9024 (Podman 5.8.4, crun replaced by runc 1.1.5), a tmpfs mounted over a directory that already exists in the image is owned by root:root 0755, whatever the image prepared. A container running as a non-root user (image USER or uid/gid) can no longer write its pid file or control socket there and fails to start. With crun 1.8.1 every tmpfs was 1777, so the same configuration used to work. runc 1.1.5 ignores tmpfs-mode; the Podman mount option `U` (chown the mount to the container user) is the only one that works on the runtime VyOS ships. Expose it as a valueless `chown` node: set container name <name> tmpfs <tag> chown Without the option the generated Quadlet line is unchanged. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-05ipoe-server: T9289: expose accel-ppp lease-time DHCP optionsRuben Herold
Add CLI knobs matching options already supported by accel-ppp's ipoe module: set service ipoe-server lease-time set service ipoe-server max-lease-time set service ipoe-server renew-time set service ipoe-server rebind-time accel-ppp's [ipoe] section natively supports lease-time, max-lease-time, renew-time and rebind-time (accel-pppd/ctrl/ipoe/ipoe.c) but VyOS did not expose them, forcing operators to rely on accel-ppp's hardcoded defaults. lease-time has a static default of 600 seconds, defined in the XML. max-lease-time, renew-time and rebind-time are derived by accel-ppp from the effective lease-time, so they have no defaultValue. All values are constrained to the signed int32 range, and verify() checks the timings against each other and warns on values accel-ppp will override.
2026-10-03haproxy: T9097: add ssl checks-only for TLS health checksch4nn0n
When load balancing TLS backends in TCP passthrough mode there is currently no way to perform an HTTPS health check: http-check sends the request in plaintext, and the only TLS option (backend ssl no-verify/ca-certificate) renders the 'ssl' keyword on the server lines, which re-encrypts the forwarded traffic and breaks passthrough of clients that already speak TLS end-to-end (e.g. kube-apiserver clients authenticating with TLS client certificates). Add 'set load-balancing haproxy backend <name> ssl checks-only' (valueless). When set, the existing backend ssl options apply to health checks only: server lines get 'check-ssl verify none' or 'check-ssl ca-file <ca>.pem' instead of 'ssl ...', leaving forwarded traffic untouched. Commit validation rejects checks-only when no server in the backend has check enabled, or when neither no-verify nor ca-certificate is set, since either case would otherwise be inert. Existing configurations render unchanged.
2026-10-01openvpn: T9370: add chacha20poly1305 data cipherAntonio Quartulli
Offer chacha20poly1305 in "encryption data-ciphers" and "encryption data-ciphers-fallback", rendered as CHACHA20-POLY1305 and allowed with DCO.
2026-09-29openvpn: T9364: default the MTU to 1420 when DCO is enabledAntonio Quartulli
The ovpn Kernel module does no MSS clamping, so with a 1500 bytes MTU full sized packets get fragmented on the underlay. Add an "mtu" node, rendered as "tun-mtu". With "offload dco" it defaults to 1420, unless a raw tun-mtu/link-mtu/udp-mtu option is present. Reject "mtu" together with such an option, below 100, and below 1280 when IPv6 runs inside the tunnel.
2026-09-29T9351: Accel-PPP-NG: RADIUS: CLI support for Message Authenticator attribute ↵Ritika Chopra
in Access packets Add CLI options to control Message-Authenticator handling for Access packets. The new options allow including Message-Authenticator in Access-Request packets and requiring it in Access-Accept, Access-Reject and Access-Challenge responses. Render the corresponding accel-ppp-ng configuration options and warn when response validation is configured as required while Access-Request packets are not configured to include Message-Authenticator.
2026-09-29Merge pull request #5496 from vyos/T9338-l3vpn-multi-domain-switchingChristian Breunig
T9338: add bgp mpls l3vpn-multi-domain-switching
2026-09-28ntp: T8882: add per-server poll interval, presend and extension field optionsScott Laird
Poll intervals were left entirely to the NTP daemon's built-in defaults, so an operator could not widen or narrow the polling range for an individual server, warm up authenticated associations before a poll, or ask a peer for the higher resolution timestamps it may be able to provide. Each configured server and pool now accepts a minimum and maximum poll exponent, defaulting to the values the daemon already used, plus an optional presend exponent and a switch for the F323 extension field. Existing configurations render the same associations as before. Co-authored-by: Christian Breunig <christian@vyos.io>
2026-09-28Merge pull request #5389 from ruben-herold/T9175-security-poll-suffixDaniil Baturin
dns: T9175: make PowerDNS security status poll opt-in
2026-09-25Merge pull request #5453 from m-songer/T9274-add-telegraf-configNataliia S.
T9274: Add more telegraf configuration