summaryrefslogtreecommitdiffhomepage
path: root/tools/pyang_plugins/gobgp.yang
diff options
context:
space:
mode:
Diffstat (limited to 'tools/pyang_plugins/gobgp.yang')
-rw-r--r--tools/pyang_plugins/gobgp.yang12
1 files changed, 11 insertions, 1 deletions
diff --git a/tools/pyang_plugins/gobgp.yang b/tools/pyang_plugins/gobgp.yang
index 06b545af..25672ad4 100644
--- a/tools/pyang_plugins/gobgp.yang
+++ b/tools/pyang_plugins/gobgp.yang
@@ -672,7 +672,17 @@ module gobgp {
}
leaf admin-state {
- type string;
+ type enumeration {
+ enum UP {
+ description "admin state is up";
+ }
+ enum DOWN {
+ description "admin state is down";
+ }
+ enum PFX_CT {
+ description "prefix counter over limit";
+ }
+ }
}
leaf established-count {