Make CallHome address different that the SDN Controller RESTCONF address.
[sim/o1-interface.git] / ntsimulator / deploy / o-ran-du / yang / onap-system.yang
1 module onap-system {
2   yang-version 1.1;
3   namespace "urn:onap:system";
4   prefix os;
5
6   import ietf-inet-types {
7     prefix inet;
8   }
9   import ietf-system {
10     prefix sys;
11   }
12
13   organization
14     "ONAP - Open Network Automation Platform";
15   contact
16     "Web: <https://www.onap.org>
17      Editors:
18         Alex Stancu <mailto:alexandru.stancu@highstreet-technologies.com>
19         Adrian Lita <mailto:adrian.lita@highstreet-technologies.com>
20         Martin Skorupski <mailto:martin.skorupski@highstreet-technologies.com>";
21   description
22     "This module augments ietf-system with ONAP details.
23
24      Copyright 2020 the O-RAN Alliance.
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 2020-10-26 {
39     description
40       "Initial revision for the ietf-system augmentation for ONAP.";
41     reference
42       "https://jira.onap.org/browse/SDNC-1396";
43   }
44
45   augment "/sys:system" {
46     leaf name {
47       type string;
48       description
49         "The name of the system.";
50     }
51     leaf web-ui {
52       type inet:uri;
53       description
54         "The URI of the system Web UI.";
55     }
56     description
57       "Enhancing the system information.";
58   }
59 }