projects
/
osm
/
RO.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0b8718
)
fixing vim_actions backward compatibility
25/7025/1
author
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 3 Dec 2018 12:04:48 +0000
(12:04 +0000)
committer
tierno
<alfonso.tiernosepulveda@telefonica.com>
Mon, 3 Dec 2018 12:04:48 +0000
(12:04 +0000)
Change-Id: I7553920aa47baad8773cab27c84df8e60fff0e78
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
osm_ro/nfvo.py
patch
|
blob
|
history
diff --git
a/osm_ro/nfvo.py
b/osm_ro/nfvo.py
index
f625b4f
..
7b8a820
100644
(file)
--- a/
osm_ro/nfvo.py
+++ b/
osm_ro/nfvo.py
@@
-4711,6
+4711,8
@@
def instance_action_get(mydb, nfvo_tenant, instance_id, action_id):
raise NfvoException("Not found any action with this criteria", httperrors.Not_Found)
vim_wim_actions = mydb.get_rows(FROM="vim_wim_actions", WHERE={"instance_action_id": action_id})
rows[0]["vim_wim_actions"] = vim_wim_actions
+ # for backward compatibility set vim_actions = vim_wim_actions
+ rows[0]["vim_actions"] = vim_wim_actions
return {"actions": rows}