import helm charts from sdran-helm-charts
- Fixed licensing issues
Change-Id: Ib4f726a6359e340884d329a801eb0b498d7bbb38
diff --git a/config-models/aether-2.x/files/yang/enterprise.yang b/config-models/aether-2.x/files/yang/enterprise.yang
new file mode 100755
index 0000000..38cb4b8
--- /dev/null
+++ b/config-models/aether-2.x/files/yang/enterprise.yang
@@ -0,0 +1,73 @@
+// SPDX-FileCopyrightText: 2021 Open Networking Foundation
+//
+// SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
+
+module enterprise {
+ namespace "http://opennetworking.org/aether/enterprise";
+ prefix ent;
+
+ import connectivity-service { prefix cs; }
+
+ organization "Open Networking Foundation.";
+ contact "Scott Baker";
+ description "To generate JSON from this use command
+ pyang -f jtoxx test1.yang | python3 -m json.tool > test1.json
+ Copied from YangUIComponents project";
+
+ revision "2020-11-30" {
+ description "An Aether Enterprise. Used to distinguish ownership of devices and other resources as well as a domain of configuration.";
+ reference "RFC 6087";
+ }
+
+ typedef enterprise-id {
+ type string {
+ length 1..32;
+ }
+ }
+
+ container enterprise {
+ description "The top level container";
+
+ list enterprise {
+ key "id";
+ description
+ "List of enterprises";
+
+ leaf id {
+ type enterprise-id;
+ description "ID for this enterprise.";
+ }
+
+ leaf display-name {
+ type string {
+ length 1..80;
+ }
+ description "display name to use in GUI or CLI";
+ }
+
+ leaf description {
+ type string {
+ length 1..100;
+ }
+ description "description of this enterprise";
+ }
+
+ list connectivity-service {
+ key "connectivity-service";
+ leaf connectivity-service {
+ type leafref {
+ path "/cs:connectivity-service/cs:connectivity-service/cs:id";
+ }
+ description
+ "Link to connectivity services where configuration should be pushed for this enterprise's devices";
+ }
+ leaf enabled {
+ type boolean;
+ default true;
+ description
+ "Allow or disallow pushes to this connectivity service";
+ }
+ }
+ }
+ }
+}