Feature 10910: Migration of Openstack based VM instances
[osm/NBI.git] / osm_nbi / nbi.py
index ff2f6de..f57258f 100644 (file)
@@ -85,6 +85,7 @@ URL: /osm                                                       GET     POST
                     terminate                                           O5
                     action                                              O
                     scale                                               O5
+                    migrate                                             O
                     heal                                                5
                     update                                              05
             /ns_lcm_op_occs                                     5       5
@@ -444,6 +445,10 @@ valid_url_methods = {
                         "METHODS": ("POST",),
                         "ROLE_PERMISSION": "ns_instances:id:instantiate:",
                     },
+                    "migrate": {
+                        "METHODS": ("POST",),
+                        "ROLE_PERMISSION": "ns_instances:id:migrate:",
+                    },
                     "action": {
                         "METHODS": ("POST",),
                         "ROLE_PERMISSION": "ns_instances:id:action:",