Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-08-30 | Python/ifconfig: rename interfaceconfig.py -> ifconfig.py | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work IP address creation/deletion | Christian Poessinger | |
2019-08-30 | Python/ifconfig: replace up()/down() with 'state' property | Christian 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-30 | Python/ifconfig: add @property statement on 'remove' call | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work and rename remove_interface() -> remove() to delete ↵ | Christian Poessinger | |
an interface | |||
2019-08-30 | Python/ifconfig: replace linkstate() with up()/down() methods | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work __init__ interface creation | Christian Poessinger | |
2019-08-30 | Python/ifconfig: rework interface alias assignment | Christian Poessinger | |
2019-08-30 | Python/ifconfig: rework changing of interface MAC address | Christian Poessinger | |
2019-08-30 | Python/ifconfig: remove unused depricated methods | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-work mtu getter/setter | Christian Poessinger | |
Instead of calling iprotue2 via a subprocess (which is only complicated and expensive), we rather directly interact with sysfs). | |||
2019-08-30 | Python/ifconfig: re-indent help strings | Christian Poessinger | |
2019-08-30 | Python/ifconfig: ease __init__ if/else statements | Christian Poessinger | |
2019-08-30 | Python/ifconfig: re-indent with 4 spaces for better readability | Christian Poessinger | |
Command user: $ autopep8 python/vyos/interfaceconfig.py --in-place | |||
2019-08-30 | Python/ifconfig: remove trailing whitespaces | Christian Poessinger | |
2019-08-27 | Merge branch 't1614-bonding' into current | Christian 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-27 | Python/VyOS validate: add is_ip() to check for IPv4 or IPv4 address | Christian Poessinger | |
2019-08-27 | [service https] T1443: Correct the use of listen/server_name directives | John Estabrook | |
2019-08-26 | Merge pull request #118 from c-po/pyroute2 | Christian Poessinger | |
loopback: T1601: migrate to pyroute2 | |||
2019-08-26 | Python: configinterface: remove in favour of pyroute | Christian Poessinger | |
2019-08-26 | T1598: add a vyos-hostsd operation for retrieving name servers by tag. | Daniil Baturin | |
2019-08-25 | Merge pull request #112 from alkersan/T1607_reset_ip_conntrack_rewrite | Christian Poessinger | |
[op-mode] T1607 rewrite 'reset conntrack' and 'reset & show ip[v6]' to python/xml syntax | |||
2019-08-23 | [dummy] T1609 migrate to vyos.interfaceconfig, adding check ip-cidr, adding ↵ | DmitriyEshenko | |
vyos.interfaceconfig common ipv4/ipv6 functions | |||
2019-08-23 | [op-mode] T1607 rewrite 'reset conntrack', 'reset & show ip[v6]' to ↵ | Dmytro Aleksandrov | |
python/xml syntax | |||
2019-08-22 | [interfaceconfig] - linkstate as property and depriccated message for ↵ | hagbard | |
get_link_state() | |||
2019-08-21 | [interfaceconfig class] - moved get functionaility for mtu, mac and ifalias ↵ | hagbard | |
into its property | |||
2019-08-21 | T1598: handle the socket timeout exception in vyos.hostsd_client | Daniil Baturin | |
2019-08-20 | T1598: initial implementation of the hosts keeper daemon. | Daniil Baturin | |
2019-08-20 | vyos.interfaces: T1595: add method to query for interface type | Christian Poessinger | |
As of now we only could list the available interfaces for a given interface type. There was no reverse mapping available which told us that interface eth0.201 is an ethernet interface or vtun0 is openvpn. | |||
2019-08-20 | vyos.configtree: add help for set method | Christian Poessinger | |
2019-08-19 | Python: configinterface: remove debug print() statements | Christian Poessinger | |
2019-08-19 | dummy: T1580: Python: support {add,remove}_interface in vyos.configinterface | Christian Poessinger | |
2019-08-14 | [service https] T1443: add self-signed TLS certificate | John Estabrook | |
2019-08-14 | [service https] T1443: move https and api default data to vyos.defaults | John Estabrook | |
2019-08-09 | [config] - T1557: setting object properties for the class | hagbard | |
2019-08-08 | [config] - T1557: Create generic abstraction for configuring interfaces e.g. ↵ | hagbard | |
IP address | |||
2019-08-05 | T1431: add showConfig operation to the HTTP API. | Daniil Baturin | |
2019-08-05 | [vyos.configsession] Return the output of the external process from ↵ | Daniil Baturin | |
__run_command. | |||
2019-08-05 | [bridge] T1156: support adding interface addresses | Christian Poessinger | |
2019-08-05 | Python/VyOS validate: extend is_intf_addr_assigned() | Christian Poessinger | |
Verify if the given IPv4/IPv6 address is assigned to specific interface. It can check both a single IP address (e.g. 192.0.2.1 or a assigned CIDR address 192.0.2.1/24. Used testbench: =============== 20: br0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000 inet 192.0.2.1/24 brd 192.0.2.255 scope global br0 inet 192.0.3.1/24 brd 192.0.3.255 scope global br0 inet6 2001:db8:2::ffff/64 scope global tentative inet6 2001:db8:1::ffff/64 scope global tentative is_intf_addr_assigned('br0', '192.0.2.1/24') -> True is_intf_addr_assigned('br0', '192.0.2.1') -> True is_intf_addr_assigned('br0', '2001:db8:2::ffff/64') -> True is_intf_addr_assigned('br0', '2001:db8:2::ffff') -> True is_intf_addr_assigned('br0', '192.0.100.1/24') -> False is_intf_addr_assigned('br0', '192.0.100.1') -> False is_intf_addr_assigned('br0', '2001:db8:100::ffff/64') -> False is_intf_addr_assigned('br0', '2001:db8:100::ffff') -> False | |||
2019-08-05 | Python/VyOS validate: add helper to check if an address belongs to a given ↵ | Christian Poessinger | |
interface | |||
2019-08-04 | Python/VyOS validate: improve logic on is_ipv4() and is_ipv6() | Christian Poessinger | |
Previosly the check failed when a network statement was passed which contained host bits set e.g. 192.0.2.1/24. This no longer is an issue b/c this is a valid v4 address. Address is now split on / and validated. | |||
2019-08-04 | [bridge] T1156: add missing 'pass' statements | Christian Poessinger | |
2019-08-04 | [bridge] T1156: validate if supplied MAC address is valid | Christian Poessinger | |
2019-08-03 | [bridge] T1156: support adding and removing bridge member interfaces | Christian Poessinger | |
This is the new syntax bridge br0 { member { interface eth0 { cost 10 } interface eth1 { cost 11 } } } | |||
2019-08-02 | [bridge] T1156: first working implementation using Python and XML | Christian Poessinger | |
2019-07-03 | [vyos.config] T1505: correct return_effective_values output splitting. | Daniil Baturin | |
2019-07-03 | T1503: add functions for commit lock checking and waiting. | Daniil Baturin | |
2019-07-01 | [service https] T1443: add service https and service https api | John Estabrook | |
2019-06-16 | T1432: inject VyOS-specific environment variables into the session environment. | Daniil Baturin | |
They are widely referenced by command templates, but a process started as a service doesn't automatically get them. |