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;fp=sdnc-a1-controller%2Fnorthbound%2Fnonrt-ric-api%2Fmodel%2Fsrc%2Fmain%2Fyang%2FNONRT-RIC-API.yang;h=19336603253d564385960f118eb64d3451743318;hb=beb7ba7d7fbccc421d7c2c16b8942bb5da7fc71c;hp=a9cf825d8e7f89b0c48d91c425e51e66093e4fd9;hpb=28ee8a58993b6dc3a98ca2ab3286f81c035fea7a;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 a9cf825d..19336603 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 @@ -37,104 +37,86 @@ module A1-ADAPTER-API { "A1 adapter"; } - // Get an array of integer policy type ids - // Each item in the returned array will be regarded as one policy-type-id. - rpc getPolicyTypeIdentities { + rpc putA1Policy { input { leaf near-rt-ric-url { + type inet:uri; + } + leaf body { type string; } } - output { - leaf-list policy-type-id-list { + leaf body { type string; } + leaf http-status { + type int32; + } } } - // Get an array of integer policy ids - // Each item in the returned array will be regarded as one policy-id. - rpc getPolicyIdentities { + rpc getA1Policy { input { leaf near-rt-ric-url { - type string; + type inet:uri; } } - output { - leaf-list policy-id-list { + leaf body { type string; } + leaf http-status { + type int32; + } } } - // Get a policy type - rpc getPolicyType { + rpc getA1PolicyStatus { input { leaf near-rt-ric-url { - type string; - } - leaf policy-type-id { - type string; + type inet:uri; } } output { - leaf policy-type { + leaf body { type string; } + leaf http-status { + type int32; + } } } - // Create a policy - rpc putPolicy { + rpc getA1PolicyType { input { leaf near-rt-ric-url { - type string; - } - leaf policy-id { - type string; - } - leaf policy-type-id { - type string; - } - leaf policy { - type string; + type inet:uri; } } output { - leaf returned-policy { - type string; - } - } - } - - // Delete a policy - rpc deletePolicy { - input { - leaf near-rt-ric-url { + leaf body { type string; } - leaf policy-id { - type string; + leaf http-status { + type int32; } } } - // Get a policy status - rpc getPolicyStatus { + rpc deleteA1Policy { input { leaf near-rt-ric-url { - type string; - } - leaf policy-id { - type string; + type inet:uri; } } output { - leaf policy-status { + leaf body { type string; } + leaf http-status { + type int32; + } } } } \ No newline at end of file