summaryrefslogtreecommitdiff
path: root/interface-definitions/include
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-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-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-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-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-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 #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-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-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-24T9338: add bgp mpls l3vpn-multi-domain-switchingT9338-l3vpn-multi-domain-switchingKyrylo Yatsenko
Add command set protocols bgp interface <interface> mpls l3vpn-multi-domain-switching that exposes FRR's `mpls bgp l3vpn-multi-domain-switching` under interface node.
2026-09-16ipsec: T8952: Allow per-peer strongSwan `unique` override for site-to-site peersOleksandr Kuchmystyi
VyOS does not expose the strongSwan `connections.<conn>.unique` parameter for site-to-site peers. The swanctl default is `unique = no`, which only replaces existing SAs if the new one carries `INITIAL_CONTACT`. With `dpd_action = restart`, charon initiates new IKE_SAs without `INITIAL_CONTACT`, so duplicates accumulate on every DPD timeout. Previously the strongSwan `unique` connection policy could only be driven by the global "disable-uniqreqids" option, which set it to "never" for every connection. Site-to-site peers had no way to opt into stricter enforcement on their own.
2026-09-13openvpn: T8264: migrate away DCO the Kernel module cannot serveAntonio Quartulli
"offload dco" was accepted next to tap, static keys, compression, CBC ciphers and raw options OpenVPN refuses to offload, because 2.6 ignored the module altogether. Those combinations now fail verify(), which would break config load on upgrade, so drop the request instead. The migration has to mirror verify_dco() exactly: anything it keeps that verify() turns away leaves a router unable to commit its own configuration.
2026-09-11Merge pull request #5372 from ruben-herold/T9157-fib-type-matchRuben Herold
firewall: T9157: add fib-type match for destination/source
2026-08-28Merge pull request #5408 from cqjjjzr/T9166-ipv6-haViacheslav Hletenko
ha: T9166: add IPv6 support for HA peer links
2026-08-26dhcp: T9166: add IPv6 support for HA peer linkschariri
Accept IPv6 source and remote addresses for Kea high availability and bracket IPv6 endpoints in generated peer URLs.
2026-08-23firewall: T9242: Add mac-address-mask supportl0crian1
- Add mac-address-mask support to firewall rules - Add smoketest for mac-address-mask
2026-08-17xml: T9179: reject VRF names in interface-name constraintChristian Breunig
Tab completion for source-interface and other interface leafNodes already excludes VRF names, but the shared interface-name constraint accepted them anyway: an existing VRF is a real net device, so it passed the file-path existence check even though it failed the interface-name regex. Replace the file-path validator with a new interface-exists validator that requires the value to both exist under /sys/class/net and not be a VRF. The regex-match fallback is unchanged, so dynamic interfaces (e.g. pppoe) referenced before they exist still validate correctly.
2026-08-14Merge pull request #5123 from indrajitr/ddclient-v4Daniil Baturin
ddclient: T6981: Upgrade ddclient to v4.0.0
2026-08-12T8598: Accel-PPP: Add upgrade-safe migration support for calling-sid peer ↵Ritika Chopra
IID secret enforcement across PPPoE, L2TP, PPTP, and SSTP (BP 2188) (cherry picked from commit c9314daa78418751edaab9b4da8c2e33fb1a64ed)
2026-08-12T8598: CLI support to configure a secret which will be used along with ↵Ritika Chopra
calling-station-id, to generate Peer Interface Identifier (IID) (BP 2188) (cherry picked from commit 5354959b60c97df699ad14ef561ab9aa92b37922)
2026-08-04T8221: Moved last-used inclued to common-rule filesl0crian1
2026-08-04T8221: Moved last-used include to common-rule filesl0crian1
2026-08-01T8221: Add last-used option to firewall rulesl0crian1
- Add last-used option to firewall rules - Updated output of show firewall to include last-used - Added smoketest for last-used option
2026-07-24ddclient: T6981: Remove defunct googledomainsIndrajit Raychaudhuri
Since googledomains (domains.google.com) has been shut down, we need to remove any configuration path that refers to googledomains. 1. Remove 'googledomains' as the default web resolver in ddclient.conf.j2 2. Apply migration to remove googledomains from dynamic DNS service configurations. The migration is also necessary to undo a previous migration where we added 'googledomains' as default web resolver to work around lack of tls (ssl) support with default web resolver 'dyndns' (checkip.dyndns.org) in ddclient v3.x.
2026-07-23dhcp-server: T9093: allow option interface-mtu up to 16000Brad Kollmyer
DHCP option 26 (Interface MTU, RFC 2132) is a 16-bit unsigned value and Kea accepts the full range, but the CLI validator capped it at 9000 - below the 9216 used on common jumbo fabrics and below VyOS's own interface MTU maximum of 16000. Relax the constraint to 576-16000 and exercise a jumbo value (9216) in the smoketest. Co-authored-by: Christian Breunig <christian@breunig.cc>
2026-06-29bgp: T6573: add missing newline in afi-route-server-client.xml.iChristian Breunig
This is needed for debugging the concatenated XML include blocks, otherwise two XML comments will show up on one line due to the missing newline which is annoying.
2026-06-26Merge pull request #5297 from alexandr-san4ez/T8865-rollingChristian Breunig
bgp: T8865: Reject `vni` sub-block in VRF l2vpn-evpn when `advertise-all-vni` is globally active
2026-06-26Merge pull request #5282 from sarthurdev/T8987Christian Breunig
geoip: T8987: Support updates via source-address/vrf
2026-06-26bgp: T8865: Reject `vni` sub-block in VRF l2vpn-evpn when ↵Oleksandr Kuchmystyi
`advertise-all-vni` is globally active When `advertise-all-vni` is configured in the global/default BGP instance, VyOS generated a `vni <id>` sub-block under each VRF BGP `address-family l2vpn evpn` context. This conflicts with advertise-all-vni: FRR already owns all kernel VNIs and returns `% Failed to create VNI` when frr-reload.py attempts to apply the VRF-level vni sub-block. FRR then performs an early exit from config processing, silently dropping the entire l2vpn evpn address-family for all subsequent VRF BGP instances.
2026-06-25Merge pull request #5284 from vyos/T8097-strongswan-esnChristian Breunig
T8097: strongswan: add CLI for ESN
2026-06-25geoip: T8987: Support updates via source-address/vrfsarthurdev
2026-06-25bgp: T9013: Add BMP source-interface supportNataliia Solomko
2026-06-25Merge pull request #5155 from sarthurdev/geoipViacheslav Hletenko
geoip: T5746: Add GeoIP ASN support