summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2020-06-22rip: T2547: rewriten implementation in Python and XMLViacheslav Hletenko
2020-06-11Add a make target for converting compact RelaxNG schemas to XML.Daniil Baturin
2020-06-07Makefile: remove new XML implementations for bgp, rip, isisChristian Poessinger
Commit 886a986a122e ("isis: T2495: exclude generated nodes from package") missed calling rm -rf, instead only rm -f was called leaving the directory intact.
2020-06-06isis: T2495: exclude generated nodes from packageChristian Poessinger
Python developers can just comment the line.
2020-06-05Merge pull request #441 from sever-sever/xml-conf-ripChristian Poessinger
rip-xml: T2547: XML for conf-mode protocol RIP
2020-06-04rip-xml: T2547: XML for conf-mode protocol RIPsever-sever
2020-06-03T2546: fix "show log" command - restore node.defChristian Poessinger
2020-06-01Makefile: T2536: remove node.def files currently breaking buildsChristian Poessinger
2020-05-26[op-mode]: T2512: Fix Make filesever-sever
2020-05-19bgp: T2387: rename new implementation else system will not bootChristian Poessinger
It is not possible to simply remove the node.def file in a tag node. Rather rename the tag node to take it out of order by default. Upcoming BGP developers simply need to remove this line in the Makefile added by the commit.
2020-05-19Merge pull request #378 from sever-sever/bgp-xml-confChristian Poessinger
bgp-xml: T2387:Commands in XML for [conf_mode] bgp
2020-05-19bgp-xml: T2387:Commands in XML for [conf_mode] bgpsever-sever
2020-05-08T2436: Adding offline python compile to fetch syntax faultsRunar Borge
In the past there have been quite a few tickets regarding python syntax errors on scripts rewritten to python. To make a quickfix on some of these faults we could make a Jenkins step that executes: python3 -m compileall -q . to do a offline compile of the python files.
2020-03-28wwan: T1988: Makefile: remove ipv6 node.def file already present in ↵Christian Poessinger
vyatta-cfg-quagga
2020-03-28ipv6: T1831: use integers over bool in interface configurationChristian Poessinger
2020-03-28ipv6: T1831: Makefile: remove node.def files in ipv6 folderChristian Poessinger
2020-02-23pppoe: T1318: extend migrator for firewall, qos and ip routing nodesChristian Poessinger
2020-02-13macvlan: T1635: remove node.def files until vyatta-cfg-quagga is migratedChristian Poessinger
2020-02-10"make deb" to build the debian packageThomas Mangin
Adding an option to make to build the debian package
2020-01-13xml: T1962: Add script to process syntaxVersion tags during buildJohn Estabrook
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.
2019-12-30options: T1919: migrate 'system options' to XML/Python representationChristian 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: add support for recursive includesChristian Poessinger
An XML include file can now inlude another XML include file. This is very handy on e.g. VIF or VIF-S interfaces that also have an address node. Thus more code is reused and simplified.
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: 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-11-23wireless: T1627: add op-mode commandsChristian Poessinger
2019-11-08QAT: T1788: Intel QAT implementationDmitriyEshenko
2019-09-20ethernet: T1637: initial rewrite in XML/Python styleChristian Poessinger
2019-09-12[l2tp] T834 fix cli reset commands for l2tp and pptp. Adding l2tp%d tunnel ↵DmitriyEshenko
naming.
2019-09-10[wireguard]: T1572 - Wireguard keyPair per interfacehagbard
- param key location added in op-mode script - param delkey and listkey implemented in op-mode script - param delkey implemented in op-mode script - generate and store named keys - interface implementation tu use cli option 'private-key'
2019-09-06vxlan: T1636: initial rewrite with XML and PythonChristian Poessinger
Tested using: Site 1 (VyOS 1.2.2) ------------------- set interfaces vxlan vxlan100 address '10.10.10.2/24' set interfaces vxlan vxlan100 remote '172.18.201.10' set interfaces vxlan vxlan100 vni '100' Site 2 (rewrite) ---------------- set interfaces vxlan vxlan100 address '10.10.10.1/24' set interfaces vxlan vxlan100 description 'VyOS VXLAN' set interfaces vxlan vxlan100 remote '172.18.202.10' set interfaces vxlan vxlan100 vni '100'
2019-09-04bonding: T1614: Initial version in new style XML/Python interfaceChristian Poessinger
The node 'interfaces ethernet eth0 bond-group' has been changed and de-nested. Bond members are now configured in the bond interface itself. set interfaces bonding bond0 member interface eth0
2019-08-23[op-mode] T1607 rewrite 'reset conntrack', 'reset & show ip[v6]' to ↵Dmytro Aleksandrov
python/xml syntax
2019-08-16[op-mode] T1590 xml-style rewrite of 'show system' operationsDmytro Aleksandrov
2019-08-02[bridge] T1156: first working implementation using Python and XMLChristian Poessinger
2019-07-25[accel-l2tp] - T834: l2tp implementationhagbard
- node.def deletion for show remote-access - IPSec interface checking for L2TP - IPSec x509 for l2tp - verification of outside-address to warning since it was optional in the previous config
2019-04-21[firewall] T314: add firewall options for MSS clampingChristian Poessinger
* clamp MSS IPv4 set firewall options interface pppoe0 adjust-mss '1452' * clamp MSS IPv6 set firewall options interface pppoe0 adjust-mss6 '1452' * disable entire rule set firewall options interface pppoe0 disable Output ------ $ sudo iptables-save -t mangle # Generated by iptables-save v1.4.21 on Sun Apr 21 12:56:25 2019 *mangle :PREROUTING ACCEPT [1217:439885] :INPUT ACCEPT [290:52459] :FORWARD ACCEPT [920:375774] :OUTPUT ACCEPT [301:100053] :POSTROUTING ACCEPT [1221:475827] :VYOS_FW_OPTIONS - [0:0] -A FORWARD -j VYOS_FW_OPTIONS -A VYOS_FW_OPTIONS -o pppoe0 -p tcp -m tcp --tcp-flags SYN,RST SYN -j TCPMSS --set-mss 1452 COMMIT Completed on Sun Apr 21 12:56:25 2019 (cherry picked from commit 476aa4c3a561ea0ef0bf9b4c26ec8b78d18a5d02)
2019-03-11[arp] - T1288: python implemtation of 'set protocols static arp'hagbard
2019-02-14Makefile: fix build breakChristian Poessinger
Commit 3d3eccd687 ("T1174: migrate local hostname/DNS handling to vyos-1x") removed the test target from the Makefile by accident.
2019-02-14T1174: migrate local hostname/DNS handling to vyos-1xChristian Poessinger
2019-01-30959d96ceb38080748b6d195031a8013eb4a67f3b breaks ci buildshagbard
2019-01-30Add build time tests for NTPkamijin_fanta
2019-01-26T1193: add some tests for the config parser.Daniil Baturin
2018-11-04T959: XML/Python rewrite of "protocol igmp-proxy" and op-mode commandsChristian Poessinger
Examples: ========= CFG commands: vyos@vyos# set protocols igmp-proxy disable-quickleave vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.16.35.0/24' vyos@vyos# set protocols igmp-proxy interface eth0 alt-subnet '172.31.0.0/24' vyos@vyos# set protocols igmp-proxy interface eth0 role 'upstream' vyos@vyos# set protocols igmp-proxy interface eth1 role 'downstream' vyos@vyos# show protocols igmp-proxy { disable-quickleave interface eth0 { alt-subnet 172.16.35.0/24 alt-subnet 172.31.0.0/24 role upstream } interface eth1 { role downstream } } OP mode commands: ----------------- vyos@vyos:~$ show ip multicast interface Interface BytesIn PktsIn BytesOut PktsOut Local eth0 0.0b 0 0.0b 0 xxx.xxx.xxx.65 eth1 0.0b 0 0.0b 0 xxx.xxx.xx.201 vyos@vyos:~$ show ip multicast mfc Group Origin Pkts Bytes Wrong In Out xxx.x.xx.1 xxx.xx.0.1 10 9.81KB 0 eth0 eth1 xxx.x.xx.2 xxx.xx.0.1 --
2018-09-21Merge pull request #40 from alkersan/clear_termChristian Poessinger
T689: Moved clear console and reset terminal ops from vyatta-op
2018-08-23T689: Moved clear console and reset terminal ops from vyatta-opDmytro Aleksandrov
2018-08-20T790: wireguard: add status commandshagbard
2018-08-20show/interfecaces/node.def removalhagbard
2018-08-20remove show/interfaces/node.def from generated treehagbard