AETHER-2464, AETHER-2467 Make DG Qos Mandatoy; Add allow-internet boolean
Change-Id: I5ee6e8b384aa062b73aad7774ce072f3e9379ae5
diff --git a/config-models/aether-4.x/files/yang/onf-template.yang b/config-models/aether-4.x/files/yang/onf-template.yang
index 7d05600..0ab16a3 100755
--- a/config-models/aether-4.x/files/yang/onf-template.yang
+++ b/config-models/aether-4.x/files/yang/onf-template.yang
@@ -8,7 +8,6 @@
import ietf-yang-types{ prefix yg; }
import onf-aether-types{ prefix at; }
- import onf-traffic-class{ prefix tc; }
organization "Open Networking Foundation.";
contact "Scott Baker";
@@ -17,7 +16,7 @@
by a virtual connectivity service. Templates are used to
populate a VCS.";
- revision "2021-06-02" {
+ revision "2021-09-10" {
description "An Aether Virtual Cellular Service Template";
reference "RFC 6087";
}
@@ -58,24 +57,6 @@
description "Slice differentiator";
}
- container device {
- description "Per-device QOS Settings";
- container mbr {
- description "Maximum bitrate";
- leaf uplink {
- type at:bitrate;
- units bps;
- description "Per-device mbr uplink data rate in mbps";
- }
-
- leaf downlink {
- type at:bitrate;
- units bps;
- description "Per-device mbr downlink data rate in mbps";
- }
- }
- }
-
container slice {
description "Per-Slice QOS Settings";
container mbr {
@@ -92,15 +73,14 @@
description "Per-Slice mbr downlink data rate in mbps";
}
}
- }
+ }
- leaf traffic-class {
- type leafref {
- path "/tc:traffic-class/tc:traffic-class/tc:id";
- }
+ leaf default-behavior {
+ type at:behavior;
+ mandatory true;
description
- "Link to traffic class";
- }
+ "Default behavior if no filter rules match";
+ }
leaf description {
type at:description;