1 module o-ran-sc-topology {
3 namespace "urn:o-ran-sc:yang:o-ran-sc-topology:1.0";
12 import o-ran-sc-topology-common {
17 "O-RAN Software Community";
21 "This module contains YANG definitions for the O-RAN Topology augmentation
24 Copyright 2022 the O-RAN Software Community.
26 Licensed under the Apache License, Version 2.0 (the 'License');
27 you may not use this file except in compliance with the License.
28 You may obtain a copy of the License at
30 http://www.apache.org/licenses/LICENSE-2.0
32 Unless required by applicable law or agreed to in writing, software
33 distributed under the License is distributed on an 'AS IS' BASIS,
34 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
35 See the License for the specific language governing permissions and
36 limitations under the License.";
42 "O-RAN-SC: https://jira.o-ran-sc.org/browse/OAM-248";
45 typedef geographic-coordinate-degree {
50 "Decimal degree (DD) used to express latitude and longitude
51 geographic coordinates.
52 Copied from ietf-te-topology@2020-08-06.yang";
55 // geographic-coordinate-degree
57 grouping geolocation-container {
59 "Contains a GPS location.
60 Copied from ietf-te-topology@2020-08-06.yang";
61 container geolocation {
63 "Contains a GPS location.";
68 "Distance above sea level.";
71 type geographic-coordinate-degree {
75 "Relative position north or south on the Earth's surface.";
78 type geographic-coordinate-degree {
82 "Angular distance east or west on the Earth's surface.";
88 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node" {
90 "Augments the TAPI Topology node Context with geolocation information.";
91 uses geolocation-container;
94 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node" {
96 "Augments the TAPI Topology node Context with the (network) function type";
99 base osctc:function-type;
102 "The type of the (Network) Function.";
106 augment "/tapi-common:context/tapi-topology:topology-context/tapi-topology:topology/tapi-topology:node/tapi-topology:owned-node-edge-point" {
108 "Augments the TAPI Topology Owned Node Edge Points with the (network) function type";
111 base osctc:interface-type;
114 "The type of the Node Edge Point interface type.";