Change-Id: If29bf096c2a82b937f38d20c749a1f439d5faa5b
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
resource_status, resource_msg
)
)
+
+ content["_admin"]["operationalState"] = "ENABLED"
+ for operation in content["_admin"]["operations"]:
+ if operation["lcmOperationType"] == "create":
+ operation["operationState"] = "ENABLED"
+ self.logger.info("Content : {}".format(content))
+ self.db.set_one("vim_accounts", {"_id": content["_id"]}, content)
+
return
async def edit(self, op_id, op_params, content):