Aether-3082 Move PTR inside of slice
Also made MBR/GBR a choice
And changed "id"s to a consistent naming scheme
Made a grouping for "description" and "display-name"
Change-Id: I99492fd371a687469a08f1216b2cd729cc940fd4
diff --git a/config-models/aether-2.0.x/files/yang/onf-application.yang b/config-models/aether-2.0.x/files/yang/onf-application.yang
index c81c501..31aa19d 100755
--- a/config-models/aether-2.0.x/files/yang/onf-application.yang
+++ b/config-models/aether-2.0.x/files/yang/onf-application.yang
@@ -39,26 +39,16 @@
description "The application grouping";
list application {
- key "app-id";
+ key "application-id";
description
"List of applications";
- leaf app-id {
+ leaf application-id {
type application-id;
description "ID for this application.";
}
- leaf display-name {
- type string {
- length 1..80;
- }
- description "display name to use in GUI or CLI";
- }
-
- leaf description {
- type at:description;
- description "description of this application";
- }
+ uses at:desc-display-name;
leaf address {
type ietf:host;
@@ -74,6 +64,9 @@
description
"Id of this endpoint";
}
+
+ uses at:desc-display-name;
+
leaf port-start {
type ietf:port-number;
description
@@ -105,17 +98,12 @@
}
leaf traffic-class {
type leafref {
- path "../../../traffic-class/tc-id";
+ path "../../../traffic-class/traffic-class-id";
}
description
"Link to traffic class";
}
- leaf display-name {
- type string {
- length 1..80;
- }
- description "display name to use in GUI or CLI";
- }
+
description "list for endpoint";
}
}