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:
parent
738de2dcab
commit
68dfbfaf2a
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user