- //Flattend interface using RPC\r
-\r
- //Get an array of near-rt-ric IDs,\r
- //Each item in the returned array will be regarded as one near-rt-ric-id.\r
- rpc getNearRT-RICs {\r
- output {\r
- leaf-list near-rt-ric-id-list {\r
- type string;\r
- }\r
- leaf code {\r
- type string;\r
- }\r
- }\r
- }\r
-\r
- //Get health status for a Near-RT-RIC. true - health ok, false - health is not ok.\r
- rpc getHealthCheck {\r
- input {\r
- leaf near-rt-ric-id {\r
- type string;\r
- }\r
- }\r
-\r
- output {\r
- leaf health-status {\r
- type boolean;\r
- }\r
- leaf code {\r
- type string;\r
- }\r
- }\r
- }\r
-\r