Page MenuHomePhabricator

Decimal notation on OSPFv3 passes validation but fails commit.
Closed, ResolvedPublicBUG

Description

From the help:

# set protocols ospfv3 area
Possible completions:
 > <0-4294967295>
                OSPFv3 area in decimal notation
 > <x.x.x.x>    OSPFv3 area in dotted decimal notation

The validation for decimal notation passes, but fails to commit

vyos@vyos# set protocols ospfv3 area 1234 interface eth0
[edit]
vyos@vyos# commit
[ protocols ospfv3 area 1234 interface eth0 ]
% Unknown command: interface eth0 area 1234

[[protocols ospfv3]] failed
Commit failed

The dotted notation works as expected:

vyos@vyos# set protocols ospfv3 area 123.123.123.123 interface eth0
[edit]
vyos@vyos# commit
[edit]
vyos@vyos#

Details

Difficulty level
Unknown (require assessment)
Version
1.2.0-rc6
Why the issue appeared?
Will be filled on close
kroy created this task.Nov 8 2018, 4:52 PM
kroy updated the task description. (Show Details)
syncer triaged this task as Low priority.Nov 9 2018, 12:50 PM
syncer edited projects, added VyOS 1.2.x (VyOS 1.2.0-rc8); removed VyOS 1.2.x.
dmbaturin closed this task as Resolved.Sun, Nov 25, 8:13 PM
dmbaturin claimed this task.
dmbaturin added a subscriber: dmbaturin.

This issue existed in Quagga as well, so I'm simply disallowing decimal notation.