Page MenuHomeVyOS Platform
Feed Search

Aug 26 2020

jestabro committed rVYOSONEXa7ab5c9f57d2: https: T2830: update to use get_config_dict.
Aug 26 2020, 6:12 PM
jestabro changed the status of T2830: Migrate "service https" to use get_config_dict() from Open to In progress.
Aug 26 2020, 6:09 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro created T2830: Migrate "service https" to use get_config_dict().
Aug 26 2020, 6:09 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 20 2020

jestabro closed T2815: Move certbot config directory under /config/auth as Resolved.
Aug 20 2020, 4:49 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX41c847593551: https: T2815: adjust for change in certbot config directory.
Aug 20 2020, 4:49 AM
jestabro committed rVYOSONEX0bc94e588fea: certbot: T2815: change config dir to /config/auth/letsencrypt.
Aug 20 2020, 4:49 AM
jestabro changed the status of T2815: Move certbot config directory under /config/auth from Open to In progress.
Aug 20 2020, 3:30 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro triaged T2815: Move certbot config directory under /config/auth as Normal priority.
Aug 20 2020, 3:29 AM · VyOS 1.3 Equuleus (1.3.0)

Aug 18 2020

jestabro added a subtask for T2582: Script daemon to offload processing during commit: T2808: Add smoketest to ensure script consistency with config daemon.
Aug 18 2020, 3:45 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2808: Add smoketest to ensure script consistency with config daemon: T2582: Script daemon to offload processing during commit.
Aug 18 2020, 3:45 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2808: Add smoketest to ensure script consistency with config daemon from Open to Needs testing.
Aug 18 2020, 3:45 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 17 2020

jestabro added a comment to T2636: get_config_dict() shall always return a list on <multi/> nodes.

@thomas-mangin in further tests, I've seen wide variability in timing tests, independent of caching, with the original quote being the high-end. That will need to be investigated, but I think performance should not be considered a road-block for now.

Aug 17 2020, 4:21 AM · VyOS 1.3 Equuleus (1.3.0)

Aug 14 2020

jestabro updated the task description for T2649: Ensure configration mode scripts conform to coding guidelines.
Aug 14 2020, 5:03 PM · VyOS 1.3 Equuleus
jestabro added a comment to T2795: console server fails to commit.

@tux, this has been fixed in the current rolling.

Aug 14 2020, 3:53 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 11 2020

jestabro updated the task description for T2649: Ensure configration mode scripts conform to coding guidelines.
Aug 11 2020, 1:18 AM · VyOS 1.3 Equuleus
jestabro updated the task description for T2649: Ensure configration mode scripts conform to coding guidelines.
Aug 11 2020, 1:15 AM · VyOS 1.3 Equuleus
jestabro committed rVYOSONEXbcbc7c3eaa83: host_name: T2784: remove unused imports.
Aug 11 2020, 1:12 AM
jestabro committed rVYOSONEXf8112b64a9dd: host_name: T2784: remove unused arg in verify, unneeded arg in get_config.
Aug 11 2020, 1:12 AM
jestabro closed T2784: Remove unused arg from host_name.py functions verify and get_config, a subtask of T2649: Ensure configration mode scripts conform to coding guidelines, as Resolved.
Aug 11 2020, 1:12 AM · VyOS 1.3 Equuleus
jestabro closed T2784: Remove unused arg from host_name.py functions verify and get_config as Resolved.
Aug 11 2020, 1:12 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a subtask for T2649: Ensure configration mode scripts conform to coding guidelines: T2784: Remove unused arg from host_name.py functions verify and get_config.
Aug 11 2020, 1:04 AM · VyOS 1.3 Equuleus
jestabro added a parent task for T2784: Remove unused arg from host_name.py functions verify and get_config: T2649: Ensure configration mode scripts conform to coding guidelines.
Aug 11 2020, 1:04 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2784: Remove unused arg from host_name.py functions verify and get_config from Open to In progress.
Aug 11 2020, 1:04 AM · VyOS 1.3 Equuleus (1.3.0)

Aug 8 2020

jestabro committed rVYOSONEX98e5105de439: http api: T1431: update args of call to install-image.
Aug 8 2020, 9:53 PM
jestabro added a comment to T2100: BGP route adverisement wih checks rib.

FRR 7.4 has been released, and the default behaviour has been changed, commit 62282e8379. @Viacheslav, when we update to this version, I can work with you to update the migration script.

Aug 8 2020, 5:11 PM · VyOS 1.3 Equuleus (1.3.0-epa1)
jestabro changed the status of T2612: HTTPS API, changing API key fails but goes through from Confirmed to On hold.

