blob: 0d6e929022d57141ec7ed50f48291e2c6446389c [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
5module connectivity-service {
6 namespace "http://opennetworking.org/aether/connectivity-service";
7 prefix cs;
8
9 import aether-types { prefix at; }
10 import ietf-inet-types { prefix inet; }
11 import ietf-yang-types{ prefix yg; }
12
13 organization "Open Networking Foundation.";
14 contact "Scott Baker";
PUSHP RAJba2e32f2021-11-02 10:39:24 +000015 description
Scott Bakerc9d3d842021-09-17 11:32:53 -070016 "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 }
PUSHP RAJba2e32f2021-11-02 10:39:24 +000028 description "The typedef for connectivity-service-id";
Scott Bakerc9d3d842021-09-17 11:32:53 -070029 }
30
31 container connectivity-service {
32 description "The top level container";
33
34 list connectivity-service {
35 key "id";
36 description
37 "List of connectivity services";
38
39 leaf id {
40 type connectivity-service-id;
41 description "ID for this connectivity service.";
42 }
43
44 leaf display-name {
45 type string {
46 length 1..80;
47 }
48 description "display name to use in GUI or CLI";
PUSHP RAJba2e32f2021-11-02 10:39:24 +000049 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070050
51 leaf description {
52 type at:description;
53 description "description of this connectivity service";
54 }
55
56 leaf spgwc-endpoint {
57 type inet:uri;
58 description "url of the spgwc service";
59 }
60
61 leaf hss-endpoint {
62 type inet:uri;
63 description "url of the hss service";
64 }
65
66 leaf pcrf-endpoint {
67 type inet:uri;
68 description "url of the pcrf service";
69 }
70
71 leaf core-5g-endpoint {
72 type inet:uri;
73 description "url of the 5g core";
PUSHP RAJba2e32f2021-11-02 10:39:24 +000074 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070075 }
PUSHP RAJba2e32f2021-11-02 10:39:24 +000076 }
Scott Bakerc9d3d842021-09-17 11:32:53 -070077}