summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-08-18ifconfig: T2653: bugfix when removing DHCP addressChristian Poessinger
DHCP service was not stopped when an DHCP address got removed from the interface. DHCP service is now always stopped if it is not configured explicitly.
2020-08-16Merge branch 'T2723' of https://github.com/jack9603301/vyos-1x into currentChristian Poessinger
* 'T2723' of https://github.com/jack9603301/vyos-1x: tcptraceroute: T2723: Modify port description tcptraceroute: T2723: Improve command line options, support execution without port tcptraceroute: T2723: Support VRF tcptraceroute: T2723: Fix the problem that tcptraceroute6 cannot be executed
2020-08-16Merge pull request #510 from efficiosoft/vyos_template_rewriteChristian Poessinger
vyos.template: T2720: Rework vyos.template Python library
2020-08-16dhclient: T2277: remove VRF route when DHCP client exitsChristian Poessinger
2020-08-16ping: op-mode: T2762: always run in default VRF unless defined otherwiseChristian Poessinger
When connected to VyOS by SSH through any VRF, every command is executed in the VRF context thus e.g. ping will run in VRF context but no VRF was defined on the CLI. ping should always run in the default VRF no matter where it is executed, unless a VRF instance is explicitly defined by CLI.
2020-08-16Merge pull request #523 from jjakob/increase-max-nat-rule-number-T2764Christian Poessinger
nat: T2764: increase maximum rule number to 999999
2020-08-15dhclient: T2277: retrieve VRF inform from sysfs rather then iproute2Christian Poessinger
2020-08-15Merge branch 't2564-lcd' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't2564-lcd' of github.com:c-po/vyos-1x: lcd: T2564: flatten CLI interface system display: T2564: Added test model system display: T2564: Dictionary code update system display: T2564: Conf files to /run system display: T2564: Changed "duration" to "time" system display: T2564: py code cleanup system display: T2564: Replace "config (enabled|disabled)" with "display disabled" system display: T2564: Lowercase model names system display: T2564 Extend VyOS to support appliance LCDs
2020-08-15pseudo-ethernet: T2800: source-interface must not be member of a bridgeChristian Poessinger
2020-08-15vyos.configverify: no need to call .keys() when searching dictChristian Poessinger
2020-08-15vyos.configdict: keep is_member import as local as possibleChristian Poessinger
2020-08-15pppoe-server: T2796: at least one server interface must be definedChristian Poessinger
Add missing verify() check that at least one interface must be defined to listen to PPPoE data.
2020-08-15lcd: T2564: flatten CLI interfaceChristian Poessinger
* set system lcd device <device> * set system lcd model <modeml> Both device and model have completion helpers for supported interfaces and LCD displays.
2020-08-15Merge pull request #526 from jack9603301/T2706Christian Poessinger
monitor-ndp:T2706: Modify the comment of `monitor ndp type`
2020-08-15Merge pull request #525 from sever-sever/T2277Christian Poessinger
dhclient: T2277: Hook for default route in vrf
2020-08-15monitor-ndp:T2706: Modify the comment of `monitor ndp type`jack9603301
Since the comment was incorrectly applied to the command when writing the command before, modify it here
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-12Merge branch 'system-display' of https://github.com/fmertz/vyos-1x into ↵Christian Poessinger
t2564-lcd * 'system-display' of https://github.com/fmertz/vyos-1x: system display: T2564: Added test model system display: T2564: Dictionary code update system display: T2564: Conf files to /run system display: T2564: Changed "duration" to "time" system display: T2564: py code cleanup system display: T2564: Replace "config (enabled|disabled)" with "display disabled" system display: T2564: Lowercase model names system display: T2564 Extend VyOS to support appliance LCDs
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-11tcptraceroute: T2723: Modify port descriptionjack9603301
In response to #522 request, modify `Perform operations on TCP ports` to `TCP port to connect to for path tracing`
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-10tcptraceroute: T2723: Improve command line options, support execution ↵jack9603301
without port Because the ports of tcptraceroute and tcptraceroute6 do not need to be specified in this feature, modify the command line syntax
2020-08-10tcptraceroute: T2723: Support VRFjack9603301
2020-08-10tcptraceroute: T2723: Fix the problem that tcptraceroute6 cannot be executedjack9603301
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-06nat: T2764: increase maximum rule number to 999999Jernej Jakob
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