As discussed in above comment, this is understandable behaviour, but will be re-investigated after the move to fastapi, re T2397.

Aug 8 2020, 3:57 PM · VyOS 1.3 Equuleus (1.3.7), VyOS 1.5 Circinus, VyOS 1.4 Sagitta
jestabro closed T1949: Multihop IPv6 BFD is unconfigurable as Resolved.
Aug 8 2020, 3:48 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jestabro changed the status of T1974: Allow route-map to set administrative distance from Unknown Status to Resolved.
Aug 8 2020, 3:46 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6), vyatta-cfg-quagga
jestabro closed T2501: Cannot recover from failed boot config load as Resolved.

Addressed in T2568.

Aug 8 2020, 3:40 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2497: Cache config string during commit as Resolved.

This was an early experiment which contributed some ideas towards T2582; closed as superseded by that task.

Aug 8 2020, 3:37 PM · VyOS 1.3 Equuleus (1.3.0)

Aug 6 2020

jestabro added a comment to T2688: add xml definition to router.

Discussion updated in PR 513.
https://github.com/vyos/vyos-1x/pull/513

Aug 6 2020, 3:25 PM

Jul 29 2020

jestabro changed the status of T2582: Script daemon to offload processing during commit from In progress to Needs testing.

What is here:

Jul 29 2020, 4:27 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 26 2020

jestabro added a project to T1185: Firewall rulesets are ignored in RFC-compliant VRRP setups: VyOS 1.2 Crux (VyOS 1.2.7).
Jul 26 2020, 9:21 PM
jestabro removed a project from T1185: Firewall rulesets are ignored in RFC-compliant VRRP setups: VyOS 1.2 Crux (VyOS 1.2.6).

This fix remains an open discussion with @zsdc and @Dmitry

Jul 26 2020, 9:20 PM
jestabro moved T1985: pppoe: Enable ipv6 modules without configured ipv6 pools from Backport Candidates to Finished on the VyOS 1.3 Equuleus board.
Jul 26 2020, 9:18 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jestabro changed the status of T1985: pppoe: Enable ipv6 modules without configured ipv6 pools from Unknown Status to Resolved.
Jul 26 2020, 9:18 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jestabro moved T1985: pppoe: Enable ipv6 modules without configured ipv6 pools from Needs Triage to Finished on the VyOS 1.2 Crux (VyOS 1.2.6) board.
Jul 26 2020, 9:17 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jestabro committed rVYOSONEX5660b07a0b95: pppoe-server: T1985: backport Enable ipv6 modules if ipv6 not denied.
Jul 26 2020, 9:16 PM
jestabro changed the status of T1853: wireguard - disable peer doesn't work , a subtask of T1851: wireguard - changing the pubkey on an existing peer seems to destroy the running config., from Unknown Status to Resolved.
Jul 26 2020, 6:59 PM · VyOS 1.2 Crux (VyOS 1.2.5)
jestabro changed the status of T1853: wireguard - disable peer doesn't work from Unknown Status to Resolved.
Jul 26 2020, 6:59 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro removed projects from T1853: wireguard - disable peer doesn't work : VyOS 1.2 Crux (VyOS 1.2.6), Ready for Crux (1.2.x).

This does not currently affect crux (perhaps it did at some point). The crux script logic precludes this bug; confirmed in testing.

Jul 26 2020, 6:57 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 22 2020

jestabro closed T2707: Allow alternative initialization data for Config, a subtask of T2582: Script daemon to offload processing during commit, as Resolved.
Jul 22 2020, 7:29 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2707: Allow alternative initialization data for Config as Resolved.
Jul 22 2020, 7:29 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 18 2020

jestabro closed T2689: Add helper functions to query changes between session and effective configs as Resolved.
Jul 18 2020, 3:30 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro edited a custom field on T2689: Add helper functions to query changes between session and effective configs.
Jul 18 2020, 3:29 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 17 2020

jestabro committed rVYOSONEXa64910c3c0e2: config: T2689: cache config_dict.
Jul 17 2020, 5:10 PM

Jul 16 2020

jestabro added a comment to T2707: Allow alternative initialization data for Config.

https://github.com/vyos/vyos-1x/pull/499

Jul 16 2020, 2:53 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 15 2020

jestabro committed rVYOSONEX305c0910f08c: xml: T2588: defaults should return gracefully on key error.
Jul 15 2020, 8:06 PM
jestabro changed the status of T2707: Allow alternative initialization data for Config, a subtask of T2582: Script daemon to offload processing during commit, from In progress to Needs testing.
Jul 15 2020, 6:22 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2707: Allow alternative initialization data for Config from In progress to Needs testing.

