X-Git-Url: https://osm.etsi.org/gitweb/?p=osm%2FRO.git;a=blobdiff_plain;f=RO%2Fosm_ro%2Fnfvo_db.py;h=9ae26c45174f1662334e3c4fca5f140dd2e41aca;hp=df4f16138f86c632b91d4a64f6ecb87498a62769;hb=79870eac1909757c72047fc0b7df1444ce566fc5;hpb=ed3e4d4fc2819e425bb8b165e43fcbac259d3f1b diff --git a/RO/osm_ro/nfvo_db.py b/RO/osm_ro/nfvo_db.py index df4f1613..9ae26c45 100644 --- a/RO/osm_ro/nfvo_db.py +++ b/RO/osm_ro/nfvo_db.py @@ -784,6 +784,10 @@ class nfvo_db(db_base.db_base): if "TO-DELETE" in row: self._delete_row_by_id_internal(table_name, row["TO-DELETE"]) continue + if "TO-UPDATE" in row: + self._update_rows(table_name, UPDATE=row["TO-UPDATE"], WHERE=row["WHERE"], + modified_time=created_time) + continue if table_name in self.tables_with_created_field: if "created_at" in row: created_time_param = created_time + (index + row.pop("created_at"))*0.00001