Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 1 | // SPDX-FileCopyrightText: 2021 Open Networking Foundation |
| 2 | // |
| 3 | // SPDX-License-Identifier: LicenseRef-ONF-Member-Only-1.0 |
| 4 | |
| 5 | module 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 | |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 19 | revision "2021-10-21" { |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 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"; |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 48 | } |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 49 | |
| 50 | leaf description { |
| 51 | type at:description; |
| 52 | description "description of this connectivity service"; |
| 53 | } |
| 54 | |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 55 | // deprecated |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 56 | leaf spgwc-endpoint { |
| 57 | type inet:uri; |
| 58 | description "url of the spgwc service"; |
| 59 | } |
| 60 | |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 61 | // deprecated |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 62 | leaf hss-endpoint { |
| 63 | type inet:uri; |
| 64 | description "url of the hss service"; |
| 65 | } |
| 66 | |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 67 | // deprecated |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 68 | leaf pcrf-endpoint { |
| 69 | type inet:uri; |
| 70 | description "url of the pcrf service"; |
| 71 | } |
| 72 | |
| 73 | leaf core-5g-endpoint { |
| 74 | type inet:uri; |
| 75 | description "url of the 5g core"; |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 76 | } |
| 77 | |
| 78 | leaf acc-prometheus-url { |
| 79 | type inet:uri; |
| 80 | description |
| 81 | "URL of ACC prometheus"; |
| 82 | } |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 83 | } |
Scott Baker | 71d5c4e | 2021-10-21 23:59:57 -0700 | [diff] [blame] | 84 | } |
Scott Baker | c9d3d84 | 2021-09-17 11:32:53 -0700 | [diff] [blame] | 85 | } |