Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 1 | // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| 2 | // |
| 3 | // SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 4 | |
Sean Condon | 11d6f42 | 2022-01-14 13:02:03 +0000 | [diff] [blame] | 5 | submodule onf-upf { |
| 6 | belongs-to onf-enterprise { prefix ent; } |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 7 | |
| 8 | import ietf-inet-types { prefix inet; } |
| 9 | import ietf-yang-types{ prefix yg; } |
| 10 | import onf-aether-types { prefix at; } |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 11 | |
| 12 | organization "Open Networking Foundation."; |
| 13 | contact "Scott Baker"; |
| 14 | description "A Aether UPF List is a named User Plane Function."; |
| 15 | |
Sean Condon | 11d6f42 | 2022-01-14 13:02:03 +0000 | [diff] [blame] | 16 | revision "2022-01-14" { |
| 17 | description "Refactored as submodule"; |
| 18 | reference "RFC 6020"; |
| 19 | } |
| 20 | |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 21 | revision "2021-09-16" { |
| 22 | description "An Aether User Plane Function"; |
| 23 | reference "RFC 6087"; |
| 24 | } |
| 25 | |
| 26 | typedef upf-id { |
| 27 | type yg:yang-identifier { |
| 28 | length 1..32; |
| 29 | } |
| 30 | description "The typedef for upf-id"; |
| 31 | } |
| 32 | |
Sean Condon | 11d6f42 | 2022-01-14 13:02:03 +0000 | [diff] [blame] | 33 | grouping upf { |
| 34 | description "The upf grouping"; |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 35 | |
| 36 | list upf { |
Sean Condon | 11d6f42 | 2022-01-14 13:02:03 +0000 | [diff] [blame] | 37 | key "upf-id"; |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 38 | description |
| 39 | "A list of named upfs."; |
| 40 | |
Sean Condon | 11d6f42 | 2022-01-14 13:02:03 +0000 | [diff] [blame] | 41 | leaf upf-id { |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 42 | type upf-id; |
| 43 | description "ID for this upf."; |
| 44 | } |
| 45 | |
Sean Condon | 9f7966e | 2022-02-03 10:55:06 +0000 | [diff] [blame^] | 46 | uses at:desc-display-name; |
| 47 | |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 48 | leaf address { |
| 49 | type inet:host; |
| 50 | mandatory true; |
| 51 | description |
| 52 | "Address of UPF"; |
| 53 | } |
| 54 | |
| 55 | leaf port { |
| 56 | type inet:port-number; |
| 57 | mandatory true; |
| 58 | description |
| 59 | "Port for UPF"; |
| 60 | } |
| 61 | |
| 62 | leaf config-endpoint { |
| 63 | type inet:uri; |
| 64 | description "url for configuring the UPF"; |
| 65 | } |
Scott Baker | fdbad76 | 2022-01-03 16:00:45 -0800 | [diff] [blame] | 66 | } |
| 67 | } |
| 68 | } |