Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-06-26 | ifconfig: T2653: move loopback interface to get_config_dict() | Christian Poessinger | |
2020-06-26 | ifconfig: T2653: move dummy interface to get_config_dict() | Christian Poessinger | |
This changes the dummy interface implementation to make use of get_config_dict() and also implement a new vyos.ifconfig.Interface().update() function to gather all the scattered calls to update common interface configuration options. Derived classes of Interface() should extend update() to their needs for their special interface type - e.g. bond or bridge. | |||
2020-05-28 | dhcpc6-pd: T2506: bugfix config rendering on non PPPoE interfaces | Christian Poessinger | |
After commit d5b58517f883 ("dhcpv6-pd: pppoe: T2506: restructure CLI") the CLI syntax has been adjusted for a better definition of DHCPv6-PD prefix length option. Verifying a properly rendered template indeed did not happen which cause the function to vanish for non PPPoE interfaces. | |||
2020-05-20 | interface: T2023: adopt _delete() to common style | Christian Poessinger | |
2020-05-20 | interface: T2023: remove superfluous at end of list | Christian Poessinger | |
2020-05-11 | interface: T2449: add ability to set accept_ra | Jernej Jakob | |
2020-05-04 | interface: T2241: add function to add self to bridge | Jernej Jakob | |
Will be called by all interface scripts to re-add themselves to a bridge after deleting and recreating themselves. | |||
2020-05-03 | interface: T2367: optimize flow and detriplicate add/del_addr functions | Jernej Jakob | |
- detriplicate list appending - detriplicate returns - use if-elif-else - move check if address is already added to beginning - move caching in variable to after address assignment so a failed assignment won't cache the address | |||
2020-05-02 | interface: T2367: use self.ifname instead of self.config | Thomas Mangin | |
2020-05-02 | interface: T2367: de-imbricate the ifs | Thomas Mangin | |
2020-05-02 | interface: T2367: add flush_addrs function | Jernej Jakob | |
Add function that flushes all addresses from an interface. | |||
2020-05-02 | interface: T2367: fix add_addr and del_addr address tracking in cache | Jernej Jakob | |
Correctly track addresses in cache _addr variable | |||
2020-04-23 | interfaces: T2362: split set_ipv6_eui64_address into add and del functions | Jernej Jakob | |
2020-04-21 | vlan: T2361: delete VLAN but not ethernet | Thomas Mangin | |
2020-04-18 | interfaces: T2320: correctly honour create and debug options | Thomas Mangin | |
2020-04-14 | ifconfig: T2223: group all operational commands | Thomas Mangin | |
All operational command are moved within an Operational class and an inherited on for wireguard. | |||
2020-04-11 | dhcp: T2265: refactor DHCP class | Thomas 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-08 | import: T2242: remove all import * | Thomas Mangin | |
2020-04-04 | ifconfig: T2190: option to prevent Interface creation | Thomas 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-31 | ifconfig: T2057: allow to disable interface debugging | Thomas 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-28 | ipv6: T1831: migrate eui64 addressing to XML and python | Christian Poessinger | |
2020-03-28 | ipv6: T1831: migrate autoconf node | Christian Poessinger | |
Autoconfigure addresses using Prefix Information in Router Advertisements. | |||
2020-03-28 | ipv6: T1831: use integers over bool in interface configuration | Christian Poessinger | |
2020-03-28 | ipv6: T1831: migrate forwarding and dup-addr-detect-transmits nodes | Christian Poessinger | |
... to new XML and Python based frontend/backend. | |||
2020-03-28 | Merge pull request #275 from thomas-mangin/T2057-oper-admin | Christian Poessinger | |
ifconfig: T2057: explicity name state functions | |||
2020-03-28 | ifconfig: T2057: explicity name state functions | Thomas 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-28 | Merge pull request #278 from thomas-mangin/T2167 | Christian Poessinger | |
ifconfig: T2167: get_mac was not returning | |||
2020-03-28 | ifconfig: T2167: get_mac was not returning | Thomas Mangin | |
2020-03-28 | Merge pull request #276 from thomas-mangin/T2057-alias | Christian Poessinger | |
ifconfig: T2057: add get_alias function | |||
2020-03-27 | ifconfig: T2057: add get_alias function | Thomas Mangin | |
2020-03-27 | ifconfig: T2057: option forcing | Thomas Mangin | |
The code was trying to not perform change when not necessary however it prevent zero value to be set | |||
2020-03-24 | ifconfig: T2057: remove need for interface-types.json | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: add class Register | Thomas Mangin | |
2020-03-24 | ifconfig: T2057: break down DHCP | Thomas Mangin | |
2020-03-23 | ifconfig: T2154: fixing failure to start-stop-daemon | Thomas Mangin | |
2020-03-23 | ifconfig: T2151: get_state() must use administrative state and not operstate | Christian Poessinger | |
... as set_state() changes the interface administrative state, too! | |||
2020-03-23 | ifconfig: T2151: ensure interface is admin down when changing MAC address | Christian Poessinger | |
2020-03-23 | ifconfig: T2151: add possibility to query assigned MAC address | Christian Poessinger | |
... this is required for delta checks | |||
2020-03-23 | ifconfig: T31: convert all interface to set_vrf api | Thomas Mangin | |
2020-03-23 | tunnel: T31: add support for vrf on tunnels | Thomas Mangin | |
2020-03-20 | Merge pull request #251 from thomas-mangin/T2057-required | Christian Poessinger | |
ifconfig: T2057: skip required check if we do not create the interface | |||
2020-03-20 | ifconfig: T2057: make set_state use set_interface | Thomas Mangin | |
2020-03-20 | ifconfig: T2057: skip required fields check if we do not create the interface | Thomas Mangin | |
2020-03-16 | ifconfig: T1849: buster fixed the delay issue | Thomas Mangin | |
2020-03-06 | ifconfig: T2104: splt ifconfig.py into multiple files | Thomas Mangin | |