projects
/
osm
/
NBI.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Feature 10904: Make all deployment methods optional for K8s cluster
[osm/NBI.git]
/
osm_nbi
/
nbi.py
diff --git
a/osm_nbi/nbi.py
b/osm_nbi/nbi.py
index
ff2f6de
..
f19f44d
100644
(file)
--- a/
osm_nbi/nbi.py
+++ b/
osm_nbi/nbi.py
@@
-85,6
+85,7
@@
URL: /osm GET POST
terminate O5
action O
scale O5
terminate O5
action O
scale O5
+ migrate O
heal 5
update 05
/ns_lcm_op_occs 5 5
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:",
},
"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:",
"action": {
"METHODS": ("POST",),
"ROLE_PERMISSION": "ns_instances:id:action:",
@@
-505,6
+510,12
@@
valid_url_methods = {
"ROLE_PERMISSION": "vnf_instances:opps:id:"
},
},
"ROLE_PERMISSION": "vnf_instances:opps:id:"
},
},
+ "subscriptions": {"METHODS": ("GET", "POST"),
+ "ROLE_PERMISSION": "vnflcm_subscriptions:",
+ "<ID>": {"METHODS": ("GET", "DELETE"),
+ "ROLE_PERMISSION": "vnflcm_subscriptions:id:"
+ }
+ },
}
},
"nst": {
}
},
"nst": {