Age | Commit message (Collapse) | Author | |
---|---|---|---|
2020-07-04 | vrf: T31: lower startup priority to 60 | Christian Poessinger | |
VRFs should be created as early as possible. | |||
2020-07-04 | ssh: T2682: simplify VRF binding | Christian Poessinger | |
2020-07-04 | cleanup: no need to call sudo for configuration mode scripts | Christian Poessinger | |
2020-07-04 | Merge pull request #488 from DmitriyEshenko/fix-fnm-07042020 | John Estabrook | |
ids: T2659: Add get_first_key to get_config_dict | |||
2020-07-04 | ids: T2659: Add get_first_key to get_config_dict | DmitriyEshenko | |
2020-07-04 | Merge pull request #487 from DmitriyEshenko/1x-impl-fnm | Daniil Baturin | |
ids: T2659: Implement fastnetmon support | |||
2020-07-03 | config_dict: update docstring | John Estabrook | |
2020-07-03 | config_dict: T2670: remove dependency on show_config | John Estabrook | |
2020-07-03 | ids: T2659: Implement fastnetmon support | DmitriyEshenko | |
2020-07-03 | ntp: T2676: mive to get_config_dict() | Christian Poessinger | |
2020-07-03 | vyos.template: T2676: add custom Jinja2 filter for IP handling | Christian Poessinger | |
NTP configuration file requires the IP address and a netmask for client subnets but the CLI will only provide a prefix based ntoation. Use custom, reusable JInja2 template to transform a CIDR based prefix into its address and netmask portion for IPv4 and IPv6. Jinja2 custom filters are regular python functions - thus they can be re-used directly when e.g. verifying the configuration in vyos-smoketests. | |||
2020-07-01 | config_dict: T2668: move keyword arg get_first_key into get_sub_dict | John Estabrook | |
2020-07-01 | config_dict: T2667: clarify docstring | John Estabrook | |
2020-07-01 | config: T2667: add missing flag | John Estabrook | |
2020-07-01 | config: T2667: add missing check | John Estabrook | |
2020-07-01 | Merge pull request #486 from jestabro/sub_dict | Christian Poessinger | |
2020-07-01 | config: T2667: adapt for refinements to get_config_dict | John Estabrook | |
2020-07-01 | config: T2667: use get_sub_dict for get_config_dict(path, ...) | John Estabrook | |
2020-07-01 | config: T2667: add utility function get_sub_dict | John Estabrook | |
2020-07-01 | ifconfig: T2653: use better names for vyos.configverify functions | Christian Poessinger | |
2020-07-01 | ifconfig: T2653: move pppoe interface to get_config_dict() | Christian Poessinger | |
2020-07-01 | Merge pull request #483 from runborg/frr-mod | Christian Poessinger | |
T2638: FRR: New framework for configuring FRR | |||
2020-06-30 | Merge pull request #484 from thomas-mangin/T2649 | Christian Poessinger | |
tunnel: T2649: ConfigurationState, do not inherit from Config | |||
2020-06-29 | tunnel: T2649: ConfigurationState, do not inherit from Config | Thomas Mangin | |
2020-06-29 | ids: T2659: Fastnetmon conf_mode | sever-sever | |
2020-06-28 | T2638: FRR: New framework for configuring FRR | Runar Borge | |
This commit adds the python module vyos.frr that support reading and modifying the frr cofiguration. Functions get_configuration() : Collects the configuration from FRR and returns it as a string reload_configuration() : uses frr-reload.py to activate a new configuration. The configuration applied will overwrite the current configuration. mark_configuration() : Does syntax check/validation and add "end" tags to the configuration The marked configuration will be returned as a string A syntax fault will render an Exception execute() : Execute a command inside vtysh configure() : Executes a command in vtysh config mode replace_section() / _replace_section() : Adds the ability to replace a section of frr code remove_section() : Removes the specified configuration block from the config For now this supports replacing complete config sub-blocks of configuration and selecting the daemon to replace inside. This should work for most daemons, but static routing will still be an issue because this is not a separate sub-config mode | |||
2020-06-28 | wwan: T2660: remove workaround - use XML backed default dict | Christian Poessinger | |
2020-06-28 | wwan: T1988: fix missing MTU assignment | Christian Poessinger | |
2020-06-27 | Merge pull request #482 from thomas-mangin/T2660 | Christian Poessinger | |
xml: T2660: do replace - with _ for defaults when not flattening | |||
2020-06-27 | xml: T2660: do replace - with _ for defaults when not flattening | Thomas Mangin | |
2020-06-27 | ifconfig: T2653: move wirelessmodem (WWAN) interface to get_config_dict() | Christian Poessinger | |
2020-06-27 | xml: include: mtu: add default MTU 1500 bytes | Christian Poessinger | |
2020-06-27 | pppoe: T1318: use MTU include file | Christian Poessinger | |
2020-06-27 | xml: T2656: do not flatten dict by default | Christian Poessinger | |
2020-06-27 | ifconfig: T2653: macsec switch to default dictionary | Christian Poessinger | |
2020-06-27 | Merge branch 'T2656' of https://github.com/thomas-mangin/vyos-1x into current | Christian Poessinger | |
* 'T2656' of https://github.com/thomas-mangin/vyos-1x: xml: T2656: option to not flatten the default dict | |||
2020-06-27 | Merge pull request #480 from c-po/t2653 | Christian Poessinger | |
ifconfig: T2653: move macsec interface to get_config_dict() | |||
2020-06-27 | xml: T2656: option to not flatten the default dict | Thomas Mangin | |
2020-06-27 | ifconfig: T2653: dummy: loopback: use same get_config() structure as MACsec | Christian Poessinger | |
2020-06-27 | ifconfig: T2653: move macsec interface to get_config_dict() | Christian Poessinger | |
2020-06-27 | ifconfig: T2653: add vyos.configverify.verify_source_interface() helper | Christian Poessinger | |
2020-06-27 | Merge pull request #478 from kroy-the-rabbit/fix_static_host_mapping | Daniil Baturin | |
T2654: Remove overzealous error checking | |||
2020-06-26 | T2654: Remove overzealous error checking | kroy | |
2020-06-26 | ifconfig: T2653: add common vyos.configverify helpers | Christian Poessinger | |
While moving towards a general interface abstraction based on get_config_dict() and the use of vyos.ifconfig.Interfaces().update() it also makes sense, to split out common verification code to a common util file - instead of duplicating the code, which is infact one of the main forces drivind this transition. vyos.configverify will hold common functions called via verify() from our src/conf_mode scripts so we do not need to copy/paste general verifications methods. | |||
2020-06-26 | migration: interfaces: T2622: fix pseudo-ethernet migration | Christian Poessinger | |
By implementation misstake we exited the migrationscript if no VXLAN interface was found but this was wrong as the same loop is used on pseudo-ethernet interfaces. The Migrator previously only worked on pseudo-ethernet when also a VXLAN interface was present. This has been corrected. | |||
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-06-26 | configdict: T2653: prevent recursive imports | Christian Poessinger | |
2020-06-26 | ssh: T2642: bugfix on multiple listen-address statements | Christian Poessinger | |
Commit 1d7f88b459d ("ssh: T2635: migrate to get_config_dict()") used a wrong loop iterator on the rendered ListenAddress statement. | |||
2020-06-25 | Merge pull request #476 from thomas-mangin/T2588-fix-with | Christian Poessinger | |
xml: T2528: fix defaults |