Page MenuHomeVyOS Platform

router-advert: 'infinity' is not a valid integer number
Closed, ResolvedPublicBUG

Description

After adding a validator in https://github.com/vyos/vyos-1x/commit/740ace13f36b78583434eabfbd324cf3d29e909d#diff-2e443a3ad946b9aac32fbe9d29f8e119

'infinity' can no longer be set.

set service router-advert interface eth0 default-lifetime '1800'
set service router-advert interface eth0 default-preference 'high'
set service router-advert interface eth0 hop-limit '64'
set service router-advert interface eth0 interval max '30'
set service router-advert interface eth0 link-mtu '1500'
set service router-advert interface eth0 name-server '2001:db8:200::1'
set service router-advert interface eth0 name-server '2001:db8:200::2'
set service router-advert interface eth0 prefix 2001:db8:200:50::/64 valid-lifetime 'infinity'
set service router-advert interface eth0 reachable-time '0'
set service router-advert interface eth0 retrans-timer '0'

It used to work in VyOS 1.3-rolling-202006150117

Details

Difficulty level
Easy (less than an hour)
Version
1.3-rolling-20200803
Why the issue appeared?
Implementation mistake
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po created this task.
c-po triaged this task as Unbreak Now! priority.
c-po changed Difficulty level from Unknown (require assessment) to Easy (less than an hour).
c-po changed Why the issue appeared? from Will be filled on close to Implementation mistake.
c-po changed Is it a breaking change? from Config syntax change (migratable) to Perfectly compatible.
erkin set Issue type to Bug (incorrect behavior).Sun, Aug 29, 1:35 PM
erkin removed a subscriber: Active contributors.