Description
MAC addresses are not correctly checked when adding a virtual network address range with a defined MAC range
To Reproduce
Executing a command like the following
onevnet addar ${VNET_ID} -m 2001:db8:1:1::1 -s 100
Would result in the creation of an address range like the following
AR 1
SIZE : 100
LEASES : 0
RANGE FIRST LAST
MAC 2001:db8:1:1::1 0e:b8:01:01:01:64
Expected behavior
There should be an error when not adding a valid MAC address
Details
- Affected Component: core
- Version: All versions tested
Additional context
It may be good that the 00:00:00:00:00:00 and the FF:FF:FF:FF:FF:FF MAC addresses should be checked, as well (mainly FF:FF:FF:FF:FF:FF )
Progress Status
Description
MAC addresses are not correctly checked when adding a virtual network address range with a defined MAC range
To Reproduce
Executing a command like the following
Would result in the creation of an address range like the following
Expected behavior
There should be an error when not adding a valid MAC address
Details
Additional context
It may be good that the
00:00:00:00:00:00and theFF:FF:FF:FF:FF:FFMAC addresses should be checked, as well (mainlyFF:FF:FF:FF:FF:FF)Progress Status