summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-09-01Python/ifconfig: T1557: migrate all sysfs calls to {read,write}_sysfs helperChristian Poessinger
Introduced in commit f524254 ("Python/ifconfig: T1557: use read/write helpers to interface with sysfs") migrate all remaining calls to this new helper. This enables us to have a single debug call and a single place for error checking.
2019-09-01bridge: T1556: change 'aging' help textChristian Poessinger
2019-09-01Merge pull request #123 from jestabro/currentDaniil Baturin
[boot-config-loader] T1622: Add failsafe and back trace
2019-08-31[boot-config-loader] T1622: Add failsafe and back traceJohn Estabrook
2019-08-31Python/ifconfig: T1557: enable debugging with DEBUG=1 environment variableChristian Poessinger
2019-08-31Python/ifconfig: T1557: use read/write helpers to interface with sysfsChristian Poessinger
2019-08-31Python/ifconfig: T1557: cleanup import sectionChristian Poessinger
2019-08-31loopback: T1601: support deleting interface descriptionChristian Poessinger
2019-08-31dummy: T1580: support deleting interface descriptionChristian Poessinger
2019-08-31Merge pull request #121 from c-po/t1557-ifconfigChristian Poessinger
T1557 Create generic abstraction for configuring interfaces e.g. IP address
2019-08-31Debian: remove pyroute2 dependencyChristian Poessinger
2019-08-31loopback: T1601: migrate from pyroute2 -> vyos.ifconfigChristian Poessinger
2019-08-31dummy: T1580: migrate from pyroute2 -> vyos.ifconfigChristian Poessinger
2019-08-31bridge: T1615: replace pyroute2 by vyos.ifconfigChristian Poessinger
2019-08-31Python/ifconfig: T1557: fix DHCP/DHCPv6 daemon and add Bridge/Dummy interfaceChristian Poessinger
2019-08-31bridge: T1556: increase max-age range to 1200 (30 minutes)Christian Poessinger
2019-08-31Merge pull request #120 from DmitriyEshenko/ipsec-l2tpDaniil Baturin
[l2tp ipsec] T1605: Changed ipsec marking only for inbound policy, al…
2019-08-31[l2tp ipsec] T1605: Changed ipsec marking only for inbound policy, all ↵DmitriyEshenko
functionality must saved
2019-08-30Python/ifconfig: cleanup import statementsChristian Poessinger
2019-08-30Python/ifconfig: remove ipv4/ipv6 handling, iproute2 autodetects addr familyChristian Poessinger
2019-08-30T1598: fix vyos-hostsd unit dependencies.Daniil Baturin
2019-08-30Python/ifconfig: rename interfaceconfig.py -> ifconfig.pyChristian Poessinger
2019-08-30Python/ifconfig: re-work IP address creation/deletionChristian Poessinger
2019-08-30Python/ifconfig: replace up()/down() with 'state' propertyChristian Poessinger
Commit cb1b72c5c ("Python/ifconfig: replace linkstate() with up()/down() methods") replaced the linkstate property in favour of up()/down() functions. Instead it really makes more sense to have a propery to also query the current linkstate from sysfs.
2019-08-30Python/ifconfig: add @property statement on 'remove' callChristian Poessinger
2019-08-30Python/ifconfig: re-work and rename remove_interface() -> remove() to delete ↵Christian Poessinger
an interface
2019-08-30Python/ifconfig: replace linkstate() with up()/down() methodsChristian Poessinger
2019-08-30Python/ifconfig: re-work __init__ interface creationChristian Poessinger
2019-08-30Python/ifconfig: rework interface alias assignmentChristian Poessinger
2019-08-30Python/ifconfig: rework changing of interface MAC addressChristian Poessinger
2019-08-30Python/ifconfig: remove unused depricated methodsChristian Poessinger
2019-08-30Python/ifconfig: re-work mtu getter/setterChristian Poessinger
Instead of calling iprotue2 via a subprocess (which is only complicated and expensive), we rather directly interact with sysfs).
2019-08-30Python/ifconfig: re-indent help stringsChristian Poessinger
2019-08-30Python/ifconfig: ease __init__ if/else statementsChristian Poessinger
2019-08-30Python/ifconfig: re-indent with 4 spaces for better readabilityChristian Poessinger
Command user: $ autopep8 python/vyos/interfaceconfig.py --in-place
2019-08-30Python/ifconfig: remove trailing whitespacesChristian Poessinger
2019-08-28bridge: T1615: add missing support for DHCP/DHCPv6 interface addressChristian Poessinger
This feature is not well supported by pyroute2 and thus uses the proof-of-concept vyos.interfaceconfig library. Maybe it's a better idea to write our own library from scratch.
2019-08-27openvpn: T1617: bugfix for server push-routeChristian Poessinger
2019-08-27Merge branch 't1614-bonding' into currentChristian Poessinger
* t1614-bonding: Python/VyOS validate: add is_ip() to check for IPv4 or IPv4 address bridge: T1556: remove unused function freeze() list-interfaces: T1614: support listing interfaces which can be bonded
2019-08-27Python/VyOS validate: add is_ip() to check for IPv4 or IPv4 addressChristian Poessinger
2019-08-27[service https] T1443: Correct the use of listen/server_name directivesJohn Estabrook
2019-08-27bridge: T1556: remove unused function freeze()Christian Poessinger
2019-08-27list-interfaces: T1614: support listing interfaces which can be bondedChristian Poessinger
2019-08-27dummy: T1580: migrate implementation to pyroute2Christian Poessinger
2019-08-26Merge pull request #118 from c-po/pyroute2Christian Poessinger
loopback: T1601: migrate to pyroute2
2019-08-26Python: configinterface: remove in favour of pyrouteChristian Poessinger
2019-08-26loopback: T1601: migrate to pyroute2Christian Poessinger
2019-08-26bridge: T1556: fix commentChristian Poessinger
2019-08-26Merge pull request #117 from c-po/pyroute2Christian Poessinger
bridge: T1556: migrate to pyroute2
2019-08-26bridge: T1556: migrate interface configuration to pyroute2Christian Poessinger
Tested with: set interfaces bridge br0 address '192.0.2.1/24' set interfaces bridge br0 aging '500' set interfaces bridge br0 disable-link-detect set interfaces bridge br0 forwarding-delay '11' set interfaces bridge br0 hello-time '5' set interfaces bridge br0 igmp querier set interfaces bridge br0 max-age '11' set interfaces bridge br0 member interface eth1 cost '1000' set interfaces bridge br0 member interface eth1 priority '4' set interfaces bridge br0 member interface eth2 cost '1001' set interfaces bridge br0 member interface eth2 priority '56'