summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2020-03-24Merge pull request #261 from thomas-mangin/2154Christian Poessinger
ethernet: T2154: do not report errors where none are
2020-03-23ifconfig: T2154: fixing failure to start-stop-daemonThomas Mangin
2020-03-23T2125: Replacing all missing importskroy-the-rabbit
2020-03-23T2125: Fixing missing importkroy-the-rabbit
2020-03-23wireless: T2151: switch to iw when adding and deleting interfacesChristian Poessinger
2020-03-23ifconfig: T2151: always start interface in monitoring modeChristian Poessinger
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-23Merge pull request #258 from thomas-mangin/31-vrfChristian Poessinger
tunnel: T31: fix vrf deletion, add support for vrf on tunnels
2020-03-23ifconfig: T31: convert all interface to set_vrf apiThomas Mangin
2020-03-23Merge pull request #256 from thomas-mangin/2057-cleanupChristian Poessinger
ifconfig: T2057: tidying up code for geneve and vxlan
2020-03-23tunnel: T31: add support for vrf on tunnelsThomas Mangin
2020-03-22geneve: T2057: use self.default as template for get_configThomas Mangin
2020-03-22vxlan: T2057: rewrite _create commandThomas Mangin
2020-03-22ifconfig: T2151: add WiFiIf interface representation classChristian Poessinger
This class is required as wireless interfaces are created using iw instead of ip from iproute2.
2020-03-22vxlan: T2057: use self.default as template for get_configThomas Mangin
2020-03-22Merge pull request #222 from thomas-mangin/T2028Christian Poessinger
tunnel: T2028: move interface tunnel to XML/Python
2020-03-22tunnel: T2028: move interface tunnel to XML/PythonThomas Mangin
This patch migrates the "interface tunnel" section to xml/python
2020-03-22ifconfig: T2104: remove superfluous __init__ in derived classesChristian Poessinger
__init__ should be added to a derived class only if it does work in the ctor.
2020-03-20Merge pull request #253 from thomas-mangin/cmd-checkChristian Poessinger
ifconfig: T2057: fail change when command are failing
2020-03-20ifconfig: T2057: fail change when command are failingThomas 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-20ifconfig: T2057: data conversion was lost, better error messageThomas Mangin
2020-03-17Merge pull request #246 from thomas-mangin/T1849-delayChristian Poessinger
ifconfig: T1849: buster fixed the delay issue
2020-03-17vxlan: T2134: fix NameError: name 'config' is not definedMichael Petö
2020-03-16ifconfig: T1849: buster fixed the delay issueThomas Mangin
2020-03-16T2125: show interfaces wireguard wg0 errorhagbard
- That should probably move to it's own op command library as it is the onlt function print out specific information
2020-03-11Merge pull request #238 from fetzerms/http_api_show_generateChristian Poessinger
T2096: Http api show generate
2020-03-11http api: T2096: Added show and generateMatthias Fetzer
2020-03-08ifconfig: T1557: reorder calling order to support non q-in-q interfacesChristian Poessinger
2020-03-08vrf: T31: support VRF usage on VLAN/VIF interfacesChristian Poessinger
2020-03-07bonding: T2057: fix creation/deletion sysfs commandThomas Mangin
2020-03-06ifconfig: T2104: splt ifconfig.py into multiple filesThomas Mangin
2020-03-05ifconfig: T2101: Fix VXLAN parsing empty config because of empty optionstjjh89017
fill VXLANIf.options for correct parsing
2020-03-05ifconfig: T2101: Fix undefined reference variable in VXLANIftjjh89017
change `config['remote']` to `self.config['remote']`
2020-03-04Merge branch 't31-vrf' of github.com:c-po/vyos-1x into currentChristian Poessinger
* 't31-vrf' of github.com:c-po/vyos-1x: vrf: T31: enable vrf support for dummy interface templates: T2099: make op-mode path completion helper working vrf: T31: reorder routing table lookups vrf: T31: adding unreachable routes to the routing tables vrf: T31: prior to the v4.8 kernel iif and oif rules are needed vrf: T31: create iproute2 table to name mapping reference vrf: T31: rename 'vrf disable-bind-to-all ipv4' to 'vrf bind-to-all' vrf: T31: support add/remove of interfaces from vrf vrf: T31: remove superfluous vyos.vrf library functions vrf: T31: reduce script complexity vrf: T31: no need to use sudo calls in vrf.py vrf: T31: make 'show vrf' command behave like other 'show interface commands' xml: include: description: adjust help message vrf: T31: improve help for routing table vrf: T31: reuse interface-description.xml.i for instance description vrf: T31: use embedded regex on 'vrf name' instead of python script vrf: T31: initial support for a VRF backend in XML/Python ifconfig: T2057: generic interface option setting
2020-03-04vrf: T31: support add/remove of interfaces from vrfChristian Poessinger
2020-03-04vrf: T31: remove superfluous vyos.vrf library functionsChristian Poessinger
vyos.vrf.list_vrfs() was only used in one function thus building a library is no longer needed. If it is needed in the future it should be placed into a library again.
2020-03-04vrf: T31: initial support for a VRF backend in XML/PythonThomas Mangin
This is a work in progress to complete T31 whoever thought it was less than 1 hour of work was ..... optimistic. Only VRF vreation and show is supported right now. No interface can be bound to any one VRF.
2020-03-04ifconfig: T2057: generic interface option settingThomas Mangin
this patch allows to get or change many interface options (mtu, arp settings, ...) using get_interface / set_interface functions
2020-03-04Merge pull request #240 from thomas-mangin/2057-strictChristian Poessinger
ifconfig: T2057: allow unknown config keys, and fix variable name ref.
2020-03-04ifconfig: T2057: allow unknown keys in the config, and fixThomas Mangin
2020-03-04ifconfig: T2057: fix various typosThomas Mangin
2020-03-04ifconfig: T2057: bugfix KeyErrorChristian Poessinger
Error introduced in commit b38dcaf ("ifconfig: T2057: generic interface option setting"). File "/usr/lib/python3/dist-packages/vyos/ifconfig.py", line 146, in _get_sysfs filename = self._sysfs_get[name]['location'].format(config) KeyError: 'ifname'
2020-03-04ifconfig: T2057: bugfix ValueErrorChristian Poessinger
Fixes error when creating bridge interfaces: ValueError: <module 'time' (built-in)> must be a number
2020-03-03ifconfig: T2057: generic interface option settingThomas Mangin
this patch allows to get or change many interface options (mtu, arp settings, ...) using get_interface / set_interface functions
2020-03-03ifconfig: T2074: add check for sysfs filesDmitriyEshenko