Skip to content

[Yang model] Allow user to set none value for interface type #9098

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions src/sonic-yang-models/yang-models/sonic-types.yang
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ module sonic-types {
enum UDP;
}
}

typedef interface_type {
type enumeration {
enum CR;
Expand All @@ -151,6 +151,7 @@ module sonic-types {
enum XAUI;
enum XFI;
enum XGMII;
enum none;
}
}

Expand All @@ -167,7 +168,7 @@ module sonic-types {
}
typedef meter_type {
type enumeration {
enum packets;
enum packets;
enum bytes;
}
}
Expand All @@ -183,5 +184,5 @@ module sonic-types {
enum deny;
enum transit;
}
}
}
}