summaryrefslogtreecommitdiff
path: root/python
AgeCommit message (Collapse)Author
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'hello_time' property to ↵Christian Poessinger
set_hello_time()
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'forward_delay' property to ↵Christian Poessinger
set_forward_delay()
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'max_age' property to set_max_age()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor BridgeIf 'multicast_querier' property to ↵Christian Poessinger
set_multicast_querier()
2019-09-24Python/ifconfig: T1557: refactor BondIf 'primary' property to set_primary()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor 'mac' property to set_mac()Christian Poessinger
2019-09-24Python/ifconfig: T1557: refactor 'mtu' property to get_mtu()/set_mtu()Christian Poessinger
2019-09-23Python/ifconfig: T1680: fix dhclient shutdownChristian Poessinger
Tell DHCP server we release the IP address and also remove it from the interface by properly calling dhclient shutdown. Syslog: Sep 23 21:20:34 vyos dhclient: Killed old client process Sep 23 21:20:35 vyos dhclient: DHCPRELEASE on eth2 to 172.16.35.254 port 67
2019-09-23fixes T1679 (parsing MAC address as base-10)Marek Isalski
2019-09-20Python/ifconfig: T1557: ethernet: add offloading interfacesChristian Poessinger
2019-09-20Python/ifconfig: T1557: update commentsChristian Poessinger
2019-09-20Python/ifconfig: T1557: delete all assigned IP addresses on remove()Christian Poessinger
2019-09-20ethernet: T1637: call remove() on interface deletionChristian Poessinger
2019-09-20Python/ifconfig: T1557: use proper inheritance levels on remove()Christian Poessinger
2019-09-20Python/ifconfig: T1557: unify '/sys/class/net/{}' pathChristian Poessinger
2019-09-20Python/ifconfig: T1557: vmxnet3/virtio_net do not support changing ↵Christian Poessinger
speed/duplex control
2019-09-20Python/ifconfig: T1557: vmxnet3/virtio_net do not support changing flow controlChristian Poessinger
2019-09-20Python/ifconfig: T1557: query driver if it supports auto negotiationChristian Poessinger
2019-09-20Python/ifconfig: T1557: call ethtool with full pathChristian Poessinger
2019-09-20Python/ifconfig: T1557: return stdout string for _cmd()Christian Poessinger
2019-09-20Python/ifconfig: T1557: add ethernet interface get_driver_name()Christian Poessinger
2019-09-20Python/ifconfig: T1557: redirect _cmd stderr to stdoutChristian Poessinger
2019-09-20Python/ifconfig: T1557: ethernet: add method for changing speed and duplexChristian Poessinger
2019-09-20Python/ifconfig: T1557: mac: ignore empty address stringsChristian Poessinger
2019-09-20Python/ifconfig: T1557: ethernet: support changing flow controlChristian Poessinger
Ethernet flow control can be set by set_flow_control() which enables/disables generation of pause frames.
2019-09-20Python/ifconfig: T1557: import cleanup for subprocessChristian Poessinger
2019-09-20Python/ifconfig: T1557: support VLAN {ingress,egress}-qos-mappingChristian Poessinger
ingress-qos-map - defines a mapping of VLAN header prio field to the Linux internal packet priority on incoming frames. The format is FROM:TO with multiple mappings separated by spaces. egress-qos-map - defines a mapping of Linux internal packet priority to VLAN header prio field but for outgoing frames. The format is the same as for ingress-qos-map.
2019-09-20ethernet: T1637: initial rewrite in XML/Python styleChristian Poessinger
2019-09-20Python/ifconfig: T1557: rename EthernetIf -> VLANIfChristian Poessinger
An Ethernet Interface will provide additional functionality (link speed/duplex) which is not available for a Bond Interface, but both share the same VLAN capabilities.
2019-09-19Python/ifconfig: T1666: re-activate physical interfaces on bond deletionChristian Poessinger
When a bond member gets deleted, all members are placed in A/D state even when they are enabled in the CLI.
2019-09-19[boot-config-loader] T1622: (bugfix) set gid and write permissionsJohn Estabrook
Set gid and permissions so that vyatta-cfg group has access to the active config; fix typo in arg len check; reorganize; add log output.
2019-09-13Python/ifconfig: T1557: bonding: add miimon propertyChristian Poessinger
2019-09-13Python/ifconfig: T1557: bonding: fix class name in commentsChristian Poessinger
2019-09-09[wireguard] - T1639: wireguard pubkey change errorhagbard
- removed sudo as is already runs as root - set privte key as variable in preparation to support multiple pk's
2019-09-06[wireguard] - T1639: wireguard pubkey change errorhagbard
- sudo added to wg call - debug print removed when pubkey changes
2019-09-06vxlan: T1636: initial rewrite with XML and PythonChristian Poessinger
Tested using: Site 1 (VyOS 1.2.2) ------------------- set interfaces vxlan vxlan100 address '10.10.10.2/24' set interfaces vxlan vxlan100 remote '172.18.201.10' set interfaces vxlan vxlan100 vni '100' Site 2 (rewrite) ---------------- set interfaces vxlan vxlan100 address '10.10.10.1/24' set interfaces vxlan vxlan100 description 'VyOS VXLAN' set interfaces vxlan vxlan100 remote '172.18.202.10' set interfaces vxlan vxlan100 vni '100'
2019-09-06Python/ifconfig: T1557: vxlan: initial support via VXLANIfChristian Poessinger
2019-09-06Python/ifconfig: T1557: fix remove_peer commend in WireGuardIfChristian Poessinger
2019-09-06Python/ifconfig: T1557: {add,del}_addr() now supports dhcp/dhcpv6Christian Poessinger
Instead of manually starting DHCP/DHCPv6 for every interface and have an identical if/elif/else statement checking for dhcp/dhcpv6 rather move this repeating stement into add_addr()/del_addr(). Single source is always preferred.
2019-09-06Python/ifconfig: T1557: recursively delete VLAN interfaces on remove()Christian Poessinger
2019-09-04[wireguard] - T1628: line break in coment addedhagbard
2019-09-04[wireguard] - T1628: renaming member functions, removing wg_ prefixhagbard
2019-09-04Merge branch 'current' of https://github.com/vyos/vyos-1x into currenthagbard
2019-09-04[wireguard] - T1628: fixing comment indenthagbard
2019-09-04Python/configdict: add function vlan_to_dictChristian Poessinger
A generic function which can parse the VLAN (vif, vif-s, cif-c) nodes in a config session. A dictionary describing the VLAN is returned. A good example will be the interface-bonding.py script used to generate bond interfaces in the system. It is used as follows: if conf.exists('vif'): for vif in conf.list_nodes('vif'): # set config level to vif interface conf.set_level(cfg_base + ' vif ' + vif) bond['vif'].append(vlan_to_dict(conf))
2019-09-04Python/configdict: add list_diff function to compare two listsChristian Poessinger
A list containing only unique elements not part of the other list is returned. This is usefull to check e.g. which IP addresses need to be removed from the OS.
2019-09-04[wireguard] - T1628: Adopt WireGuard configuration script to new ↵hagbard
vyos.ifconfig class
2019-09-04Python/ifconfig: T1557: remove double quotes on iproute2 commandsChristian Poessinger
2019-09-04bonding: T1614: T1557: add vif/vif-s VLAN interface supportChristian Poessinger
Support for vif-c interfaces is still missing
2019-09-03Python/ifconfig: T1557: cleanup __init__/debugChristian Poessinger