summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
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
2018-08-18T784: Added update dns dynamic operationDmytro Aleksandrov
2018-08-17T689: Added ntp and date op mode definitionDmytro Aleksandrov
2018-08-15Makefile: remove top level cfg mode file 'interfaces/node.def' created by ↵Christian Poessinger
wireguard
2018-08-15Remove top level op mode generate node.def, since it still lives in vyatta-op.Daniil Baturin
2018-08-05T71: initial implementation of global IPsec settings.Daniil Baturin
Only disable-route-autoinstall (install_routes = yes/no) for now.
2018-07-29Merge branch 'dyndns-refactoring' into currentChristian Poessinger
* dyndns-refactoring: T758: refactor ddclient configuration file amd startup T758: add configuration validator T758: XML/Python implementation for 'service dns dynamic'
2018-07-29T758: XML/Python implementation for 'service dns dynamic'Christian Poessinger
2018-07-20Only look for xml files in interface and op template definitionshagbard
2018-06-24T201: avoid node.def creation which conflicts with vyatta-cfg-systemhagbard
2018-06-20Add docs target to the makefile.Daniil Baturin
2018-06-13Add the python/ dir to PYTHONPATH for running tests.Daniil Baturin
2018-05-18Make makefile targets for building command definitions fail properly unless ↵Daniil Baturin
all definitions are processed successfully.
2018-05-17T646: prevent convertors from overwriting existing node.def files.Daniil Baturin
2018-05-17Add tests for hostnameYuya Kusakabe
2018-05-16Use '_' instead of '-' for python scripts for testYuya Kusakabe
2018-05-16Make sure to use python3 for testsYuya Kusakabe
2018-05-16T626 Add tests for vyos-update-crontab and initial setup for sonarcloudYuya Kusakabe
2018-05-15T637: new op mode for traffic dumps based on tcpdump.Daniil Baturin
2018-05-14T564: initial implementation of the DNS forwarding op mode commands.Daniil Baturin
2018-05-14T633: build integration and minor fixes in the op mode command generator.Daniil Baturin
2018-05-14T602: remove support for the type element and correct the logic for setting ↵Daniil Baturin
the type in generated command templates.