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

Version
1.3-rolling-20200803
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

c-po claimed this task.
c-po triaged this task as Urgent! priority.
c-po edited a custom field.
c-po edited a custom field.
c-po changed Is it a breaking change? from Config syntax change (migratable) to Perfectly compatible.
erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:35 PM
erkin removed a subscriber: Global Notifications.