added-yang-linter-and-resolved-all-error-produced-by it
Change-Id: Iba95a07bb1ed6230b9a900448bf294355a58285c
diff --git a/config-models/aether-2.2.x/files/yang/aether-subscriber.yang b/config-models/aether-2.2.x/files/yang/aether-subscriber.yang
index 30f3e52..5cfa67e 100755
--- a/config-models/aether-2.2.x/files/yang/aether-subscriber.yang
+++ b/config-models/aether-2.2.x/files/yang/aether-subscriber.yang
@@ -11,7 +11,7 @@
import up-profile{ prefix up; }
import access-profile{ prefix ap; }
import security-profile{ prefix sec; }
- import enterprise{ prefix ent; }
+ import enterprise{ prefix ent; }
import ietf-yang-types{ prefix ietf; }
organization "Open Networking Foundation.";
@@ -29,18 +29,21 @@
type uint32 {
range 0..999;
}
+ description "The typede for mcc";
}
typedef mnc {
type uint32 {
range 0..999;
}
+ description "The typede for mnc";
}
typedef tac {
type uint32 {
range 0..99999999;
}
+ description "The typede for tac";
}
container subscriber {
@@ -52,8 +55,8 @@
"List of subscriber devices";
leaf id {
- description "identifier for this subscriber, typically a UUID";
type ietf:uuid;
+ description "identifier for this subscriber, typically a UUID";
}
leaf display-name {
@@ -61,7 +64,7 @@
length 1..80;
}
description "display name to use in GUI or CLI";
- }
+ }
choice imsi {
case wildcard {
@@ -69,16 +72,20 @@
type string {
length 1..15;
}
+ description "The leaf for imsi-wildcard";
}
}
case range {
leaf imsi-range-from {
type uint64;
+ description "The leaf for imsi-range-from";
}
leaf imsi-range-to {
type uint64;
+ description "The leaf for imsi-range-to";
}
}
+ description "The choise for imsi";
}
container serving-plmn {
@@ -94,6 +101,7 @@
type tac;
description "type allocation code";
}
+ description "The container for serving-plmn";
}
leaf requested-apn {
@@ -122,7 +130,7 @@
leaf enterprise {
type leafref {
path "/ent:enterprise/ent:enterprise/ent:id";
- }
+ }
description
"Link to enterprise that owns this UE range";
}
@@ -138,14 +146,14 @@
leaf up-profile {
type leafref {
path "/up:up-profile/up:up-profile/up:id";
- }
+ }
description
"Link to user plane profile";
}
leaf qos-profile {
type leafref {
path "/qos:qos-profile/qos:qos-profile/qos:id";
- }
+ }
description
"Link to qos profile";
}
@@ -154,7 +162,7 @@
leaf access-profile {
type leafref {
path "/ap:access-profile/ap:access-profile/ap:id";
- }
+ }
description
"Link to access profile";
}
@@ -164,15 +172,17 @@
description
"Allow or disallow this ue to use this access profile";
}
+ description "The list for access-profile";
}
leaf security-profile {
type leafref {
path "/sec:security-profile/sec:security-profile/sec:id";
- }
+ }
description
"Link to security profile";
}
+ description "The container for profiles";
}
}
- }
+ }
}