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 GitHub
parent 738de2dcab
commit 68dfbfaf2a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;
}
}
@ -167,7 +168,7 @@ module sonic-types {
}
typedef meter_type {
type enumeration {
enum packets;
enum packets;
enum bytes;
}
}
@ -183,5 +184,5 @@ module sonic-types {
enum deny;
enum transit;
}
}
}
}