summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2018-08-17 16:29:53 -0400
committerAlexis de Talhouët <alexis.de_talhouet@bell.ca>2018-08-20 15:27:33 +0000
commit0ba4bf39c08efa83c1be2e47001bae487ec7ea67 (patch)
treef165748c128214f70f26b89f8bcaf756e0aafc7a
parentcb1aa771847fe52d74eebdd7dc6ad6b1218e1a22 (diff)
Added SQL dump for IPAM tables
Two tables being added in the sdnctl db: - IPAM_IP_POOL - IPAM_IP_ASSIGNMENT More information on the content here: https://jira.onap.org/browse/CCSDK-463?focusedCommentId=25838&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-25838 Change-Id: I513b620a581676a803c7a2f76adeccf5b5e9e64d Issue-ID: CCSDK-463 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Former-commit-id: 2382758a21bcf424ca17db8f3a2aa98941651319
-rw-r--r--installation/sdnc/src/main/resources/ipam.data.dump87
1 files changed, 87 insertions, 0 deletions
diff --git a/installation/sdnc/src/main/resources/ipam.data.dump b/installation/sdnc/src/main/resources/ipam.data.dump
new file mode 100644
index 00000000..911b9674
--- /dev/null
+++ b/installation/sdnc/src/main/resources/ipam.data.dump
@@ -0,0 +1,87 @@
+-- MySQL dump 10.13 Distrib 5.7.21, for Linux (x86_64)
+--
+-- Host: localhost Database: sdnctl
+-- ------------------------------------------------------
+-- Server version 5.7.21-log
+
+/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
+/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
+/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
+/*!40101 SET NAMES utf8 */;
+/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
+/*!40103 SET TIME_ZONE='+00:00' */;
+/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
+/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
+/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
+/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
+
+--
+-- Table structure for table `IPAM_IP_POOL`
+--
+
+DROP TABLE IF EXISTS `IPAM_IP_POOL`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `IPAM_IP_POOL` (
+ `ipam_pool_uuid` int(11) NOT NULL AUTO_INCREMENT,
+ `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ `prefix_id` int(2) DEFAULT NULL,
+ `prefix` varchar(255) DEFAULT NULL,
+ `address_family` int(1) DEFAULT NULL,
+ `prefix_status` int(1) DEFAULT NULL,
+ `description` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`ipam_pool_uuid`)
+) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `IPAM_IP_POOL`
+--
+
+LOCK TABLES `IPAM_IP_POOL` WRITE;
+/*!40000 ALTER TABLE `IPAM_IP_POOL` DISABLE KEYS */;
+INSERT INTO `IPAM_IP_POOL` VALUES (1,'2018-08-17 20:15:12',3,'10.0.0.0/8',4,1,'IP Pool for ONAP - general purpose'),(2,'2018-08-17 20:19:29',2,'192.168.10.0/24',4,1,'IP Pool for unprotected network - vFW use case'),(4,'2018-08-17 20:20:08',1,'192.168.20.0/24',4,1,'IP Pool for protected network - vFW use case');
+/*!40000 ALTER TABLE `IPAM_IP_POOL` ENABLE KEYS */;
+UNLOCK TABLES;
+
+--
+-- Table structure for table `IPAM_IP_ASSIGNEMENT`
+--
+
+DROP TABLE IF EXISTS `IPAM_IP_ASSIGNEMENT`;
+/*!40101 SET @saved_cs_client = @@character_set_client */;
+/*!40101 SET character_set_client = utf8 */;
+CREATE TABLE `IPAM_IP_ASSIGNEMENT` (
+ `ipam_ip_uuid` int(11) NOT NULL AUTO_INCREMENT,
+ `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
+ `service_instance_id` varchar(255) DEFAULT NULL,
+ `vf_module_id` varchar(255) DEFAULT NULL,
+ `prefix_id` varchar(255) DEFAULT NULL,
+ `ip_address_id` varchar(255) DEFAULT NULL,
+ `ip_adress` varchar(255) DEFAULT NULL,
+ `ip_address_type` varchar(255) DEFAULT NULL,
+ `ip_status` varchar(255) DEFAULT NULL,
+ `ip_response` varchar(255) DEFAULT NULL,
+ PRIMARY KEY (`ipam_ip_uuid`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1;
+/*!40101 SET character_set_client = @saved_cs_client */;
+
+--
+-- Dumping data for table `IPAM_IP_ASSIGNEMENT`
+--
+
+LOCK TABLES `IPAM_IP_ASSIGNEMENT` WRITE;
+/*!40000 ALTER TABLE `IPAM_IP_ASSIGNEMENT` DISABLE KEYS */;
+/*!40000 ALTER TABLE `IPAM_IP_ASSIGNEMENT` ENABLE KEYS */;
+UNLOCK TABLES;
+/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
+
+/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
+/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
+/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
+/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
+/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
+/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
+/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
+
+-- Dump completed on 2018-08-17 20:24:31 \ No newline at end of file