Page MenuHomeVyOS Platform

ISIS: lsp-refresh-interval does not accept higher value other than default 900
Open, NormalPublicBUG

Description

When setting the lsp-refresh-interval higher than 900 value then the commit fails as the condiftion seems to always compare with the default value 1200 even though setting up a higher value for max-lsp-lifetime :

 [6010|mgmtd] done % Configuration failed.  Error type: validation Error
description: YANG error(s):  Must condition ". >= ../refresh-interval +
300" not satisfied.  YANG path: Data location "/frr-
isisd:isis/instance[area-
tag='VyOS'][vrf='default']/lsp/timers/level-1/maximum-lifetime".  line
6: Failure to communicate[13] to isisd, line:  lsp-refresh-interval
65235  [6022|babeld] done [6013|ripngd] done [6028|bfdd] done

Full error:

vyos@vyos# commit

[6010|mgmtd] sending configuration [6011|zebra] sending configuration
[6012|ripd] sending configuration [6013|ripngd] sending configuration
[6014|ospfd] sending configuration [6015|ospf6d] sending configuration
[6017|bgpd] sending configuration [6018|isisd] sending configuration
[6016|ldpd] sending configuration Waiting for children to finish
applying config... [6027|staticd] sending configuration [6028|bfdd]
sending configuration [6022|babeld] sending configuration [6031|pim6d]
sending configuration [6025|watchfrr] sending configuration
[6015|ospf6d] done [6012|ripd] done [6011|zebra] done [6017|bgpd] done
[6010|mgmtd] done % Configuration failed.  Error type: validation Error
description: YANG error(s):  Must condition ". >= ../refresh-interval +
300" not satisfied.  YANG path: Data location "/frr-
isisd:isis/instance[area-
tag='VyOS'][vrf='default']/lsp/timers/level-1/maximum-lifetime".  line
6: Failure to communicate[13] to isisd, line:  lsp-refresh-interval
65235  [6022|babeld] done [6013|ripngd] done [6028|bfdd] done
[6031|pim6d] done [6027|staticd] done [6018|isisd] Configuration
file[/etc/frr/frr.conf] processing failure: 13 [6016|ldpd] done
[6025|watchfrr] done [6014|ospfd] done [6035|mgmtd] sending
configuration [6036|zebra] sending configuration [6037|ripd] sending
configuration [6038|ripngd] sending configuration [6040|ospf6d] sending
configuration [6041|ldpd] sending configuration [6039|ospfd] sending
configuration [6042|bgpd] sending configuration [6043|isisd] sending
configuration [6050|watchfrr] sending configuration [6047|babeld]
sending configuration Waiting for children to finish applying config...
[6052|staticd] sending configuration [6053|bfdd] sending configuration
[6056|pim6d] sending configuration [6035|mgmtd] done [6037|ripd] done
[6047|babeld] done [6039|ospfd] done [6040|ospf6d] done [6042|bgpd] done
[6036|zebra] done [6056|pim6d] done [6052|staticd] done [6038|ripngd]
done [6041|ldpd] done [6050|watchfrr] done [6053|bfdd] done [6043|isisd]
done

[[protocols isis]] failed
Commit failed
[edit]
vyos@vyos# compare
[protocols isis]
+ lsp-refresh-interval "65235"
+ max-lsp-lifetime "65535"

Values seems to be set in FRR and also accepts the values when set directly:

router isis VyOS
 net 49.0000.0000.0000.0001.00
 lsp-timers gen-interval 30 refresh-interval 65235 max-lifetime 65535

Reference Note:

You can change the LSP refresh interval or the LSP lifetime. The LSP refresh interval should be less than the LSP lifetime or else LSPs will time out before they are refreshed.

https://docs.vyos.io/en/1.4/configuration/protocols/isis.html#cfgcmd-set-protocols-isis-max-lsp-lifetime-seconds

Details

Version
1.4.4
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)