iface: Include VRF as support type

We accidentally forgot VRF as supported type.
The existing VRF test was skipped by CI hence not been found initially.

Manually run the test in RHEL host works well.

Signed-off-by: Gris Ge <fge@redhat.com>
This commit is contained in:
Gris Ge 2022-12-15 17:11:07 +08:00
parent dce5073432
commit 3c88135d59

View File

@ -259,7 +259,7 @@ impl Interface {
}
impl InterfaceType {
pub(crate) const SUPPORTED_LIST: [InterfaceType; 13] = [
pub(crate) const SUPPORTED_LIST: [InterfaceType; 14] = [
InterfaceType::Bond,
InterfaceType::LinuxBridge,
InterfaceType::Dummy,
@ -273,5 +273,6 @@ impl InterfaceType {
InterfaceType::Vxlan,
InterfaceType::InfiniBand,
InterfaceType::Loopback,
InterfaceType::Vrf,
];
}