Allow interface type value none (#9098)

This PR allow user to set none value to interface type. So there is a way to achieve the goal via CLI:

config interface type XXX none
config interface speed XXX 10000
config interface type XXX CR
This commit is contained in:
Junchao-Mellanox 2021-11-06 10:09:14 +08:00 committed by Judy Joseph
parent d627587377
commit 3a8807e72f

View File

@ -129,7 +129,7 @@ module sonic-types {
enum UDP;
}
}
typedef interface_type {
type enumeration {
enum CR;
@ -151,6 +151,7 @@ module sonic-types {
enum XAUI;
enum XFI;
enum XGMII;
enum none;
}
}
@ -162,7 +163,7 @@ module sonic-types {
typedef meter_type {
type enumeration {
enum packets;
enum packets;
enum bytes;
}
}
@ -178,5 +179,5 @@ module sonic-types {
enum deny;
enum transit;
}
}
}
}