summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-06-22bfd: T1183: adjust CLI syntax for source address/interfaceChristian Poessinger
Place address/interface under new source node. vyis@vyos# show protocols bfd peer 1.1.1.1 { source { address 1.2.3.4 interface eth0.201 } }
2019-06-22bfd: T1137: add 'show protocols bfd peer' commandChristian Poessinger
2019-06-22bfd: T1183: add support for multihopChristian Poessinger
multihop tells the BFD daemon that we should expect packets with TTL less than 254 (because it will take more than one hop) and to listen on the multihop port (4784). When using multi-hop mode echo-mode will not work (see RFC 5883 section 3).
2019-06-22bfd: T1183: first working FRR bfd peer configurationChristian Poessinger
2019-06-22bfd: T1183: IPv6 peers require explicit local address/interfaceChristian Poessinger
2019-06-22bfd: T1183: initial CLI implementationChristian Poessinger
vyos@vyos# show protocols bfd peer 172.18.202.10 { local-address 172.18.201.10 local-interface eth0.201 shutdown } peer 172.18.202.12 { shutdown }
2019-06-20firewall: T1461: deleting 'firewall options' causes Python TypeErrorChristian Poessinger
[ firewall options interface wg01 ] Traceback (most recent call last): File "/usr/libexec/vyos/conf_mode/firewall_options.py", line 139, in <module> apply(c) File "/usr/libexec/vyos/conf_mode/firewall_options.py", line 97, in apply if tcp['new_chain4']: TypeError: 'NoneType' object is not subscriptable delete [ firewall options ] failed delete [ firewall ] failed Commit failed
2019-06-20T1458: Regression in 1.2.1-S2 hostname & loggingKim Hagen
2019-06-19[wireguard] T1425 - assign a /31 address on Wireguard interfacehagbard
- added a validator for checking if the address is any cidr noted address
2019-06-18[pppoe-server] T1452 - add vendor option to shaperhagbard
2019-06-18Merge pull request #73 from UnicronNL/currentKim
[ config ] T1447: Python subprocess called without import in host_nam…
2019-06-18[ config ] T1447: Python subprocess called without import in host_name.pyKim Hagen
2019-06-17[HTTP API] T1431: disallow empty config paths.Daniil Baturin
2019-06-17[HTTP API] T1431: make the value field optional.Daniil Baturin
2019-06-17Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-17[HTTP API] T1431: allow sending a single command, and make sure commands are ↵Daniil Baturin
dicts.
2019-06-17[syslog/hostname.py] T1394 - syslog systemd and host_name.py race conditionhagbard
- checking if the hostname has changed, otherwise the script and systemd try to restart rsyslogd at the same time, at the end it's not started at all.
2019-06-17[HTTP API] T1431: make the value field optional and add better validation.Daniil Baturin
2019-06-17[HTTP API] T1431: make systemd restart the HTTP API service on failure.Daniil Baturin
2019-06-17[pppoe-server] T1408 - improve verify() function to enable IPv6 only deploymentshagbard
2019-06-17Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-17T1431: release the lock even if discard() caused an exception.Daniil Baturin
It may be better to crash the process in that situation.
2019-06-17T1431: Fix vyos-http-server logging to journald.Daniil Baturin
2019-06-16T1439: remove beginning and end anchors, they are implied with re.fullmatchJernej Jakob
2019-06-16T1439: move DUID validator to regexJernej Jakob
2019-06-16T1439: add dhcpv6-client-id validatorJernej Jakob
2019-06-16dhcpv6-server: Add name constraint, clarify help, fix typosJernej Jakob
2019-06-16T1439: remove quotes around dhcp6.client-idJernej Jakob
2019-06-16T1431: initial implementation of the HTTP API.Daniil Baturin
2019-06-16T1432: inject VyOS-specific environment variables into the session environment.Daniil Baturin
They are widely referenced by command templates, but a process started as a service doesn't automatically get them.
2019-06-16Revert "T849: move BGP peer-group node to ipv4 address family"Christian Poessinger
This reverts commit 685b1e0d050c7883303733d710327161fe046b60.
2019-06-16Merge branch 'bgp-address-family' into currentChristian Poessinger
* bgp-address-family: T849: move BGP peer-group node to ipv4 address family
2019-06-16T849: move BGP peer-group node to ipv4 address familyChristian Poessinger
To have a consitent IPv4/IPv6 CLI a lot of BGP neighbor nodes have been migrated. The IPv4 peer-group has been forgotten, leaving a non consistent CLI. Previously: ----------- neighbor 2001:DB8:FFFF::1 { address-family { ipv6-unicast { peer-group iBGP } } peer-group iBGP } Now: ---- neighbor 2001:DB8:FFFF::1 { address-family { ipv6-unicast { peer-group iBGP } } address-family { ipv4-unicast { peer-group iBGP } } }
2019-06-16Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-16T1432: add a finalizer to vyos.configsession to avoid leaking sessions.Daniil Baturin
2019-06-16T1438: fix permissions when invoking 'show version'Christian Poessinger
Accessing Kernel DMI data (under /sys/class/dmi) requires elevated permission and thus retrieving a Board Serial/UUID was not possible. version.py is now called via sudo to gether all facts.
2019-06-16T1432: add a discard function to vyos.configsessionDaniil Baturin
2019-06-16DHCPDv6 T1433: rename daemon configuration fileChristian Poessinger
... to have the same pattern as the DHCPDv6 lease file
2019-06-16DHCPDv6 T1433: fix wrong lease file nameChristian Poessinger
A wrong lease file caused the show command to fail: vyos@vyos:~$ show dhcpv6 server leases Traceback (most recent call last): File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 81, in <module> leases = get_leases(lease_file, state='active') File "/usr/libexec/vyos/op_mode/show_dhcpv6.py", line 44, in get_leases leases = IscDhcpLeases(lease_file).get() File "/usr/lib/python3/dist-packages/isc_dhcp_leases/iscdhcpleases.py", line 110, in get with open(self.filename) as lease_file: FileNotFoundError: [Errno 2] No such file or directory: '/config/dhcpdv6.leases'
2019-06-13Merge branch 'current' of https://github.com/vyos/vyos-1x into currentDaniil Baturin
2019-06-13T1431: make it possible to obtain session environment and run vyos.config ↵Daniil Baturin
functions under it. This is required for programs running outside a CLI session, like the future API daemon.
2019-06-12T1397: check for path argument in both effective and merge configJohn Estabrook
The merge config script restores the ability to restrict changes to a specified path. In the initial implementation, the path was checked for validity only with respect to the effective config; fix to allow valid paths from merge config as well.
2019-06-12T1397: use revised migration methodJohn Estabrook
2019-06-12T1397: escape backslashes in output passed to configtreeJohn Estabrook
The ouput of config.show_config (cli-shell-api showConfig) does not escape backslashes, whereas configtree expects escaped backslashes. Values containing unescaped backslashes consequently lead to a parsing error; cf. T1001.
2019-06-12T1432: correct the ConfigSessionError exception name.Daniil Baturin
2019-06-12T1431: add dependency on python3-bottle to have something to run the HTTP ↵Daniil Baturin
API with.
2019-06-12T1432: initial implementation of the config write API.Daniil Baturin
2019-06-10[wireguard] T1428: Add handling of fwmark setting (#70)Matthias Fetzer
[wireguard] T1428: correct handling of the fwmark option
2019-06-06Merge pull request #69 from jestabro/config-migrateJohn Estabrook
T1334: Migration script runner rewrite
2019-06-05T1334: Migration script runner rewriteJohn Estabrook
Python script and support code to replace the vyatta_config_migrate.pl script.