blob: f5ca075feca66a8df78ee4543ce16d19f34020a4 [file] [log] [blame]
Scott Bakerc9d3d842021-09-17 11:32:53 -07001// SPDX-FileCopyrightText: 2021 Open Networking Foundation
2//
3// SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0
4
5module onf-connectivity-service {
6 namespace "http://opennetworking.org/aether/connectivity-service";
7 prefix cs;
8
9 import ietf-inet-types { prefix inet; }
10 import ietf-yang-types{ prefix yg; }
11 import onf-aether-types { prefix at; }
12
13 organization "Open Networking Foundation.";
14 contact "Scott Baker";
15 description
16 "An Aether Connectivity service is the linkage between the
17 ROC and a core that provides connectivity.";
18
19 revision "2021-06-02" {
20 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.";
21 reference "RFC 6087";
22 }
23
24 typedef connectivity-service-id {
25 type yg:yang-identifier {
26 length 1..32;
27 }
28 }
29
30 container connectivity-service {
31 description "The top level container";
32
33 list connectivity-service {
34 key "id";
35 description
36 "List of connectivity services";
37
38 leaf id {
39 type connectivity-service-id;
40 description "ID for this connectivity service.";
41 }
42
43 leaf display-name {
44 type string {
45 length 1..80;
46 }
47 description "display name to use in GUI or CLI";
48 }
49
50 leaf description {
51 type at:description;
52 description "description of this connectivity service";
53 }
54
55 leaf spgwc-endpoint {
56 type inet:uri;
57 description "url of the spgwc service";
58 }
59
60 leaf hss-endpoint {
61 type inet:uri;
62 description "url of the hss service";
63 }
64
65 leaf pcrf-endpoint {
66 type inet:uri;
67 description "url of the pcrf service";
68 }
69
70 leaf core-5g-endpoint {
71 type inet:uri;
72 description "url of the 5g core";
73 }
74 }
75 }
76}