Final tests before PR.

Jul 15 2020, 6:22 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a subtask for T2582: Script daemon to offload processing during commit: T2707: Allow alternative initialization data for Config.
Jul 15 2020, 5:30 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2707: Allow alternative initialization data for Config: T2582: Script daemon to offload processing during commit.
Jul 15 2020, 5:30 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2707: Allow alternative initialization data for Config from Open to In progress.
Jul 15 2020, 5:30 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 14 2020

jestabro updated subscribers of T2689: Add helper functions to query changes between session and effective configs.

Current version linked below, as an example for further discussion. As these ideas have been circulating for a while, it is important to have examples to debunk/revise/reject. My guess is that one likely wants much less than this, and that @dmbaturin is quite right in his recent comment "we should not rely on diffs unless there's absolutely no other way to do it --- not just about computational expense, but also readability".

Jul 14 2020, 3:36 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 12 2020

jestabro changed the status of T1575: `show snmp mib ifmib` crashes with IndexError from Unknown Status to Resolved.
Jul 12 2020, 2:52 PM · VyOS 1.3 Equuleus (1.3.0), VyOS 1.2 Crux (VyOS 1.2.6)
jestabro committed rVYOSONEXeb6bfbd75bf6: snmp: T1575: Adding additional check for lspci (authored by Unknown Object (User)).
Jul 12 2020, 2:52 PM

Jul 8 2020

jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

@thomas-mangin I'm convinced: for get_child_nodes and get_node, we'll return a dict of respective dicts:

Jul 8 2020, 6:32 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 7 2020

jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

Okay, I like that video already ...

Jul 7 2020, 9:56 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

@thomas-mangin Firstly, I needed to write this version before reasonably debating the pros/cons of various approaches --- the important idea developed is that the use of get_sub_dict, and ability to return the sub_dict under the diff'ed nodes will allow a fluid use in writing conf_mode scripts --- beyond that, I am not particularly attached to any details of implementation, yet.

Jul 7 2020, 9:54 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

@thomas-mangin and @runar I do like the enum idea, however, this would add boilerplate to the conf_mode scripts, which would quickly become annoying in practice ... rather, common workflow just wants the actionable data (added, deleted) _and_ the ability to then access values under the node in question. Consequently, I'm following @runar 's suggestion of returning a tuple, combined with the return_as_dict arg to allow access to sub-data.

Jul 7 2020, 5:41 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

One forgotten point: get_config_diff obtains the config_dicts at root level, so any movement within/between sub-sections are available, with set_level.

Jul 7 2020, 4:02 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

It is true that get_config_dict is slow, so it should only be called once (twice for diff) per session. Consequently, the work flow will be:

Jul 7 2020, 3:55 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 6 2020

jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

So, as far as useful helper functions, one certainly wants:
get_child_nodes_changed(... path)
get_value_changed(... path)

Jul 6 2020, 7:08 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

@runar in fact, that's all one wants in current use case: has the list of elements, directly _under_ the specified node, changed? For example, (1) change of values (2) added or removed tag node entries.

Jul 6 2020, 7:01 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

Yes, I'm expanding all paths under the specified path

Jul 6 2020, 4:07 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro updated the task description for T2689: Add helper functions to query changes between session and effective configs.
Jul 6 2020, 3:25 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

Yes, I definitely prefer a return type of tuple ...

Jul 6 2020, 3:24 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

Regarding is_value_changed, I was thinking the other way around: get_value_changed returns None if no change, so is_value_changed would be redundant --- put good point: one may/will want both old and new values

Jul 6 2020, 3:11 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2689: Add helper functions to query changes between session and effective configs.

I am entirely open to suggestions here; the underlying functions support any such forms. Note however, that we want to distinguish between new/deleted paths and changed values --- one could treat these all as a difference in path, but it will be more convenient for use if we make the distinction ...

Jul 6 2020, 3:08 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2689: Add helper functions to query changes between session and effective configs from Open to In progress.
Jul 6 2020, 2:49 PM · VyOS 1.3 Equuleus (1.3.0)

Jul 3 2020

jestabro updated the task description for T2667: get_config_dict: Use utility function for non-empty path argument.
Jul 3 2020, 1:13 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2670: Remove dependency on show_config from get_config_dict as Resolved.
Jul 3 2020, 1:12 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2670: Remove dependency on show_config from get_config_dict, a subtask of T2667: get_config_dict: Use utility function for non-empty path argument, as Resolved.
Jul 3 2020, 1:12 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX05aa25573027: config_dict: update docstring.
Jul 3 2020, 1:12 PM
jestabro committed rVYOSONEX59bb297a37ae: config_dict: T2670: remove dependency on show_config.
Jul 3 2020, 1:12 PM

