Update documentation for added RIC state 26/3226/1
authorelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 9 Apr 2020 07:28:07 +0000 (09:28 +0200)
committerelinuxhenrik <henrik.b.andersson@est.tech>
Thu, 9 Apr 2020 07:32:37 +0000 (09:32 +0200)
RIC state has been added to the RicInfo in the policy agent NBI.

Change-Id: I455edda16429fac5408ca7bd68549e5d223e9151
Issue-ID: NONRTRIC-164
Signed-off-by: elinuxhenrik <henrik.b.andersson@est.tech>
docs/policy-agent-api.rst
policy-agent/docs/api.yaml

index a65e611..2a79b26 100644 (file)
@@ -965,7 +965,8 @@ GET
                 "policyTypes": [
                   "string"
                 ],
-                "ricName": "string"
+                "ricName": "string",
+                "state": "string"
               }
             ]
 
@@ -992,7 +993,8 @@ GET
               "Example_QoETarget_1.0.0",
               "ERIC_QoSNudging_0.2.0"
             ],
-            "ricName": "Ric 1"
+            "ricName": "Ric 1",
+            "state": "AVAILABLE"
           },
             .
             .
@@ -1004,7 +1006,8 @@ GET
             "policyTypes": [
               "STD_PolicyModelUnconstrained_0.2.0"
             ],
-            "ricName": "Ric X"
+            "ricName": "Ric X",
+            "state": "UNAVAILABLE"
           }
         ]
 
index 306b15a..f42c3e0 100644 (file)
@@ -581,6 +581,9 @@ definitions:
       ricName:
         type: string
         description: identity of the ric
+      state:
+        type: string
+        description: state info
     title: RicInfo
   ServiceRegistrationInfo:
     type: object