blob: 61a453e6224a4c8bb3637d1e4d0e5deaa857c840 [file] [log] [blame]
Scott Bakerc9d3d842021-09-17 11:32:53 -07001// SPDX-FileCopyrightText: 2021 Open Networking Foundation
2//
Sean Condon160ec1d2022-02-08 12:58:25 +00003// SPDX-License-Identifier: Apache-2.0
Scott Bakerc9d3d842021-09-17 11:32:53 -07004
Scott Bakerfdbad762022-01-03 16:00:45 -08005module onf-enterprise {
Scott Bakerc9d3d842021-09-17 11:32:53 -07006 namespace "http://opennetworking.org/aether/enterprise";
7 prefix ent;
8
Scott Bakerfdbad762022-01-03 16:00:45 -08009 import onf-aether-types { prefix at; }
10 import onf-connectivity-service { prefix cs; }
Scott Bakerc9d3d842021-09-17 11:32:53 -070011
Sean Condon11d6f422022-01-14 13:02:03 +000012 include onf-site;
13 include onf-upf;
Sean Condon24297da2022-01-27 09:50:34 +000014 include onf-slice;
Sean Condon11d6f422022-01-14 13:02:03 +000015 include onf-device-group;
16 include onf-ip-domain;
17 include onf-application;
Scott Baker4fb4ba92022-01-14 13:52:01 -080018 include onf-sim-card;
Sean Condon11d6f422022-01-14 13:02:03 +000019 include onf-traffic-class;
20 include onf-template;
Scott Baker4fb4ba92022-01-14 13:52:01 -080021 include onf-device;
22 include onf-priority-traffic-rule;
Sean Condon11d6f422022-01-14 13:02:03 +000023
Scott Bakerc9d3d842021-09-17 11:32:53 -070024 organization "Open Networking Foundation.";
25 contact "Scott Baker";
Scott Bakerfdbad762022-01-03 16:00:45 -080026 description
27 "An Aether Enterprise is an administration entity that
28 has ownership of resrouces.";
Scott Bakerc9d3d842021-09-17 11:32:53 -070029
Scott Baker4fb4ba92022-01-14 13:52:01 -080030 revision "2022-01-19" {
31 description "Sim-card, Device, and Priority-Traffic-Rule Support";
32 reference "RFC 6020";
33 }
34
Sean Condon11d6f422022-01-14 13:02:03 +000035 revision "2022-01-14" {
36 description "Refactored to work with submodules";
37 reference "RFC 6020";
38 }
39
Scott Bakerfdbad762022-01-03 16:00:45 -080040 revision "2021-06-02" {
Scott Bakerc9d3d842021-09-17 11:32:53 -070041 description "An Aether Enterprise. Used to distinguish ownership of devices and other resources as well as a domain of configuration.";
42 reference "RFC 6087";
43 }
44
45 typedef enterprise-id {
Scott Baker40a79562022-02-16 15:04:50 -080046 type at:aether-identifier;
47 description "The typedef for enterprise-id";
Scott Bakerc9d3d842021-09-17 11:32:53 -070048 }
49
Sean Condon11d6f422022-01-14 13:02:03 +000050 container enterprises {
51 description "The top level enterprises container";
Scott Bakerc9d3d842021-09-17 11:32:53 -070052
53 list enterprise {
Sean Condon9f7966e2022-02-03 10:55:06 +000054 key "enterprise-id";
Scott Bakerc9d3d842021-09-17 11:32:53 -070055 description
56 "List of enterprises";
57
Sean Condon9f7966e2022-02-03 10:55:06 +000058 leaf enterprise-id {
Scott Bakerc9d3d842021-09-17 11:32:53 -070059 type enterprise-id;
60 description "ID for this enterprise.";
61 }
62
Sean Condon9f7966e2022-02-03 10:55:06 +000063 uses at:desc-display-name;
Scott Bakerc9d3d842021-09-17 11:32:53 -070064
65 list connectivity-service {
66 key "connectivity-service";
67 leaf connectivity-service {
68 type leafref {
Sean Condon9f7966e2022-02-03 10:55:06 +000069 path "/cs:connectivity-services/cs:connectivity-service/cs:connectivity-service-id";
PUSHP RAJba2e32f2021-11-02 10:39:24 +000070 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070071 description
72 "Link to connectivity services where configuration should be pushed for this enterprise's devices";
73 }
74 leaf enabled {
75 type boolean;
76 default true;
77 description
78 "Allow or disallow pushes to this connectivity service";
79 }
Scott Bakerfdbad762022-01-03 16:00:45 -080080 description "The list for connectivity-service";
PUSHP RAJba2e32f2021-11-02 10:39:24 +000081 }
Sean Condon11d6f422022-01-14 13:02:03 +000082
83 uses application;
84
85 uses traffic-class;
86
87 uses template;
88
89 uses site;
Scott Bakerc9d3d842021-09-17 11:32:53 -070090 }
PUSHP RAJba2e32f2021-11-02 10:39:24 +000091 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070092}