Page MenuHomePhabricator

Creating VXLAN missing commit validation for group + link
Closed, ResolvedPublic

Description

When creating a VXLAN interface, specifying a group also requires setting a link interface but this is not checked for when commiting and gives the following error instead

[ interfaces vxlan vxlan0 ]
vxlan: 'group' requires 'dev' to be specified
Cannot find device "vxlan0"

unlike, for example, setting a BGP peer without a remote AS number which shows a error and quits the commit

[ protocols bgp 1 neighbor 192.168.0.1 ]

must set remote-as or peer-group with remote-as defined

Details

Difficulty level
Unknown (require assessment)
Version
VyOS 1.2.0-rolling+201811150337
Why the issue appeared?
Will be filled on close