blob: 20bda31cb1b9cf826dce4f62c2908a6d50899636 [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-connectivity-service {
Scott Bakerc9d3d842021-09-17 11:32:53 -07006 namespace "http://opennetworking.org/aether/connectivity-service";
7 prefix cs;
8
9 import ietf-inet-types { prefix inet; }
Scott Bakerfdbad762022-01-03 16:00:45 -080010 import onf-aether-types { prefix at; }
Scott Bakerc9d3d842021-09-17 11:32:53 -070011
12 organization "Open Networking Foundation.";
13 contact "Scott Baker";
Scott Bakerfdbad762022-01-03 16:00:45 -080014 description
15 "An Aether Connectivity service is the linkage between the
16 ROC and a core that provides connectivity.";
Scott Bakerc9d3d842021-09-17 11:32:53 -070017
Sean Condon11d6f422022-01-14 13:02:03 +000018 revision "2022-01-14" {
19 description "Renamed top level container as plural";
20 reference "RFC 6020";
21 }
22
Scott Bakerfdbad762022-01-03 16:00:45 -080023 revision "2021-10-21" {
Scott Bakerc9d3d842021-09-17 11:32:53 -070024 description "An Aether Connectivity Service. Specifies the endpoints where the sdcore-adapter should push configuration to. A single connectivity service may be attached to multiple Enterprises.";
25 reference "RFC 6087";
26 }
27
28 typedef connectivity-service-id {
Scott Baker40a79562022-02-16 15:04:50 -080029 type at:aether-identifier;
30 description "The typedef for connectivity-service-id";
Scott Bakerc9d3d842021-09-17 11:32:53 -070031 }
32
Sean Condon11d6f422022-01-14 13:02:03 +000033 container connectivity-services {
34 description "The connectivity-services top level container";
Scott Bakerc9d3d842021-09-17 11:32:53 -070035
36 list connectivity-service {
Sean Condon9f7966e2022-02-03 10:55:06 +000037 key "connectivity-service-id";
Scott Bakerc9d3d842021-09-17 11:32:53 -070038 description
39 "List of connectivity services";
40
Sean Condon9f7966e2022-02-03 10:55:06 +000041 leaf connectivity-service-id {
Scott Bakerc9d3d842021-09-17 11:32:53 -070042 type connectivity-service-id;
43 description "ID for this connectivity service.";
44 }
45
Sean Condon9f7966e2022-02-03 10:55:06 +000046 uses at:desc-display-name;
Scott Bakerc9d3d842021-09-17 11:32:53 -070047
Scott Bakerfdbad762022-01-03 16:00:45 -080048 leaf core-5g-endpoint {
Scott Bakerc9d3d842021-09-17 11:32:53 -070049 type inet:uri;
Scott Bakerfdbad762022-01-03 16:00:45 -080050 description "url of the 5g core";
Scott Bakerc9d3d842021-09-17 11:32:53 -070051 }
52
Scott Bakerfdbad762022-01-03 16:00:45 -080053 leaf acc-prometheus-url {
54 type inet:uri;
55 description
56 "URL of ACC prometheus";
PUSHP RAJba2e32f2021-11-02 10:39:24 +000057 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070058 }
PUSHP RAJba2e32f2021-11-02 10:39:24 +000059 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070060}