X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=osm_nbi%2Fnbi.py;h=f19f44d073d61209aafcafba073f5af059f234bc;hb=refs%2Fchanges%2F75%2F11775%2F3;hp=ff2f6decbc33783cdba4f2f13e31857334c7d9f7;hpb=e47b913f0500837d7caa2ee25c0b476f58884859;p=osm%2FNBI.git diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py index ff2f6de..f19f44d 100644 --- a/osm_nbi/nbi.py +++ b/osm_nbi/nbi.py @@ -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:", @@ -505,6 +510,12 @@ valid_url_methods = { "ROLE_PERMISSION": "vnf_instances:opps:id:" }, }, + "subscriptions": {"METHODS": ("GET", "POST"), + "ROLE_PERMISSION": "vnflcm_subscriptions:", + "": {"METHODS": ("GET", "DELETE"), + "ROLE_PERMISSION": "vnflcm_subscriptions:id:" + } + }, } }, "nst": {