diff options
| author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-07-06 18:21:50 +0200 |
|---|---|---|
| committer | Dimitri Staessens <dimitri@ouroboros.rocks> | 2026-07-06 18:21:50 +0200 |
| commit | d25ebc6f1f1173e11d71fcb6e620f5157f43a916 (patch) | |
| tree | 3e6439aa69659de204a653219e82fbbd7209471b | |
| parent | 413a2f22d9c8ef322ea6f1f4aeb6877e9cb481e5 (diff) | |
| download | rumba-d25ebc6f1f1173e11d71fcb6e620f5157f43a916.tar.gz rumba-d25ebc6f1f1173e11d71fcb6e620f5157f43a916.zip | |
rumba: Add link-state timer config to IrmPython
Now experiments can tune the link-state routing update and recalc
timers.
Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks>
| -rw-r--r-- | rumba/irm_backend.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/rumba/irm_backend.py b/rumba/irm_backend.py index 9e76158..2550884 100644 --- a/rumba/irm_backend.py +++ b/rumba/irm_backend.py @@ -307,6 +307,10 @@ class IrmPython(IrmBackend): } if pol in pol_map: ls_kwargs['pol'] = pol_map[pol] + elif comp == 'ls_t_update': + ls_kwargs['t_update'] = int(pol) + elif comp == 'ls_t_recalc': + ls_kwargs['t_recalc'] = int(pol) if ls_kwargs: routing_kwargs['ls'] = cli.LinkStateConfig(**ls_kwargs) |
