2 // ============LICENSE_START=======================================================
\r
3 // Copyright (C) 2019 Nordix Foundation.
\r
4 // ================================================================================
\r
5 // Licensed under the Apache License, Version 2.0 (the "License");
\r
6 // you may not use this file except in compliance with the License.
\r
7 // You may obtain a copy of the License at
\r
9 // http://www.apache.org/licenses/LICENSE-2.0
\r
11 // Unless required by applicable law or agreed to in writing, software
\r
12 // distributed under the License is distributed on an "AS IS" BASIS,
\r
13 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
\r
14 // See the License for the specific language governing permissions and
\r
15 // limitations under the License.
\r
17 // SPDX-License-Identifier: Apache-2.0
\r
18 // ============LICENSE_END=========================================================
\r
20 module A1-ADAPTER-API {
\r
22 namespace "org:onap:sdnc:northbound:a1-adapter";
\r
24 prefix a1-adapter-api;
\r
26 import ietf-inet-types { prefix "inet"; revision-date "2013-07-15"; }
\r
28 import ietf-yang-types { prefix yang; }
\r
30 revision "2020-01-22" {
\r
35 //Get an array of integer policy type ids
\r
36 //Each item in the returned array will be regarded as one policy-type-id.
\r
37 rpc getPolicyTypeIdentities {
\r
39 leaf near-rt-ric-url {
\r
45 leaf-list policy-type-id-list {
\r
51 //Get an array of integer policy ids
\r
52 //Each item in the returned array will be regarded as one policy-id.
\r
53 rpc getPolicyIdentities {
\r
55 leaf near-rt-ric-url {
\r
61 leaf-list policy-id-list {
\r
70 leaf near-rt-ric-url {
\r
73 leaf policy-type-id {
\r
87 leaf near-rt-ric-url {
\r
93 leaf policy-type-id {
\r
101 leaf returned-policy {
\r
110 leaf near-rt-ric-url {
\r