added-yang-linter-and-resolved-all-error-produced-by it
Change-Id: Iba95a07bb1ed6230b9a900448bf294355a58285c
diff --git a/config-models/aether-2.2.x/files/yang/service-rule.yang b/config-models/aether-2.2.x/files/yang/service-rule.yang
index 5dce127..efb0539 100755
--- a/config-models/aether-2.2.x/files/yang/service-rule.yang
+++ b/config-models/aether-2.2.x/files/yang/service-rule.yang
@@ -21,6 +21,7 @@
type string {
length 1..32;
}
+ description "The typedef for service-rule-id";
}
container service-rule {
@@ -64,11 +65,11 @@
leaf priority {
type uint32 {
range 0..15;
- }
+ }
default 0;
description
"Priority";
- }
+ }
leaf preemption-capability {
type boolean;
default true;
@@ -89,8 +90,8 @@
type uint32 {
range 0..4294967295;
}
- default 0;
units bps;
+ default 0;
description
"Upstream maximum requested bandwidth";
}
@@ -98,11 +99,12 @@
type uint32 {
range 0..4294967295;
}
- default 0;
units bps;
+ default 0;
description
"Downstream maximum requested bandwidth";
- }
+ }
+ description "The container for maximum-requested-bandwidth";
}
container guaranteed-bitrate {
@@ -110,8 +112,8 @@
type uint32 {
range 0..4294967295;
}
- default 0;
units bps;
+ default 0;
description
"Upstream guaranteed bitrate";
}
@@ -119,11 +121,12 @@
type uint32 {
range 0..4294967295;
}
- default 0;
units bps;
+ default 0;
description
"Downstream guaranteed bitrate";
- }
+ }
+ description "The container for guaranteed-bitrate";
}
container aggregate-maximum-bitrate {
@@ -131,8 +134,8 @@
type uint32 {
range 0..4294967295;
}
- default 0;
units bps;
+ default 0;
description
"Upstream aggregate maximum bitrate";
}
@@ -140,14 +143,16 @@
type uint32 {
range 0..4294967295;
}
- default 0;
units bps;
+ default 0;
description
"Downstream aggregate maximum bitrate";
- }
+ }
+ description "The container for aggregate-maximum-bitrate";
}
+ description "The container for qos";
}
-
+
container flow {
leaf specification {
type string {
@@ -155,6 +160,7 @@
}
description "specification of this flow";
}
+ description "The container for flow";
}
leaf description {
@@ -162,7 +168,7 @@
length 1..100;
}
description "description of this rule";
- }
+ }
}
- }
+ }
}