Jul 2 2020

jestabro added a subtask for T2667: get_config_dict: Use utility function for non-empty path argument: T2670: Remove dependency on show_config from get_config_dict.
Jul 2 2020, 1:21 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2670: Remove dependency on show_config from get_config_dict: T2667: get_config_dict: Use utility function for non-empty path argument.
Jul 2 2020, 1:21 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro created T2670: Remove dependency on show_config from get_config_dict.
Jul 2 2020, 1:21 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2668: get_config_dict: add get_first_key arg to utility function get_sub_dict, a subtask of T2667: get_config_dict: Use utility function for non-empty path argument, as Resolved.
Jul 2 2020, 1:47 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2668: get_config_dict: add get_first_key arg to utility function get_sub_dict as Resolved.
Jul 2 2020, 1:47 AM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEX3395cefd5af2: config_dict: T2668: move keyword arg get_first_key into get_sub_dict.
Jul 2 2020, 1:47 AM
jestabro committed rVYOSONEXb482e1d28b5f: config_dict: T2667: clarify docstring.
Jul 2 2020, 1:47 AM

Jul 1 2020

jestabro closed T2662: get_config_dict includes node name as key only for tag and leaf nodes as Resolved.

Addressed by T2667.

Jul 1 2020, 11:46 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2667: get_config_dict: Use utility function for non-empty path argument, a subtask of T2662: get_config_dict includes node name as key only for tag and leaf nodes, as Resolved.
Jul 1 2020, 11:45 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro closed T2667: get_config_dict: Use utility function for non-empty path argument as Resolved.
Jul 1 2020, 11:45 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro committed rVYOSONEXd5d4f68129fb: config: T2667: add missing flag.
Jul 1 2020, 8:43 PM
jestabro committed rVYOSONEXa088c20d20ec: config: T2667: add missing check.
Jul 1 2020, 7:55 PM
jestabro added a subtask for T2667: get_config_dict: Use utility function for non-empty path argument: T2668: get_config_dict: add get_first_key arg to utility function get_sub_dict.
Jul 1 2020, 7:22 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2668: get_config_dict: add get_first_key arg to utility function get_sub_dict: T2667: get_config_dict: Use utility function for non-empty path argument.
Jul 1 2020, 7:22 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro created T2668: get_config_dict: add get_first_key arg to utility function get_sub_dict.
Jul 1 2020, 7:22 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a subtask for T2662: get_config_dict includes node name as key only for tag and leaf nodes: T2667: get_config_dict: Use utility function for non-empty path argument.
Jul 1 2020, 6:55 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a parent task for T2667: get_config_dict: Use utility function for non-empty path argument: T2662: get_config_dict includes node name as key only for tag and leaf nodes.
Jul 1 2020, 6:55 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro moved T2667: get_config_dict: Use utility function for non-empty path argument from Need Triage to In Progress on the VyOS 1.3 Equuleus board.
Jul 1 2020, 6:39 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro updated the task description for T2667: get_config_dict: Use utility function for non-empty path argument.
Jul 1 2020, 6:39 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2667: get_config_dict: Use utility function for non-empty path argument.

https://github.com/vyos/vyos-1x/pull/486

Jul 1 2020, 6:37 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro changed the status of T2667: get_config_dict: Use utility function for non-empty path argument from Open to Needs testing.
Jul 1 2020, 6:24 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro renamed T2662: get_config_dict includes node name as key only for tag and leaf nodes from get_config_dict includes node as key only for tag and leaf nodes to get_config_dict includes node name as key only for tag and leaf nodes.
Jul 1 2020, 5:12 PM · VyOS 1.3 Equuleus (1.3.0)

Jun 30 2020

jestabro added a comment to T2662: get_config_dict includes node name as key only for tag and leaf nodes.

Okay, I will revise that: ... Consequently it returns None for nonsensical input and {} for non-existent paths ...

Jun 30 2020, 4:05 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro added a comment to T2662: get_config_dict includes node name as key only for tag and leaf nodes.

The reason to return the data indexed by a node name: leaf nodes; the data is not a dict. If one wants consistency, then data of a node is returned indexed. This function does one specific thing: return a sub-dictionary from a dictionary, so

Jun 30 2020, 3:44 PM · VyOS 1.3 Equuleus (1.3.0)
jestabro updated the task description for T2662: get_config_dict includes node name as key only for tag and leaf nodes.
Jun 30 2020, 2:04 AM · VyOS 1.3 Equuleus (1.3.0)