summaryrefslogtreecommitdiff
path: root/python/vyos/ifconfig/interface.py
AgeCommit message (Collapse)Author
2020-04-14ifconfig: T2223: group all operational commandsThomas Mangin
All operational command are moved within an Operational class and an inherited on for wireguard.
2020-04-11dhcp: T2265: refactor DHCP classThomas Mangin
Break the code between v4 and v6, remove need for getter/setter as they are just exposing the underlying dict. Move FixedDict from tunnel code and expose it to other part so it can be used to prevent accidental change to the dhcp option if no default exists already.
2020-04-08import: T2242: remove all import *Thomas Mangin
2020-04-04ifconfig: T2190: option to prevent Interface creationThomas Mangin
a new option was added to the Interface class "create". By default the value is set to True, and when an instance of the class is created and the underlying interface does not exists, the class will create it. If the option "create" is set to False, the interface will not be created and instead the class will raise an error when it is instantiated.
2020-03-31ifconfig: T2057: allow to disable interface debuggingThomas Mangin
In order to be able to use the interface class with operational mode, these commands must not log as it would otherwise mess with the output on the screen.
2020-03-28ipv6: T1831: migrate eui64 addressing to XML and pythonChristian Poessinger
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-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-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-24ifconfig: T2057: remove need for interface-types.jsonThomas Mangin
2020-03-24ifconfig: T2057: add class RegisterThomas Mangin
2020-03-24ifconfig: T2057: break down DHCPThomas Mangin
2020-03-23ifconfig: T2154: fixing failure to start-stop-daemonThomas Mangin
2020-03-23ifconfig: T2151: get_state() must use administrative state and not operstateChristian Poessinger
... as set_state() changes the interface administrative state, too!
2020-03-23ifconfig: T2151: ensure interface is admin down when changing MAC addressChristian Poessinger
2020-03-23ifconfig: T2151: add possibility to query assigned MAC addressChristian Poessinger
... this is required for delta checks
2020-03-23ifconfig: T31: convert all interface to set_vrf apiThomas Mangin
2020-03-23tunnel: T31: add support for vrf on tunnelsThomas Mangin
2020-03-20Merge pull request #251 from thomas-mangin/T2057-requiredChristian Poessinger
ifconfig: T2057: skip required check if we do not create the interface
2020-03-20ifconfig: T2057: make set_state use set_interfaceThomas Mangin
2020-03-20ifconfig: T2057: skip required fields check if we do not create the interfaceThomas Mangin
2020-03-16ifconfig: T1849: buster fixed the delay issueThomas Mangin
2020-03-06ifconfig: T2104: splt ifconfig.py into multiple filesThomas Mangin