summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-02-01sstp: add XML valueHelp node for subnet definitionChristian Poessinger
2020-01-31bond: T1992: only tear down interface if it's really requiredChristian Poessinger
Without this change the bond interface is always torn down prior changing it's parameters. This will also reset BGP sessions on other VLAN interfaces which is more then bad. This change will only tear down the interface when it is really required, indicated by bond['shutdown_required'], which is required by certain operations as e.g. changing the operating mode.
2020-01-31ifconfig: T2002: only admin up interfaces if parent interface is upChristian Poessinger
On an A/D (administrative down) interface the VLAN code tries to still admin up the interface. This won't work and the kernel will complain with: RTNETLINK answers: Operation not permitted With this change the VLAN interface is only enabled when the parent interface is administrative up, too.
2020-01-30vpn-pptp: pep8 formattedhagbard
2020-01-30vpn-pptp: adjusting name schemeshagbard
2020-01-30vpn-pptp: T1768 vyos.config rewritehagbard
2020-01-30lldp: T1896: bugfix SyntaxError: invalid syntaxChristian Poessinger
Commit 66f8be0 ("lldp: T1896: remove MED civic based location information") removed MED civic location support, but there was an error in an if/elif statement. This has been fixes. File "/usr/libexec/vyos/conf_mode/lldp.py", line 191 elif len(location['coordinate_based']) > 0: ^ SyntaxError: invalid syntax
2020-01-30snmp: T1575: Fix typoJohn Estabrook
2020-01-30Merge branch 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't1896-remove-lldp-civic' of github.com:c-po/vyos-1x: lldp: T1896: remove MED civic based location information
2020-01-29lldp: T1994: fix jinja template to listen on specified interfacesbbs2web
Signed-off-by: bbs2web <bbs2web@hotmail.com>
2020-01-29T1989: use explicit active/working showConfig options to prevent getting diffsDaniil Baturin
when there are uncommitted changes.
2020-01-26service-ipoe: rename scripts and schemeshagbard
2020-01-26IPoE: T1767: vyos.config rewritehagbard
2020-01-26Interfaces: unify interface help textChristian Poessinger
2020-01-26WireGuard: rephrase constraint error messageChristian Poessinger
2020-01-26wireguard: T1765: vyos.config functions rewritehagbard
2020-01-26lldp: T1896: remove MED civic based location informationChristian Poessinger
Civic based location information was not working for quiet some time and as an unused feature we should drop it to keep the codebase more simple and maintainable.
2020-01-26Debian: add dependency on frrChristian Poessinger
2020-01-26snmpd: T1937: fix all startup warningsChristian Poessinger
This is actually an "upstream" bug, see [1] but it can be fixed via our own scripts. [1]: https://bugs.launchpad.net/ubuntu/+source/net-snmp/+bug/1384122
2020-01-26Revert "snmp: T1937: fix "unknown token" warnings"Christian Poessinger
This reverts commit 6945b2e3561cd76d193d41dd6ab5249661230460.
2020-01-25Debian: fix duplicate files in vyos-1x packageChristian Poessinger
2020-01-25list_interfaces: change bonding interface list logicChristian Poessinger
The previous logic returned: >>> eth = vyos.interfaces.list_interfaces_of_type("ethernet") >>> for intf in eth: ... print(intf) ... eth0 eth1 eth2 eth0.201 eth1.50 >>> for intf in eth: ... if '.' in intf: ... eth.remove(intf) ... >>> eth ['eth0', 'eth1', 'eth2', 'eth1.50'] This only eth0.201 was removed
2020-01-25vyos.validate: improve is_ipv6_link_local() logicChristian Poessinger
2020-01-25Debian: fix package generation after adding vyos-1x-vmwareChristian Poessinger
Commit 7e00ffa ("Debian: add vyos-1x-vmware package") added a new subpackage, but by adding this package it was forgotton to create the appropriate vyos-1x.install file.
2020-01-25vyos.validate: remove interface suffix when running is_ipv6_link_local()Christian Poessinger
Commit 17dd50751d ("bfd: T1949: fix verification logic for IPv6 BFD peers") added a mechanism to probe if an IPv6 address is link-local or not. Sometimes an interface suffix is appended by %interface to a link-local address, as we need to know an interface for which this address is (hence the name) link-local. Remove any interface identifier before checking if the address is local or not.
2020-01-25Debian: vyos-1x-vmware is amd64, i386 architecture specificChristian Poessinger
2020-01-25Debian: add vyos-1x-vmware packageChristian Poessinger
Split out files required only by VMware systems.
2020-01-25Debian: remove superfluous slashes on pathsChristian Poessinger
2020-01-25Debian: stage files into "tmp" instead of "vyos-1x"Christian Poessinger
This change allows for later additional package creation, e.g. vyos-1x-vmware.
2020-01-25bonding: fix "arp-monitor target" help stringChristian Poessinger
2020-01-25Merge pull request #209 from DmitriyEshenko/pppoe-allow-ipv6Daniil Baturin
pppoe-server: T1985: Enable ipv6 modules if ipv6 not denied
2020-01-24pppoe-server: T1985: Enable ipv6 modules if ipv6 not deniedDmitriyEshenko
2020-01-24Python: T1986: close subprocess channelChristian Poessinger
Without closing the communication channel to the subprocess, Python will complain e.g. when executing vyos-smoketest binary. /usr/lib/python3/dist-packages/vyos/configsession.py:110: ResourceWarning: unclosed file <_io.BufferedReader name=3> self.__run_command([CLI_SHELL_API, 'setupSession']) ResourceWarning: Enable tracemalloc to get the object allocation traceback
2020-01-23gitignore: add autogenerated component-versions.jsonChristian Poessinger
2020-01-23openvpn: T1975: ta devices need to be explicitly brought upChristian Poessinger
2020-01-23service-pppoe: autopep formattedhagbard
2020-01-23service-pppoe: T1956: support PADO-delayhagbard
2020-01-23service-pppoe: T1766: service-pppoe - vyos.config rewritehagbard
2020-01-22Merge pull request #202 from zdc/T1953Christian Poessinger
dynamic DNS: T1953: Relaxed service name check
2020-01-21keepalived: vrrp: T1900: always enable SNMP monitoringChristian Poessinger
2020-01-21Merge pull request #208 from Merlin83b/patch-1Daniil Baturin
Remove 2 interface requirement from dhcp-relay
2020-01-21Remove 2 interface requirement from dhcp-relayDaniel Foster
More detail in Phabricator T1978. There is no requirement for dhcp-relay to have multiple interfaces configured.
2020-01-20Merge pull request #199 from bmhughes/fix-ipv6-bfd-verificationChristian Poessinger
bfd: T1949: fix verification logic for IPv6 BFD peers
2020-01-16snmpd: T1964: SNMP Script-extensions allows names with spaces,hagbard
but commit fails
2020-01-15Merge pull request #207 from DmitriyEshenko/vrrp-nbChristian Poessinger
vrrp: T1884: Keep transition-script native behaviour and implement tr…
2020-01-14vrrp: T1884: Keep transition-script native behaviour and implement ↵DmitriyEshenko
transaction-script 'stop'
2020-01-14Merge pull request #206 from DmitriyEshenko/fix-ipsec-setJohn Estabrook
ipsec: T1959: Check file existence before changes
2020-01-14Merge pull request #205 from jestabro/syntax-versionJohn Estabrook
Syntax version
2020-01-14ipsec: T1959: Check file existence before changesDmitriyEshenko
2020-01-14T1950: Add support for reading component versions from JSON fileJohn Estabrook