summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-03-30validate: T2182: IPv6 are not normalised when comparedThomas Mangin
Adding an already existing IP address on an interface would cause the 'ip addr add' command to fail. To prevent this, the code checks if the IP already exists on the interface. The code was not normalising the different ways of representing the IPv6 address (trailing 0, ::, etc.).
2020-03-29pppoe: T1988: bugfix creating ip-pre-up.d directory after moving to vyos-1xChristian Poessinger
The creation of this directory has been done in the past using vyatta- wirelessmodem and after it's replacement in vyos-1x the directory has not been deployed anymore. Thos when rendering the PPPoE configuration the directory will be created on deemand.
2020-03-28wwan: T1988: Makefile: remove ipv6 node.def file already present in ↵Christian Poessinger
vyatta-cfg-quagga
2020-03-28Merge pull request #282 from thomas-mangin/T2057-mac-hwidChristian Poessinger
ifconfig: T2057: Do not set empty hw_id mac
2020-03-28Merge branch 't1988-xml-wirelessmodem' into currentChristian Poessinger
* t1988-xml-wirelessmodem: wwan: T1988: add ipv6 addressing nodes pppoe: T1318: add command to show statistics wwan: T1988: ppp: change order of debug and logfile options wwan: T1988: migrate operational mode commands wwan: T1988: support interface disable wwan: T1988: add support for Sierra Wireless MC7710 modem wwan: T1988: initial XML/Python representation
2020-03-28wwan: T1988: add ipv6 addressing nodesChristian Poessinger
2020-03-28pppoe: T1318: add command to show statisticsChristian Poessinger
2020-03-28wwan: T1988: ppp: change order of debug and logfile optionsChristian Poessinger
2020-03-28wwan: T1988: migrate operational mode commandsChristian Poessinger
2020-03-28wwan: T1988: support interface disableChristian Poessinger
2020-03-28wwan: T1988: add support for Sierra Wireless MC7710 modemChristian Poessinger
2020-03-28wwan: T1988: initial XML/Python representationChristian Poessinger
2020-03-28ifconfig: T2057: Do not set empty hw_id macThomas Mangin
set_mac is validating the mac address passed, therefore passing empty string will cause it to fail. if the hardware id could not be found then it should not be attempted to be set
2020-03-28Merge pull request #280 from thomas-mangin/T2057-show-wgChristian Poessinger
ifconfig: T2057: fix import for run show interfaces wireguard
2020-03-28ifconfig: T2057: fix import for run show interfaces wireguardThomas Mangin
when ifconfig.py was broken down in multiple files an import was missed. This fixes this import
2020-03-28Merge pull request #279 from thomas-mangin/T2057-better-macChristian Poessinger
ifconfig: T2057: correctly provide the reason why a MAC could not be set
2020-03-28ifconfig: T2057: correctly provide the reason why a MAC could not be setThomas Mangin
2020-03-28Merge branch 't1831-ipv6' into currentChristian Poessinger
* t1831-ipv6: ipv6: T1831: migrate eui64 addressing to XML and python vyos.util: import cleanup ipv6: T1831: migrate autoconf node ipv6: T1831: use integers over bool in interface configuration ipv6: T1831: migrate forwarding and dup-addr-detect-transmits nodes ipv6: T1831: Makefile: remove node.def files in ipv6 folder ifconfig: T2057: explicity name state functions ifconfig: T2167: get_mac was not returning ifconfig: T2057: add get_alias function ifconfig: T2057: option forcing merge config: T2169: remove redundant use of show_config
2020-03-28ipv6: T1831: migrate eui64 addressing to XML and pythonChristian Poessinger
2020-03-28vyos.util: import cleanupChristian Poessinger
Instead of including all functions/classes from a file, only include the ones we really need.
2020-03-28ipv6: T1831: migrate autoconf nodeChristian Poessinger
Autoconfigure addresses using Prefix Information in Router Advertisements.
2020-03-28ipv6: T1831: use integers over bool in interface configurationChristian Poessinger
2020-03-28ipv6: T1831: migrate forwarding and dup-addr-detect-transmits nodesChristian Poessinger
... to new XML and Python based frontend/backend.
2020-03-28ipv6: T1831: Makefile: remove node.def files in ipv6 folderChristian Poessinger
2020-03-28Merge pull request #275 from thomas-mangin/T2057-oper-adminChristian Poessinger
ifconfig: T2057: explicity name state functions
2020-03-28ifconfig: T2057: explicity name state functionsThomas Mangin
The Interface get_state/set_state were not clear about if they edited the admin or operational state. functions are now using admin_state and oper_state for clarity.
2020-03-28Merge pull request #278 from thomas-mangin/T2167Christian Poessinger
ifconfig: T2167: get_mac was not returning
2020-03-28ifconfig: T2167: get_mac was not returningThomas Mangin
2020-03-28Merge pull request #276 from thomas-mangin/T2057-aliasChristian Poessinger
ifconfig: T2057: add get_alias function
2020-03-28Merge pull request #277 from thomas-mangin/T2057-fix-forceChristian Poessinger
ifconfig: T2057: option forcing
2020-03-27ifconfig: T2057: add get_alias functionThomas Mangin
2020-03-27ifconfig: T2057: option forcingThomas Mangin
The code was trying to not perform change when not necessary however it prevent zero value to be set
2020-03-27merge config: T2169: remove redundant use of show_configJohn Estabrook
2020-03-27wireless: T2105: properly support disabled WIFI interfacesChristian Poessinger
It is not sufficient to only place a wifi interface in adminsitrative down state as hostapd could change the interface state again. If the wifi interface is administratively disabled, hostapd or wpa_supplicant should not be started at all to prevent anyone from messing arround with the admin state.
2020-03-27Merge pull request #272 from thomas-mangin/2154-pauseChristian Poessinger
ifconfig: T2158: never fail when setting flowcontrol
2020-03-27ifconfig: T2158: never fail when setting flowcontrolThomas Mangin
the result of the commands used to setup the interface is now checked. flowcontrol can not always be set on all interfaces, and when/if it fails, it prevents the interace to come up. This is problematic as it may prevent the router to come up. Therefore flowcontrol must be allowed to fail gracefully/silently.
2020-03-27Merge pull request #274 from DmitriyEshenko/cur-pim-basChristian Poessinger
pim: T1729: Basic PIM implementation
2020-03-27pim: T1729: Basic PIM implementationDmitriyEshenko
2020-03-27Merge pull request #273 from sever-sever/op-pim-igmpChristian Poessinger
pim-igmp: T2156: Commands for [op-mode] pim and igmp
2020-03-26pim-igmp: T2156: Commands for [op-mode] pim and igmpsever-sever
2020-03-26router-advert: T2162: bugfix migrating link-mtu nodes with 0 valueChristian Poessinger
... those nodes mean link-mtu advertisement is disabled in radvd and thus we delete the node completely as it's useless.
2020-03-25service https: T2157: Fix comment blockJohn Estabrook
2020-03-25Merge pull request #270 from thomas-mangin/2057-typoChristian Poessinger
ifconfig: T2057: fix finding section name from interface
2020-03-25ifconfig: T2057: fix finding section name from interfaceThomas Mangin
2020-03-25Merge pull request #269 from jjakob/openvpn-client-ip-fixChristian Poessinger
openvpn: T2148: fix setting "server client" without "ip"
2020-03-25openvpn: T2148: fix setting "server client" without "ip"Jernej Jakob
2020-03-25Merge pull request #268 from Elbandi/fixsnmpChristian Poessinger
T2161: Skip ipv6 listen, if it is disabled
2020-03-25T2161: Skip ipv6 listen, if it is disabledAndras Elso
2020-03-25Merge pull request #265 from thomas-mangin/2057-dhcp-vlanChristian Poessinger
ifconfig: T2057: break down DHCP, add register, STP and VLAN as adapters
2020-03-25Merge pull request #267 from jjakob/openvpn-remove-old-filesChristian Poessinger
openvpn: T2146: remove old files