From 7ca144aca569c456656f59abcdafab77b192e144 Mon Sep 17 00:00:00 2001 From: Lukasz Rajewski Date: Thu, 26 Sep 2019 14:18:33 +0200 Subject: [PATCH] Missing Upgrade actions in DB Added entries for UpgradeSoftware, UpgradePreCheck, UpgradePostCheck, UpgradeBackout and UpgradeBackup in VNF_DG_MAPPING and PROCESS_FLOW_REFERENCE tables Change-Id: Icfd00d90433755e0825d9a12808ddba5dc5a8023 Issue-ID: APPC-1748 Signed-off-by: Lukasz Rajewski --- installation/appc/src/main/resources/sqlData.dump | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/installation/appc/src/main/resources/sqlData.dump b/installation/appc/src/main/resources/sqlData.dump index d406f79..b1a760e 100644 --- a/installation/appc/src/main/resources/sqlData.dump +++ b/installation/appc/src/main/resources/sqlData.dump @@ -3,7 +3,7 @@ -- =================================================================== -- Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved. -- =================================================================== --- Modifications Copyright (C) 2018 Orange +-- Modifications Copyright (C) 2019 Orange -- =================================================================== -- -- Unless otherwise specified, all software contained herein is licensed @@ -25,7 +25,7 @@ USE sdnctl; LOCK TABLES `VNF_DG_MAPPING` WRITE; -INSERT INTO `VNF_DG_MAPPING` VALUES (1,'Restart','2.00','','','Generic_Restart','3.0.0','APPC'),(2,'Configure',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(3,'ConfigModify',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(4,'Rebuild',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(5,'Restart',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(6,'HealthCheck',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(7,'StartApplication',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(8,'StopApplication',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(9,'Migrate',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(10,'Snapshot',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(11,'ConfigRestore',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(12,'ConfigBackup',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(13,'Evacuate',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(14,'Stop',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(15,'Start',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(16,'ConfigScaleOut',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(17,'DistributeTraffic',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(18,'DistributeTrafficCheck',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(19,'UpgradeSoftware',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'); +INSERT INTO `VNF_DG_MAPPING` VALUES (1,'Restart','2.00','','','Generic_Restart','3.0.0','APPC'),(2,'Configure',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(3,'ConfigModify',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(4,'Rebuild',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(5,'Restart',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(6,'HealthCheck',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(7,'StartApplication',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(8,'StopApplication',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(9,'Migrate',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(10,'Snapshot',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(11,'ConfigRestore',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(12,'ConfigBackup',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(13,'Evacuate',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(14,'Stop',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(15,'Start',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(16,'ConfigScaleOut',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(17,'DistributeTraffic',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(18,'DistributeTrafficCheck',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(19,'UpgradeSoftware',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(20,'UpgradePreCheck',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(21,'UpgradePostCheck',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(22,'UpgradeBackout',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'),(23,'UpgradeBackup',NULL,NULL,NULL,'DGOrchestrator','4.0.0','APPC'); UNLOCK TABLES; @@ -38,7 +38,7 @@ INSERT INTO `MULTISTEP_FLOW_REFERENCE` VALUES (1,'Restart','vnf','vFW',NULL,'mul UNLOCK TABLES; LOCK TABLES `PROCESS_FLOW_REFERENCE` WRITE; -INSERT INTO `PROCESS_FLOW_REFERENCE` VALUES (12,'Configure','vnf','CLI','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(13,'Configure','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(14,'ConfigRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(15,'ConfigureRestore','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(16,'ConfigModify','vnf','CLI','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(17,'ConfigModify','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(19,'rebuild','vm','OS','graph','APPC','RebuildVM','2017-08-25 19:40:05',NULL),(21,'migrate','vm','OS','graph','APPC','MigrateVM','2017-08-25 19:40:05',NULL),(22,'restart','vm','OS','graph','APPC','RestartVMVNFCommonFlow','2017-08-25 19:40:05',NULL),(23,'Configure','vnf','Chef','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(24,'Configure','vnf','Ansible','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(25,'HealthCheck','vnf','REST','graph','APPC','healthcheck','2017-08-25 19:40:06',NULL),(26,'HealthCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(27,'HealthCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(28,'StopApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(29,'StopApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(30,'StartApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(31,'StartApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(32,'ConfigRestore','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(33,'ConfigRestore','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(34,'ConfigBackup','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:07',NULL),(35,'ConfigBackup','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:07',NULL),(38,'ConfigRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 13:33:14',NULL),(39,'ConfigRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 13:35:11',NULL),(40,'Configure','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(41,'Configure','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(42,'ConfigureRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(43,'ConfigureRestore','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(44,'ConfigModify','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(45,'ConfigModify','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(46,'evacuate','vm','OS','graph','APPC','EvacuateVM','2017-09-12 16:49:54',NULL),(47,'rebuild','vm','OS','graph','APPC','RebuildVM','2017-09-12 16:49:54',NULL),(48,'snapshot','vm','OS','graph','APPC','CreateSnapShotVM','2017-09-12 16:49:54',NULL),(49,'migrate','vm','OS','graph','APPC','MigrateVM','2017-09-12 16:49:54',NULL),(50,'restart','vm','OS','graph','APPC','RestartVMVNFCommonFlow','2017-09-12 16:49:54',NULL),(51,'Configure','vnf','Chef','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(52,'Configure','vnf','Ansible','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(53,'HealthCheck','vnf','REST','graph','APPC','healthcheck','2017-09-12 16:49:54',NULL),(54,'HealthCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(55,'HealthCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(56,'StopApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(57,'StopApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(58,'StartApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(59,'StartApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(60,'ConfigRestore','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(61,'ConfigRestore','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(62,'ConfigBackup','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(63,'ConfigBackup','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(64,'Start','vm','OS','graph','APPC','VM_Start','2017-09-12 16:49:54',NULL),(65,'Stop','vm','OS','graph','APPC','VM_Stop','2017-09-12 16:49:54',NULL),(67,'ConfigModify','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-10-17 15:35:29','Y'),(68,'ConfigModify','vnf','Chef','graph','APPC','Generic_ChefDG','2017-10-17 15:35:33','Y'),(70,'Restart','vm','OS','graph','APPC','RestartVMVNFCommonFlow','2017-10-17 15:50:00',NULL),(71,'Rebuild','vm','OS','graph','APPC','RebuildVM','2017-10-17 15:51:03',NULL),(73,'Restart','vnf','OS','graph','APPC','RestartVMVNFCommonFlow','2017-10-24 16:48:06',NULL),(74,'ConfigScaleOut','vnf','Chef','graph','APPC','Generic_Configure','2018-01-26 15:00:00','Y'),(75,'ConfigScaleOut','vnf','Ansible','graph','APPC','Generic_Configure','2018-01-26 15:00:00','Y'),(76,'ConfigScaleOut','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2018-01-26 15:00:00','Y'),(77,'DistributeTraffic','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2018-09-06 15:00:00',NULL),(78,'DistributeTraffic','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-06 15:00:00',NULL),(79,'DistributeTrafficCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-03-06 15:00:00',NULL),(80,'DistributeTrafficCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2019-03-06 15:00:00',NULL); +INSERT INTO `PROCESS_FLOW_REFERENCE` VALUES (12,'Configure','vnf','CLI','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(13,'Configure','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(14,'ConfigRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(15,'ConfigureRestore','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-08-25 19:40:04',NULL),(16,'ConfigModify','vnf','CLI','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(17,'ConfigModify','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(19,'rebuild','vm','OS','graph','APPC','RebuildVM','2017-08-25 19:40:05',NULL),(21,'migrate','vm','OS','graph','APPC','MigrateVM','2017-08-25 19:40:05',NULL),(22,'restart','vm','OS','graph','APPC','RestartVMVNFCommonFlow','2017-08-25 19:40:05',NULL),(23,'Configure','vnf','Chef','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(24,'Configure','vnf','Ansible','graph','APPC','Generic_Configure','2017-08-25 19:40:05',NULL),(25,'HealthCheck','vnf','REST','graph','APPC','healthcheck','2017-08-25 19:40:06',NULL),(26,'HealthCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(27,'HealthCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(28,'StopApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(29,'StopApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(30,'StartApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(31,'StartApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(32,'ConfigRestore','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:06',NULL),(33,'ConfigRestore','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:06',NULL),(34,'ConfigBackup','vnf','Chef','graph','APPC','Generic_ChefDG','2017-08-25 19:40:07',NULL),(35,'ConfigBackup','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-08-25 19:40:07',NULL),(38,'ConfigRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 13:33:14',NULL),(39,'ConfigRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 13:35:11',NULL),(40,'Configure','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(41,'Configure','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(42,'ConfigureRestore','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(43,'ConfigureRestore','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(44,'ConfigModify','vnf','CLI','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(45,'ConfigModify','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(46,'evacuate','vm','OS','graph','APPC','EvacuateVM','2017-09-12 16:49:54',NULL),(47,'rebuild','vm','OS','graph','APPC','RebuildVM','2017-09-12 16:49:54',NULL),(48,'snapshot','vm','OS','graph','APPC','CreateSnapShotVM','2017-09-12 16:49:54',NULL),(49,'migrate','vm','OS','graph','APPC','MigrateVM','2017-09-12 16:49:54',NULL),(50,'restart','vm','OS','graph','APPC','RestartVMVNFCommonFlow','2017-09-12 16:49:54',NULL),(51,'Configure','vnf','Chef','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(52,'Configure','vnf','Ansible','graph','APPC','Generic_Configure','2017-09-12 16:49:54',NULL),(53,'HealthCheck','vnf','REST','graph','APPC','healthcheck','2017-09-12 16:49:54',NULL),(54,'HealthCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(55,'HealthCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(56,'StopApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(57,'StopApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(58,'StartApplication','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(59,'StartApplication','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(60,'ConfigRestore','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(61,'ConfigRestore','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(62,'ConfigBackup','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-12 16:49:54',NULL),(63,'ConfigBackup','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-09-12 16:49:54',NULL),(64,'Start','vm','OS','graph','APPC','VM_Start','2017-09-12 16:49:54',NULL),(65,'Stop','vm','OS','graph','APPC','VM_Stop','2017-09-12 16:49:54',NULL),(67,'ConfigModify','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2017-10-17 15:35:29','Y'),(68,'ConfigModify','vnf','Chef','graph','APPC','Generic_ChefDG','2017-10-17 15:35:33','Y'),(70,'Restart','vm','OS','graph','APPC','RestartVMVNFCommonFlow','2017-10-17 15:50:00',NULL),(71,'Rebuild','vm','OS','graph','APPC','RebuildVM','2017-10-17 15:51:03',NULL),(73,'Restart','vnf','OS','graph','APPC','RestartVMVNFCommonFlow','2017-10-24 16:48:06',NULL),(74,'ConfigScaleOut','vnf','Chef','graph','APPC','Generic_Configure','2018-01-26 15:00:00','Y'),(75,'ConfigScaleOut','vnf','Ansible','graph','APPC','Generic_Configure','2018-01-26 15:00:00','Y'),(76,'ConfigScaleOut','vnf','NETCONF-XML','graph','APPC','Generic_Configure','2018-01-26 15:00:00','Y'),(77,'DistributeTraffic','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2018-09-06 15:00:00',NULL),(78,'DistributeTraffic','vnf','Chef','graph','APPC','Generic_ChefDG','2017-09-06 15:00:00',NULL),(79,'DistributeTrafficCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-03-06 15:00:00',NULL),(80,'DistributeTrafficCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2019-03-06 15:00:00',NULL),(81,'UpgradeSoftware','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-09-26 11:00:00',NULL),(82,'UpgradeSoftware','vnf','Chef','graph','APPC','Generic_ChefDG','2019-09-26 11:00:00',NULL),(83,'UpgradePreCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-09-26 11:00:00',NULL),(84,'UpgradePreCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2019-09-26 11:00:00',NULL),(85,'UpgradePostCheck','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-09-26 11:00:00',NULL),(86,'UpgradePostCheck','vnf','Chef','graph','APPC','Generic_ChefDG','2019-09-26 11:00:00',NULL),(87,'UpgradeBackout','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-09-26 11:00:00',NULL),(88,'UpgradeBackout','vnf','Chef','graph','APPC','Generic_ChefDG','2019-09-26 11:00:00',NULL),(89,'UpgradeBackup','vnf','Ansible','graph','APPC','Generic_AnsibleDG','2019-09-26 11:00:00',NULL),(90,'UpgradeBackup','vnf','Chef','graph','APPC','Generic_ChefDG','2019-09-26 11:00:00',NULL); UNLOCK TABLES; LOCK TABLES `DOWNLOAD_DG_REFERENCE` WRITE; -- 2.16.6