X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=sdnc-a1-controller%2Fnorthbound%2Fnonrt-ric-api%2Fmodel%2Fsrc%2Fmain%2Fyang%2FNONRT-RIC-API.yang;h=986e201763badcfd03f361624098370b494be235;hb=eec4647d457ca8c2ebecc86485127bd529919533;hp=806bdc1cd3cfeecdb6fa97db2bbcdb3329183044;hpb=25501ccf6b73c3afded66eade70ee59af102844f;p=nonrtric.git diff --git a/sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang b/sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang index 806bdc1c..986e2017 100644 --- a/sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang +++ b/sdnc-a1-controller/northbound/nonrt-ric-api/model/src/main/yang/NONRT-RIC-API.yang @@ -1,3 +1,22 @@ +//- +// ============LICENSE_START======================================================= +// Copyright (C) 2019 Nordix Foundation. +// ================================================================================ +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. +// +// SPDX-License-Identifier: Apache-2.0 +// ============LICENSE_END========================================================= +// module A1-ADAPTER-API { namespace "org:onap:sdnc:northbound:a1-adapter"; @@ -10,10 +29,10 @@ module A1-ADAPTER-API { revision "2019-10-02" { description - "A1 adapter for Frankfurt"; + "A1 adapter"; } -///Flattend interface using RPC + //Flattend interface using RPC //Get an array of near-rt-ric IDs, //Each item in the returned array will be regarded as one near-rt-ric-id. @@ -22,6 +41,9 @@ module A1-ADAPTER-API { leaf-list near-rt-ric-id-list { type string; } + leaf code { + type string; + } } } @@ -37,6 +59,9 @@ module A1-ADAPTER-API { leaf health-status { type boolean; } + leaf code { + type string; + } } } @@ -53,6 +78,9 @@ module A1-ADAPTER-API { leaf-list policy-type-id-list { type uint32; } + leaf code { + type string; + } } } @@ -76,9 +104,6 @@ module A1-ADAPTER-API { } } output { - leaf status { - type string; - } leaf code { type string; } @@ -105,6 +130,9 @@ module A1-ADAPTER-API { leaf policy-type { type string; } + leaf code { + type string; + } } } @@ -118,6 +146,11 @@ module A1-ADAPTER-API { type uint32; } } + output { + leaf code { + type string; + } + } } //Get an array of string policy instance ids @@ -136,6 +169,9 @@ module A1-ADAPTER-API { leaf-list policy-instance-id-list { type string; } + leaf code { + type string; + } } } @@ -155,6 +191,11 @@ module A1-ADAPTER-API { type string; } } + output { + leaf code { + type string; + } + } } ///Get a policy instance @@ -174,6 +215,9 @@ module A1-ADAPTER-API { leaf policy-instance { type string; } + leaf code { + type string; + } } } @@ -190,6 +234,11 @@ module A1-ADAPTER-API { type string; } } + output { + leaf code { + type string; + } + } } //Get the status for a policy instance @@ -209,6 +258,9 @@ module A1-ADAPTER-API { leaf status { type string; } + leaf code { + type string; + } } } } \ No newline at end of file