blob: fdfbafcf4ad4a07da0fb673a64c7d15e8498dfdd [file] [log] [blame]
Scott Bakerfdbad762022-01-03 16:00:45 -08001// SPDX-FileCopyrightText: 2021 Open Networking Foundation
2//
Sean Condon160ec1d2022-02-08 12:58:25 +00003// SPDX-License-Identifier: Apache-2.0
Scott Bakerfdbad762022-01-03 16:00:45 -08004
Sean Condon11d6f422022-01-14 13:02:03 +00005submodule onf-upf {
6 belongs-to onf-enterprise { prefix ent; }
Scott Bakerfdbad762022-01-03 16:00:45 -08007
8 import ietf-inet-types { prefix inet; }
Scott Bakerfdbad762022-01-03 16:00:45 -08009 import onf-aether-types { prefix at; }
Scott Bakerfdbad762022-01-03 16:00:45 -080010
11 organization "Open Networking Foundation.";
12 contact "Scott Baker";
13 description "A Aether UPF List is a named User Plane Function.";
14
Sean Condon11d6f422022-01-14 13:02:03 +000015 revision "2022-01-14" {
16 description "Refactored as submodule";
17 reference "RFC 6020";
18 }
19
Scott Bakerfdbad762022-01-03 16:00:45 -080020 revision "2021-09-16" {
21 description "An Aether User Plane Function";
22 reference "RFC 6087";
23 }
24
25 typedef upf-id {
Scott Baker40a79562022-02-16 15:04:50 -080026 type at:aether-identifier;
27 description "The typedef for upf-id";
Scott Bakerfdbad762022-01-03 16:00:45 -080028 }
29
Sean Condon11d6f422022-01-14 13:02:03 +000030 grouping upf {
31 description "The upf grouping";
Scott Bakerfdbad762022-01-03 16:00:45 -080032
33 list upf {
Sean Condon11d6f422022-01-14 13:02:03 +000034 key "upf-id";
Scott Bakerfdbad762022-01-03 16:00:45 -080035 description
36 "A list of named upfs.";
37
Sean Condon11d6f422022-01-14 13:02:03 +000038 leaf upf-id {
Scott Bakerfdbad762022-01-03 16:00:45 -080039 type upf-id;
40 description "ID for this upf.";
41 }
42
Sean Condon9f7966e2022-02-03 10:55:06 +000043 uses at:desc-display-name;
44
Scott Bakerfdbad762022-01-03 16:00:45 -080045 leaf address {
46 type inet:host;
47 mandatory true;
48 description
49 "Address of UPF";
50 }
51
52 leaf port {
53 type inet:port-number;
54 mandatory true;
55 description
56 "Port for UPF";
57 }
58
59 leaf config-endpoint {
60 type inet:uri;
61 description "url for configuring the UPF";
62 }
Scott Bakerfdbad762022-01-03 16:00:45 -080063 }
64 }
65}