Add geoLocation to ietf-networks:node
[oam.git] / code / network-generator / network_generation / model / yang / o-ran-sc-system-with-geo-location.yang
1 module o-ran-sc-system-with-geo-location {
2   yang-version 1.1;
3   namespace "urn:o-ran-sc:yang:o-ran-sc-system-with-geo-location";
4   prefix sysgeo;
5
6   import ietf-system {
7     prefix sys;
8     reference
9       "RFC 7317: A YANG Data Model for System Management";
10   }
11   import ietf-geo-location {
12     prefix geo;
13     reference
14       "RFC 9179: A YANG Grouping for Geographic Locations";
15   }
16
17   organization
18     "O-RAN Software Community";
19   contact
20     "www.o-ran-sc.org";
21   description
22     "This module adds an optional geo-location to  ietf-system.
23
24      Copyright 2023 the O-RAN Software Community.
25
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
29
30      http://www.apache.org/licenses/LICENSE-2.0
31
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.";
37
38   revision 2023-11-11 {
39     description
40       "Initial version // TODO reference";
41     reference
42       "https://jira.o-ran-sc.org/browse/OAM-399";
43   }
44
45   augment "/sys:system" {
46     description
47       "Augments ietf-system with geo-location.";
48     uses geo:geo-location;
49   }
50 }