summaryrefslogtreecommitdiff
path: root/interface-definitions
AgeCommit message (Collapse)Author
2020-01-03ifconfig: T1939: provide abstraction for interface "ip" optionChristian Poessinger
Provide an XML/Python abstraction to * ip disable-arp-filter * ip enable-arp-accept * ip enable-arp-announce * ip enable-arp-ignore The old implementation can co-exist until the last interfaces have been migrated.
2020-01-02xml: vif-s: convert DOS to UNIX line endingsChristian Poessinger
2019-12-31l2tpv3: T1923: implementation in XML/PythonChristian Poessinger
Tested using: R1: --- set interfaces l2tpv3 l2tpeth10 address '2001:db8:beef::1/64' set interfaces l2tpv3 l2tpeth10 address '100.0.0.1/24' set interfaces l2tpv3 l2tpeth10 destination-port '3000' set interfaces l2tpv3 l2tpeth10 encapsulation 'udp' set interfaces l2tpv3 l2tpeth10 local-ip '172.18.201.10' set interfaces l2tpv3 l2tpeth10 peer-session-id '10' set interfaces l2tpv3 l2tpeth10 peer-tunnel-id '100' set interfaces l2tpv3 l2tpeth10 remote-ip '172.18.204.10' set interfaces l2tpv3 l2tpeth10 session-id '20' set interfaces l2tpv3 l2tpeth10 source-port '6000' set interfaces l2tpv3 l2tpeth10 tunnel-id '200' R2: --- set interfaces l2tpv3 l2tpeth10 address '2001:db8:beef::2/64' set interfaces l2tpv3 l2tpeth10 address '100.0.0.2/24' set interfaces l2tpv3 l2tpeth10 destination-port '6000' set interfaces l2tpv3 l2tpeth10 encapsulation 'udp' set interfaces l2tpv3 l2tpeth10 local-ip '172.18.204.10' set interfaces l2tpv3 l2tpeth10 peer-session-id '20' set interfaces l2tpv3 l2tpeth10 peer-tunnel-id '200' set interfaces l2tpv3 l2tpeth10 remote-ip '172.18.201.10' set interfaces l2tpv3 l2tpeth10 session-id '10' set interfaces l2tpv3 l2tpeth10 source-port '3000' set interfaces l2tpv3 l2tpeth10 tunnel-id '100'
2019-12-30vxlan: T1922: add support for IPv6 underlayChristian Poessinger
2019-12-30beep: T1920: migrate to systemd unitChristian Poessinger
2019-12-30options: T1919: migrate 'system options' to XML/Python representationChristian Poessinger
2019-12-30l2tp: T1858: Delete deprecated outside-nexthopDmitriyEshenko
2019-12-28ipv6: T1915: remove 'system ipv6 blacklist'Christian Poessinger
2019-12-28ipv6: migrate 'system ipv6' subsystem to XML/PythonChristian Poessinger
2019-12-28ip: migrate 'system ip' subsystem to XML/PythonChristian Poessinger
2019-12-28time-zone: T1906: rename python script to system-timezone.pyChristian Poessinger
2019-12-26xml: remove leading carrot (^) from regex syntaxChristian Poessinger
... as the carrot is applied automatically when reading in the XML definition. Auto replaced by: $ find interface-definitions -type f | xargs sed -i 's/regex>^/regex>/'
2019-12-26time-zone: T1906: migrate to XML/PythonChristian Poessinger
The current node.def based implementtion should be migrated from vyatta-cfg-system to vyos-1x. During the migration also provide a migration script which transforms some ole timezones like "Los_Angeles" into a proper IANA assigned timezone which should be "America/Los_Angeles".
2019-12-23lldp: T1898: support multiple management addressesChristian Poessinger
- management-address is not a <multi/> node - added new vyos.validate.is_loopback_addr() function - returns true is address passed is a looback address
2019-12-22wireguard: remove artifical limitation on interface numbersChristian Poessinger
Interface name hould be allowed to exceed wg9999 - there is no reason to limit this.
2019-12-22interfaces: fix tagNode regex constraint (remove ^)Christian Poessinger
2019-12-22flow-accounting: T1895: add restriction to syslog facilityAntonio Cuñat Alario
2019-12-22lldp: T393: support IPv6 management addressChristian Poessinger
2019-12-22lldp: T393: add Emergency Location Identifier Number (ELIN) supportChristian Poessinger
2019-12-22lldp: T393: interface disable node must be valuelessChristian Poessinger
2019-12-22lldp: T393: 'snmp enable' must be <valueless/>Christian Poessinger
2019-12-22lldp: T393: legacy-protocols must be <valueless/>Christian Poessinger
2019-12-22lldp: T393: rename XML interface definition to xml.inChristian Poessinger
2019-12-22Revert "[LLDP] Remove the lldp.xml interface definition to avoid template ..."Christian Poessinger
This reverts commit 6b2028e5a40cc435875c2b516b81a2a84ecc6ee0.
2019-12-18flow-accounting: T1890: flow-accounting rewritten with Python and XMLzsdc
This patch keep compatibility with old configuration and software, but now it is much easier to add a lot of other useful things Completely replaces vyatta-netflow package (except some outdated and not available via CLI parts)
2019-12-16service-pppoe: T1878: option pppoe single-session implementationhagbard
2019-12-16service-pppoe: T1878: option pppoe single-session implementationhagbard
- renamed files to fit the schemas in the directories
2019-12-15dynamic-dns: T1879: extend XML validatorsChristian Poessinger
2019-12-15dynamic-dns: T1879: extend valueHelp stringsChristian Poessinger
2019-12-10T1843: fix proxy URL handling when running through GCC preprocessorChristian Poessinger
Newer GCC version (8.3 in Debian Buster) no longer support the -ansi option as in GCC 4 used in Debian Jessie. Thus the URL which is used as regex for the proxy must be escaped properly - else the // in the URL is treated as C++ comment.
2019-12-06T1843: use include files for interface proxy-arp-pvlan optionChristian Poessinger
2019-12-06T1843: use include files for interface proxy-arp configurationChristian Poessinger
2019-12-06T1843: use include files for interface arp-cache-timeout configurationChristian Poessinger
2019-12-06T1843: use include files for interface link-detect featureChristian Poessinger
2019-12-06T1843: use include files for interface MTU sizeChristian Poessinger
2019-12-06T1843: use include files for interface MAC addressChristian Poessinger
2019-12-06T1843: use include files to disable interface (admin down)Christian Poessinger
2019-12-06T1843: use include files for interface descriptionChristian Poessinger
2019-12-06T1843: use include files for DHCP/DHCPv6 optionsChristian Poessinger
As 219779b ("T1843: run interface-definitions though GCC preprocessor") implemented the foundation of using the GCC preprocessor to make our XML definitions more lightweight this commit transforms the configuration of DHCP/ DHCPv6 configuration options to this new style. It implementes it for the following interface types: * bonding * bridge * ethernet * wireless * vif/vif-s interfaces
2019-12-06T1843: recursively include IP address definitions in VIF/VIF-S definitionsChristian Poessinger
2019-12-06T1843: use include files for VIF/VIF-S interfacesChristian Poessinger
As 219779bc6151 ("T1843: run interface-definitions though GCC preprocessor") implemented the foundation of using the GCC preprocessor to make our XML definitions more lightweight this commit transforms the configuration of VIF and VIF-S interfaces to this new style. It implementes it for the following types: * bond * ethernet * wireless
2019-12-06T1843: use include files for IPv4/IPv6 interface address configurationChristian Poessinger
As 219779bc6151 ("T1843: run interface-definitions though GCC preprocessor") implemented the foundation of using the GCC preprocessor to make our XML definitions more lightweight this commit transforms the configuration of an IPv4/IPv6 address to this new style. It implementes it for the following interface types: * bond * bridge * dummy * ethernet * geneve * loopback * vxlan * wireguard * wireless
2019-12-06T1843: run interface-definitions though GCC preprocessorChristian Poessinger
A lot of XML code is duplicated (VLAN, interface address) for instance. Such XML definitions should be moved to feature.xml.i files and then just pulled in via GCC preprocessor #include definition in e.g. bond or ethernet definitions. This will give us the ability to single-source repeating node definitions as: * Interface Address * Interface Description * Interface Disable * VLAN (both vif-s and vif-c) The .in suffix of the interface-definitions is a marker that those files are input files to the GCC preprocessor. They will be rendered into proper XML files in the build directory. Some node definitions have been reworder to remove escaped double quote occurances which would have been warned about by the GCC preprocessor.
2019-12-06openvpn: bridge: T1556: remove obsolete bridge-group definitionChristian Poessinger
2019-12-06syslog: T1845: syslog host no longer accepts a porthagbard
- created 'set system syslog host <ip address> port'
2019-12-05syslog: renaming files and conf script to fit new schemehagbard
2019-12-05Revert "syslog: T1845: syslog host no longer accepts a port"hagbard
This reverts commit a93a1dbd7d18ff82246b4f7fb9a3757c14e6a9c7.
2019-12-04syslog: T1845: syslog host no longer accepts a porthagbard
- renamed interface xml - renamed syslog.py to system-syslog.py - moved protocol out of the facility node (bug) - node port created - migration script included
2019-11-28syslog: T1828: implemented missing completion help and add input constraintshagbard
syslog: Improved constraint for host/IP check
2019-11-27syslog: typo fixedhagbard