summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-15Merge pull request #525 from sever-sever/T2277Christian Poessinger
dhclient: T2277: Hook for default route in vrf
2020-08-14dhclient: T2277: Hook for default route in vrfsever-sever
2020-08-14templates: dhcp-client: fix "Autogenerated by" script nameChristian Pössinger
Commit 21bc98f1 ("ifconfig: dhcp: T2767: client must not start when interface is disabled") dropped dhcp.py which is now directly handled by interface.py. This change should also be reflected in the generated files.
2020-08-13console-server: T2490: use get_first_key=True on get_config_dict()Christian Poessinger
2020-08-13ifconfig: dhcp: fix ModuleNotFoundError: No module named 'vyos.ifconfig.dhcp'Christian Poessinger
Commit 21bc98f1 ("ifconfig: dhcp: T2767: client must not start when interface is disabled") dropped the vyos.ifconfig.dhcp module but not removed it from the modules import list.
2020-08-12ifconfig: dhcp: T2767: client must not start when interface is disabledChristian Poessinger
ISC DHCP client will always place an Interface in admin-up state once it is started. We must ensure that if an interface is placed in A/D state that the DHCP client proccess is not launched and terminated if it is running.
2020-08-10host_name: T2784: remove unused importsJohn Estabrook
2020-08-10host_name: T2784: remove unused arg in verify, unneeded arg in get_configJohn Estabrook
2020-08-10Merge pull request #524 from sever-sever/T2779Christian Poessinger
op-mode:T2779:Fix lldp neigh interface ethX
2020-08-10op-mode:T2779:Fix lldp neigh interface ethXsever-sever
2020-08-08http api: T1431: update args of call to install-imageJohn Estabrook
commit 3f8884587 added an endpoint for image management; T2753 updated the command line options. Make script call consistent.
2020-08-04ssh: T2651: add cli options for source addressChristian Poessinger
When running SSH from the VyOS system the source IP address can be set by: set system options ssh-client source-address x.x.x.x
2020-08-04router-advert: T2758: bugfix 'infinity' is not a valid integer numberChristian Poessinger
Problem was introduced in commit 740ace13 ("router-advert: T2609: add missing verify() for prefix lifetime"). The 'infinity' literal was not converted to its corresponding integer 0xffffffff (4294967295) for the check.
2020-08-04cleanup: convert multiple files from DOS to UNIX line endingChristian Poessinger
2020-08-04dhcpv6-pd: T2741: support delegation on non existing interfacesChristian Poessinger
We must ignore any return code when invoking dhcpc6 initially. This is required to enable DHCPv6-PD for interfaces which are yet not up and running and my be started later by VyOS.
2020-08-03op-mode: T2546: use inline shell code for "configure"Christian Poessinger
Commit 787879ba ("configure: op-mode: move XML here") migrated the op-mode command "configure" to vyos-1x. The used shell snipped in turn sometimes complained about: "_vyatta_op_do_key_bindings: command not found". This is now resolved by moving the code entirely into the node.def file.
2020-08-03ipv6-tool: op-mode: T2724: use full path to binary and quote argumentsChristian Poessinger
2020-08-03Merge branch 'T2724' of https://github.com/jack9603301/vyos-1x into currentChristian Poessinger
* 'T2724' of https://github.com/jack9603301/vyos-1x: ipv6-tool: T2724: Support for IPv6 Toolset
2020-08-03ssh: T1076: make configuration volatileChristian Poessinger
Move sshd_config file to /run so it must be generated on every boot and is not stored accidently.
2020-08-03op-mode: ping: T1600: initial XML implementationChristian Poessinger
2020-08-03op-mode: T2546: add "monitor log" commandChristian Poessinger
2020-08-03lldp: T393: improve all completion helperChristian Poessinger
2020-08-03lldp: op-mode: T2323: "show lldp neighbors detail" only works when service runsChristian Poessinger
The problem exists when LLDP is not configured but one wants to run the detail command. Running "show lldp neighbors" is not possible when LLDP is not running. This case is already handled for "show lldp neighbors" and has been extended for "show lldp neighbors detail".
2020-08-03T2546: rename op-mode scripts for bandwidthChristian Poessinger
2020-08-03configure: op-mode: move XML hereChristian Poessinger
2020-08-03ifconfig: T2653: unify DHCPv4 configurationChristian Poessinger
Pass the interface dictionary transparently to the DHCP module and render the DHCP client config template directly from the same source instead of transcoding it once more.
2020-08-03ifconfig: T2740: pass config dict to DHCP class for IPv6Christian Poessinger
This removes additional code paths as we can instatly work with the input dict the same was as it was done for PPPoE. This fixes the entire DHCPv6-PD support on non PPPoE interfaces as this was lost in translation while processing T2653.
2020-08-03ipv6-tool: T2724: Support for IPv6 Toolsetjack9603301
2020-08-02op-mode: arping: T689: use full path to binaryChristian Poessinger
2020-08-02op-mode: use individual XML files for connect and disconnectChristian Poessinger
2020-08-02op-mode: console-server: T2490: cleanup XMLChristian Poessinger
Move the connect part to connect-disconnect.xml
2020-08-02wwan: pppoe: op-mode: T2488: only call pppstats when interface is upChristian Poessinger
Without this check an error will be shown: pppstats: nonexistent interface 'pppoe0' specified.
2020-08-02accel-ppp: T2756: make RADIUS accounting port configurableChristian Poessinger
Make the port used for RADIUS accounting user configurable. This is now valid for the following services which are based on Accel-PPP: * ipoe-server * pppoe-server * l2tp * pptp * sstp
2020-08-02ipoe-server: T2314: fix improper use of fail-time dictionary keyChristian Poessinger
2020-08-01T2690: add VRF support to "add system image"Christian Poessinger
2020-08-01T2753: adjust "add system image" to new named command line argumentsChristian Poessinger
This is needed work for adding VRF support.
2020-08-01Makefile: remove add/node.def file to not break buildsChristian Poessinger
2020-08-01T2753: add new op-mode command "add system image"Christian Poessinger
2020-08-01ifconfig: T2752: fix string format in verify_interface_exists()Christian Poessinger
We do not have a formatted string here thus the "f" keyword is wrong and triggered an exception.
2020-07-31ifconfig: T2653: bugfix on wrong flush_addr APIChristian Poessinger
Commit 29dd5079 ("ifconfig: T2653: remove duplicated code for address flush") used the class method for address flushing, but it was cvalled in the wrong way.
2020-07-30Add CONTRIBUTING.mdChristian Poessinger
2020-07-30ifconfig: T2746: bugfix for non programmed link-local addressesChristian Poessinger
After the fresh rewrite of the interfaces to a unified solution (T2653) IPv6 link-local addresses are no longer added. This will result in e.g. broken RAs.
2020-07-30ifconfig: T2653: remove duplicated code for address flushChristian Poessinger
2020-07-30router-advert: T2745: migrate to get_config_dict()Christian Poessinger
2020-07-29op-mode: T2560: rename "show system usb serial" to "show hardware usb serial"Christian Poessinger
This is more inline with the overall op-mode.
2020-07-29wireguard: T2743: move key migration from config script to migration scriptChristian Poessinger
Migration files on the storage should be done one time by a migration script instead of every time the configuration changes. Moving this to an older migration script is fine as this is around for a long time and all rolling releases are already up2date. It only affects updates from VyOS 1.2 series.
2020-07-29mdns-repeater: T2742: migrate to get_config_dict()Christian Poessinger
2020-07-27Merge pull request #519 from sever-sever/T1117Daniil Baturin
op-mode: T1117: Add show ipv6 bgp route-map
2020-07-27op-mode: T1117: Add show ipv6 bgp route-mapsever-sever
2020-07-26wireguard: ifconfig: T2653: move to get_config_dict()Christian Poessinger
The current VyOS CLI parser code written in Python contains a ton of duplicates which I can also hold myself accountable for - or maybe mainly me - depends on the angle of judge.