Feature 10909: Heal operation for VDU
[osm/NBI.git] / osm_nbi / nbi.py
index 29e085a..de48c03 100644 (file)
@@ -86,8 +86,8 @@ URL: /osm                                                       GET     POST
                     action                                              O
                     scale                                               O5
                     migrate                                             O
-                    heal                                                5
                     update                                              05
+                    heal                                                O5
             /ns_lcm_op_occs                                     5       5
                 /<nsLcmOpOccId>                                 5                       5       5
                     TO BE COMPLETED                             5               5
@@ -433,6 +433,10 @@ valid_url_methods = {
                 "<ID>": {
                     "METHODS": ("GET", "DELETE"),
                     "ROLE_PERMISSION": "ns_instances:id:",
+                    "heal": {
+                        "METHODS": ("POST",),
+                        "ROLE_PERMISSION": "ns_instances:id:heal:",
+                    },
                     "scale": {
                         "METHODS": ("POST",),
                         "ROLE_PERMISSION": "ns_instances:id:scale:",