Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 1 | -- MySQL dump 10.13 Distrib 5.6.22, for Linux (x86_64) |
| 2 | -- |
| 3 | -- Host: sdnctldb01 Database: sdnctl |
| 4 | -- ------------------------------------------------------ |
| 5 | -- Server version 5.6.27-enterprise-commercial-advanced-log |
| 6 | |
| 7 | /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; |
| 8 | /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; |
| 9 | /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; |
| 10 | /*!40101 SET NAMES utf8 */; |
| 11 | /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */; |
| 12 | /*!40103 SET TIME_ZONE='+00:00' */; |
| 13 | /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */; |
| 14 | /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */; |
| 15 | /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */; |
| 16 | /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */; |
| 17 | SET @MYSQLDUMP_TEMP_LOG_BIN = @@SESSION.SQL_LOG_BIN; |
| 18 | SET @@SESSION.SQL_LOG_BIN= 0; |
| 19 | |
| 20 | -- |
Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 21 | -- Table structure for table `ALLOCATION_ITEM` |
| 22 | -- |
| 23 | |
| 24 | DROP TABLE IF EXISTS `ALLOCATION_ITEM`; |
| 25 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 26 | /*!40101 SET character_set_client = utf8 */; |
| 27 | CREATE TABLE `ALLOCATION_ITEM` ( |
| 28 | `allocation_item_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 29 | `resource_id` bigint(20) NOT NULL, |
| 30 | `application_id` varchar(50) NOT NULL, |
| 31 | `resource_set_id` varchar(200) NOT NULL, |
| 32 | `resource_union_id` varchar(200) NOT NULL, |
| 33 | `resource_share_group_list` varchar(200) DEFAULT NULL, |
| 34 | `lt_used` bigint(20) DEFAULT NULL, |
| 35 | `ll_label` varchar(50) DEFAULT NULL, |
| 36 | `rr_used` varchar(200) DEFAULT NULL, |
| 37 | `allocation_time` datetime NOT NULL, |
| 38 | PRIMARY KEY (`allocation_item_id`), |
| 39 | UNIQUE KEY `allocation_item_id` (`allocation_item_id`), |
| 40 | UNIQUE KEY `IX2_ALLOCATION_ITEM` (`resource_id`,`resource_set_id`), |
| 41 | KEY `IX1_ALLOCATION_ITEM` (`resource_id`) |
| 42 | ) ENGINE=InnoDB AUTO_INCREMENT=10104 DEFAULT CHARSET=latin1; |
| 43 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 44 | |
Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 45 | |
| 46 | -- |
| 47 | -- Table structure for table `DATA_OBJECT_MAPPING` |
| 48 | -- |
| 49 | |
| 50 | DROP TABLE IF EXISTS `DATA_OBJECT_MAPPING`; |
| 51 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 52 | /*!40101 SET character_set_client = utf8 */; |
| 53 | CREATE TABLE `DATA_OBJECT_MAPPING` ( |
| 54 | `serial_key` int(11) NOT NULL AUTO_INCREMENT, |
| 55 | `data_object_key` varchar(100) NOT NULL, |
| 56 | `data_object_type` varchar(50) NOT NULL, |
| 57 | `service_type` varchar(50) NOT NULL, |
| 58 | `data_object_key2` varchar(100) NOT NULL, |
| 59 | `data_object_key2_type` varchar(50) NOT NULL, |
| 60 | PRIMARY KEY (`serial_key`), |
| 61 | KEY `IX1_DATA_OBJECT_MAPPING` (`data_object_key`,`data_object_type`,`service_type`), |
| 62 | KEY `IX2_DATA_OBJECT_MAPPING` (`service_type`,`data_object_key2`,`data_object_key2_type`) |
| 63 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 64 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 65 | |
| 66 | -- |
| 67 | -- Table structure for table `DEVICE2CONNECTION_MAPPING` |
| 68 | -- |
| 69 | |
| 70 | DROP TABLE IF EXISTS `DEVICE2CONNECTION_MAPPING`; |
| 71 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 72 | /*!40101 SET character_set_client = utf8 */; |
| 73 | CREATE TABLE `DEVICE2CONNECTION_MAPPING` ( |
| 74 | `vnf_host_name` varchar(100) NOT NULL, |
| 75 | `e2e_vpn_key` varchar(30) NOT NULL, |
| 76 | `service_type` varchar(30) NOT NULL, |
| 77 | `connection_id` bigint(20) NOT NULL, |
| 78 | PRIMARY KEY (`vnf_host_name`,`e2e_vpn_key`,`service_type`) |
| 79 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 80 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 81 | |
| 82 | -- |
| 83 | -- Table structure for table `DEVICE2IPADDRESS_CONSUMPTION` |
| 84 | -- |
| 85 | |
| 86 | DROP TABLE IF EXISTS `DEVICE2IPADDRESS_CONSUMPTION`; |
| 87 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 88 | /*!40101 SET character_set_client = utf8 */; |
| 89 | CREATE TABLE `DEVICE2IPADDRESS_CONSUMPTION` ( |
| 90 | `serial_key` int(11) NOT NULL AUTO_INCREMENT, |
| 91 | `device_id` varchar(100) NOT NULL, |
| 92 | `device_type` varchar(30) NOT NULL, |
| 93 | `ip_version` varchar(10) NOT NULL, |
| 94 | `consumption_key` varchar(100) NOT NULL, |
| 95 | `logical_interface_service_id` varchar(100) NOT NULL, |
| 96 | `address_type` varchar(30) NOT NULL, |
| 97 | `ip_consumed` varchar(50) NOT NULL, |
| 98 | `vnf_type` varchar(30) NOT NULL, |
| 99 | PRIMARY KEY (`serial_key`), |
| 100 | KEY `IX1_DEVICEIPADDRESS_CONSUMPTION` (`device_id`,`device_type`,`ip_version`) |
| 101 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 102 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 103 | |
| 104 | -- |
| 105 | -- Table structure for table `DEVICE2IPADDRESS_MAPPING` |
| 106 | -- |
| 107 | |
| 108 | DROP TABLE IF EXISTS `DEVICE2IPADDRESS_MAPPING`; |
| 109 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 110 | /*!40101 SET character_set_client = utf8 */; |
| 111 | CREATE TABLE `DEVICE2IPADDRESS_MAPPING` ( |
| 112 | `serial_key` int(11) NOT NULL AUTO_INCREMENT, |
| 113 | `device_id` varchar(100) NOT NULL, |
| 114 | `device_type` varchar(30) NOT NULL, |
| 115 | `secondary_key` varchar(100) NOT NULL, |
| 116 | `secondary_key_type` varchar(30) NOT NULL, |
| 117 | `address` varchar(50) NOT NULL, |
| 118 | `address_type` varchar(30) NOT NULL, |
| 119 | `ip_version` varchar(10) NOT NULL, |
| 120 | `length` int(11) NOT NULL, |
| 121 | `status` varchar(30) NOT NULL, |
| 122 | PRIMARY KEY (`serial_key`), |
| 123 | KEY `IX1_DEVICE2IPADDRESS_MAPPING` (`device_id`,`device_type`,`secondary_key`,`secondary_key_type`,`address`,`address_type`) |
| 124 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 125 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 126 | |
| 127 | -- |
| 128 | -- Table structure for table `EIPAM_IP_ASSIGNMENTS` |
| 129 | -- |
| 130 | |
| 131 | DROP TABLE IF EXISTS `EIPAM_IP_ASSIGNMENTS`; |
| 132 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 133 | /*!40101 SET character_set_client = utf8 */; |
| 134 | CREATE TABLE `EIPAM_IP_ASSIGNMENTS` ( |
| 135 | `plan_name` varchar(40) NOT NULL, |
| 136 | `client_key` varchar(100) NOT NULL, |
| 137 | `service_type` varchar(40) NOT NULL, |
| 138 | `ip_address` varchar(40) DEFAULT NULL, |
| 139 | `prefix_length` int(2) DEFAULT NULL, |
| 140 | `status` varchar(20) DEFAULT NULL, |
| 141 | `service_instance_id` varchar(80) DEFAULT NULL, |
| 142 | `last_modified_ts` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
| 143 | `prev_status` varchar(20) DEFAULT NULL, |
| 144 | PRIMARY KEY (`plan_name`,`client_key`) |
| 145 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 146 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 147 | |
| 148 | -- |
| 149 | -- Table structure for table `EIPAM_IP_SUBNETS` |
| 150 | -- |
| 151 | |
| 152 | DROP TABLE IF EXISTS `EIPAM_IP_SUBNETS`; |
| 153 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 154 | /*!40101 SET character_set_client = utf8 */; |
| 155 | CREATE TABLE `EIPAM_IP_SUBNETS` ( |
| 156 | `entity_id` int(6) NOT NULL, |
| 157 | `service_type` varchar(40) NOT NULL, |
| 158 | `plan_name` varchar(40) NOT NULL, |
| 159 | `address_family` varchar(10) NOT NULL, |
| 160 | `ip_address` varchar(40) NOT NULL, |
| 161 | `prefix_length` int(3) NOT NULL, |
| 162 | `status` varchar(20) NOT NULL, |
| 163 | `last_modified_ts` timestamp NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, |
| 164 | PRIMARY KEY (`entity_id`) |
| 165 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 166 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 167 | |
| 168 | -- |
| 169 | -- Table structure for table `EIPAM_IP_SUBNET_KEYS` |
| 170 | -- |
| 171 | |
| 172 | DROP TABLE IF EXISTS `EIPAM_IP_SUBNET_KEYS`; |
| 173 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 174 | /*!40101 SET character_set_client = utf8 */; |
| 175 | CREATE TABLE `EIPAM_IP_SUBNET_KEYS` ( |
| 176 | `entity_id` int(6) NOT NULL, |
| 177 | `key_name` varchar(255) NOT NULL, |
| 178 | `key_value` varchar(50) NOT NULL, |
| 179 | `level` int(2) NOT NULL, |
| 180 | PRIMARY KEY (`entity_id`,`key_name`,`key_value`,`level`) |
| 181 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 182 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 183 | |
| 184 | -- |
| 185 | -- Table structure for table `EIPAM_REQUEST_KEY` |
| 186 | -- |
| 187 | |
| 188 | DROP TABLE IF EXISTS `EIPAM_REQUEST_KEY`; |
| 189 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 190 | /*!40101 SET character_set_client = utf8 */; |
| 191 | CREATE TABLE `EIPAM_REQUEST_KEY` ( |
| 192 | `key_name_1` varchar(50) NOT NULL, |
| 193 | `address_family` varchar(4) NOT NULL, |
| 194 | `serial_key` int(2) NOT NULL AUTO_INCREMENT, |
| 195 | `plan_name` varchar(50) NOT NULL, |
| 196 | `request_length` int(2) NOT NULL, |
| 197 | `pools_length` int(2) NOT NULL, |
| 198 | `plan_length` int(2) NOT NULL, |
| 199 | `key_name_0` varchar(50) NOT NULL, |
| 200 | `key_name_type_0` varchar(255) NOT NULL, |
| 201 | `key_name_type_1` varchar(255) NOT NULL, |
| 202 | `prefix_length` int(2) NOT NULL, |
| 203 | `group_flag` char(1) NOT NULL, |
| 204 | `address_type` varchar(20) DEFAULT NULL, |
| 205 | PRIMARY KEY (`key_name_1`,`address_family`), |
| 206 | UNIQUE KEY `IX1_EIPAM_REQUEST_KEY` (`serial_key`) |
| 207 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 208 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 209 | |
| 210 | -- |
| 211 | -- Table structure for table `GENERIC_L3_NETWORK` |
| 212 | -- |
| 213 | |
| 214 | DROP TABLE IF EXISTS `GENERIC_L3_NETWORK`; |
| 215 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 216 | /*!40101 SET character_set_client = utf8 */; |
| 217 | CREATE TABLE `GENERIC_L3_NETWORK` ( |
| 218 | `network_id` varchar(80) NOT NULL, |
| 219 | `network_name` varchar(80) DEFAULT NULL, |
| 220 | `network_type` varchar(80) DEFAULT NULL, |
| 221 | `network_role` varchar(80) DEFAULT NULL, |
| 222 | `network_technology` varchar(80) DEFAULT NULL, |
| 223 | `neutron_network_id` varchar(80) DEFAULT NULL, |
| 224 | `is_bound_to_vpn` tinyint(1) DEFAULT NULL, |
| 225 | `orchestration_status` varchar(20) DEFAULT NULL, |
| 226 | `heat_stack_id` varchar(80) DEFAULT NULL, |
| 227 | `mso_catalog_key` varchar(80) DEFAULT NULL, |
| 228 | `service_id` varchar(80) NOT NULL, |
| 229 | `tenant_id` varchar(80) NOT NULL, |
| 230 | `physical_location_id` varchar(20) DEFAULT NULL, |
| 231 | `network_role_instance` varchar(80) NOT NULL, |
| 232 | PRIMARY KEY (`network_id`) |
| 233 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 234 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 235 | |
| 236 | -- |
| 237 | -- Table structure for table `GENERIC_L3_NETWORK_SUBNET` |
| 238 | -- |
| 239 | |
| 240 | DROP TABLE IF EXISTS `GENERIC_L3_NETWORK_SUBNET`; |
| 241 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 242 | /*!40101 SET character_set_client = utf8 */; |
| 243 | CREATE TABLE `GENERIC_L3_NETWORK_SUBNET` ( |
| 244 | `network_id` varchar(80) NOT NULL, |
| 245 | `subnet_id` varchar(80) NOT NULL, |
| 246 | `neutron_subnet_id` varchar(80) DEFAULT NULL, |
| 247 | `gateway_address` varchar(45) NOT NULL, |
| 248 | `network_start_address` varchar(45) NOT NULL, |
| 249 | `cidr_mask` varchar(20) NOT NULL, |
| 250 | `ip_version` char(1) NOT NULL, |
| 251 | `orchestration_status` varchar(64) NOT NULL, |
| 252 | `dhcp_enabled` tinyint(1) NOT NULL, |
| 253 | `dhcp_start` varchar(45) DEFAULT NULL, |
| 254 | `dhcp_end` varchar(45) DEFAULT NULL, |
| 255 | PRIMARY KEY (`network_id`,`subnet_id`) |
| 256 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 257 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 258 | |
| 259 | -- |
| 260 | -- Table structure for table `GENERIC_L3_NETWORK_VPN_BINDING` |
| 261 | -- |
| 262 | |
| 263 | DROP TABLE IF EXISTS `GENERIC_L3_NETWORK_VPN_BINDING`; |
| 264 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 265 | /*!40101 SET character_set_client = utf8 */; |
| 266 | CREATE TABLE `GENERIC_L3_NETWORK_VPN_BINDING` ( |
| 267 | `network_id` varchar(80) NOT NULL, |
| 268 | `vpn_id` varchar(80) NOT NULL, |
| 269 | PRIMARY KEY (`network_id`,`vpn_id`) |
| 270 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 271 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 272 | |
| 273 | -- |
| 274 | -- Table structure for table `GENERIC_VNF` |
| 275 | -- |
| 276 | |
| 277 | DROP TABLE IF EXISTS `GENERIC_VNF`; |
| 278 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 279 | /*!40101 SET character_set_client = utf8 */; |
| 280 | CREATE TABLE `GENERIC_VNF` ( |
| 281 | `vnf_id` varchar(80) NOT NULL, |
| 282 | `vnf_name` varchar(80) NOT NULL, |
| 283 | `vnf_type` varchar(200) NOT NULL, |
| 284 | `vnf_name2` varchar(80) DEFAULT NULL, |
| 285 | `service_id` varchar(80) NOT NULL, |
| 286 | `equipment_role` varchar(80) NOT NULL, |
| 287 | `orchestration_status` varchar(20) DEFAULT NULL, |
| 288 | `prov_status` varchar(20) DEFAULT NULL, |
| 289 | `heat_stack_id` varchar(80) DEFAULT NULL, |
| 290 | `mso_catalog_key` varchar(80) DEFAULT NULL, |
| 291 | `regional_resource_zone` varchar(80) DEFAULT NULL, |
| 292 | `operational_state` varchar(80) DEFAULT NULL, |
| 293 | `license_key` varchar(80) DEFAULT NULL, |
| 294 | `ipv4_oam_address` varchar(20) DEFAULT NULL, |
| 295 | `ipv4_loopback0_address` varchar(20) DEFAULT NULL, |
| 296 | `nm_lan_v6_address` varchar(40) DEFAULT NULL, |
| 297 | `management_v6_address` varchar(40) DEFAULT NULL, |
| 298 | `management_option` varchar(45) DEFAULT NULL, |
| 299 | `vcpu` varchar(45) DEFAULT NULL, |
| 300 | `vmemory` varchar(45) DEFAULT NULL, |
| 301 | `vdisk` varchar(45) DEFAULT NULL, |
| 302 | `vcpu_units` varchar(45) DEFAULT NULL, |
| 303 | `vmemory_units` varchar(45) DEFAULT NULL, |
| 304 | `vdisk_units` varchar(45) DEFAULT NULL, |
| 305 | PRIMARY KEY (`vnf_id`) |
| 306 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 307 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 308 | |
| 309 | -- |
| 310 | -- Table structure for table `GENERIC_VNF_L3_NETWORK` |
| 311 | -- |
| 312 | |
| 313 | DROP TABLE IF EXISTS `GENERIC_VNF_L3_NETWORK`; |
| 314 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 315 | /*!40101 SET character_set_client = utf8 */; |
| 316 | CREATE TABLE `GENERIC_VNF_L3_NETWORK` ( |
| 317 | `vnf_id` varchar(80) NOT NULL, |
| 318 | `network_id` varchar(80) NOT NULL, |
| 319 | PRIMARY KEY (`vnf_id`,`network_id`) |
| 320 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 321 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 322 | |
| 323 | -- |
| 324 | -- Table structure for table `GENERIC_VNF_LICENSE_MANAGEMENT` |
| 325 | -- |
| 326 | |
| 327 | DROP TABLE IF EXISTS `GENERIC_VNF_LICENSE_MANAGEMENT`; |
| 328 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 329 | /*!40101 SET character_set_client = utf8 */; |
| 330 | CREATE TABLE `GENERIC_VNF_LICENSE_MANAGEMENT` ( |
| 331 | `vnf_id` varchar(80) NOT NULL, |
| 332 | `att_uuid` varchar(80) NOT NULL, |
| 333 | PRIMARY KEY (`vnf_id`,`att_uuid`) |
| 334 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 335 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 336 | |
| 337 | -- |
| 338 | -- Table structure for table `GENERIC_VNF_LINTERFACE` |
| 339 | -- |
| 340 | |
| 341 | DROP TABLE IF EXISTS `GENERIC_VNF_LINTERFACE`; |
| 342 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 343 | /*!40101 SET character_set_client = utf8 */; |
| 344 | CREATE TABLE `GENERIC_VNF_LINTERFACE` ( |
| 345 | `vnf_id` varchar(80) NOT NULL, |
| 346 | `interface_name` varchar(255) NOT NULL, |
| 347 | `interface_role` varchar(45) DEFAULT NULL, |
| 348 | `v6_wan_link_ip` varchar(45) DEFAULT NULL, |
| 349 | `selflink` varchar(128) DEFAULT NULL, |
| 350 | `interface_id` varchar(45) DEFAULT NULL, |
| 351 | `macaddr` varchar(64) DEFAULT NULL, |
| 352 | `network_name` varchar(255) DEFAULT NULL, |
| 353 | PRIMARY KEY (`vnf_id`,`interface_name`), |
| 354 | KEY `FK_GENERIC_VNF_LINTERFACE_GENERIC_VNF_IDX` (`vnf_id`), |
| 355 | CONSTRAINT `FK_GENERIC_VNF_LINTERFACE_GENERIC_VNF` FOREIGN KEY (`vnf_id`) REFERENCES `GENERIC_VNF` (`vnf_id`) ON DELETE NO ACTION ON UPDATE NO ACTION |
| 356 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 357 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 358 | |
| 359 | -- |
| 360 | -- Table structure for table `GENERIC_VNF_PSERVER` |
| 361 | -- |
| 362 | |
| 363 | DROP TABLE IF EXISTS `GENERIC_VNF_PSERVER`; |
| 364 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 365 | /*!40101 SET character_set_client = utf8 */; |
| 366 | CREATE TABLE `GENERIC_VNF_PSERVER` ( |
| 367 | `vnf_id` varchar(64) NOT NULL, |
| 368 | `hostname` varchar(255) NOT NULL, |
| 369 | PRIMARY KEY (`vnf_id`,`hostname`) |
| 370 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 371 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 372 | |
| 373 | -- |
| 374 | -- Table structure for table `GENERIC_VNF_SERVICE_INSTANCE` |
| 375 | -- |
| 376 | |
| 377 | DROP TABLE IF EXISTS `GENERIC_VNF_SERVICE_INSTANCE`; |
| 378 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 379 | /*!40101 SET character_set_client = utf8 */; |
| 380 | CREATE TABLE `GENERIC_VNF_SERVICE_INSTANCE` ( |
| 381 | `vnf_id` varchar(64) NOT NULL, |
| 382 | `service_instance_id` varchar(255) NOT NULL, |
| 383 | `relationship_key` varchar(64) NOT NULL, |
| 384 | `relationship_value` varchar(64) DEFAULT NULL, |
| 385 | `global_customer_id` varchar(255) DEFAULT NULL, |
| 386 | `service_type` varchar(255) DEFAULT NULL, |
| 387 | PRIMARY KEY (`vnf_id`,`service_instance_id`,`relationship_key`) |
| 388 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 389 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 390 | |
| 391 | -- |
| 392 | -- Table structure for table `GENERIC_VNF_VNF_IMAGE` |
| 393 | -- |
| 394 | |
| 395 | DROP TABLE IF EXISTS `GENERIC_VNF_VNF_IMAGE`; |
| 396 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 397 | /*!40101 SET character_set_client = utf8 */; |
| 398 | CREATE TABLE `GENERIC_VNF_VNF_IMAGE` ( |
| 399 | `vnf_id` varchar(64) NOT NULL, |
| 400 | `att_uuid` varchar(255) NOT NULL, |
| 401 | PRIMARY KEY (`vnf_id`,`att_uuid`) |
| 402 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 403 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 404 | |
| 405 | -- |
| 406 | -- Table structure for table `GENERIC_VNF_VSERVER` |
| 407 | -- |
| 408 | |
| 409 | DROP TABLE IF EXISTS `GENERIC_VNF_VSERVER`; |
| 410 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 411 | /*!40101 SET character_set_client = utf8 */; |
| 412 | CREATE TABLE `GENERIC_VNF_VSERVER` ( |
| 413 | `vnf_id` varchar(80) NOT NULL, |
| 414 | `vserver_id` varchar(128) NOT NULL, |
| 415 | `tenant_id` varchar(128) DEFAULT NULL, |
| 416 | PRIMARY KEY (`vnf_id`,`vserver_id`) |
| 417 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 418 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 419 | |
| 420 | -- |
| 421 | -- Table structure for table `GENERIC_VPN_BINDING` |
| 422 | -- |
| 423 | |
| 424 | DROP TABLE IF EXISTS `GENERIC_VPN_BINDING`; |
| 425 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 426 | /*!40101 SET character_set_client = utf8 */; |
| 427 | CREATE TABLE `GENERIC_VPN_BINDING` ( |
| 428 | `vpn_id` varchar(80) NOT NULL, |
| 429 | `vpn_name` varchar(80) NOT NULL, |
| 430 | `global_route_target` varchar(80) NOT NULL, |
| 431 | PRIMARY KEY (`vpn_id`) |
| 432 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 433 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 434 | |
| 435 | -- |
| 436 | -- Table structure for table `HOSTNAME` |
| 437 | -- |
| 438 | |
| 439 | DROP TABLE IF EXISTS `HOSTNAME`; |
| 440 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 441 | /*!40101 SET character_set_client = utf8 */; |
| 442 | CREATE TABLE `HOSTNAME` ( |
| 443 | `hostname` varchar(21) NOT NULL, |
| 444 | `parent_hostname` varchar(21) DEFAULT NULL, |
| 445 | `cust_id` int(11) NOT NULL, |
| 446 | `loc_id` int(11) NOT NULL, |
| 447 | `site_sequence` varchar(2) NOT NULL, |
| 448 | `server_sequence` varchar(2) NOT NULL, |
| 449 | `activation_code` varchar(11) DEFAULT NULL, |
| 450 | `vnf_sequence` varchar(2) DEFAULT NULL, |
| 451 | `vendor_code` varchar(1) NOT NULL, |
| 452 | `virtual_device_type` varchar(2) DEFAULT NULL, |
| 453 | `device_sequence` varchar(3) DEFAULT NULL, |
| 454 | `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 455 | PRIMARY KEY (`hostname`), |
| 456 | KEY `IN1_HOSTNAME` (`cust_id`), |
| 457 | KEY `IN2_HOSTNAME` (`loc_id`), |
| 458 | KEY `IN3_HOSTNAME` (`vendor_code`), |
| 459 | KEY `IN4_HOSTNAME` (`parent_hostname`), |
| 460 | CONSTRAINT `FK1_HOSTNAME` FOREIGN KEY (`cust_id`) REFERENCES `CUSTOMER` (`cust_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, |
| 461 | CONSTRAINT `FK2_HOSTNAME` FOREIGN KEY (`loc_id`) REFERENCES `LOCATION` (`loc_id`) ON DELETE NO ACTION ON UPDATE NO ACTION, |
| 462 | CONSTRAINT `FK3_HOSTNAME` FOREIGN KEY (`vendor_code`) REFERENCES `VENDOR_CODE` (`vendor_code`) ON DELETE NO ACTION ON UPDATE NO ACTION, |
| 463 | CONSTRAINT `FK4_HOSTNAME` FOREIGN KEY (`parent_hostname`) REFERENCES `HOSTNAME` (`hostname`) ON DELETE NO ACTION ON UPDATE NO ACTION |
| 464 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 465 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 466 | |
| 467 | -- |
| 468 | -- Table structure for table `IPV4_ADDRESS_POOL` |
| 469 | -- |
| 470 | |
| 471 | DROP TABLE IF EXISTS `IPV4_ADDRESS_POOL`; |
| 472 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 473 | /*!40101 SET character_set_client = utf8 */; |
| 474 | CREATE TABLE `IPV4_ADDRESS_POOL` ( |
| 475 | `aic_site_id` varchar(100) NOT NULL, |
| 476 | `universe` varchar(40) NOT NULL, |
| 477 | `status` varchar(40) NOT NULL, |
| 478 | `ipv4_addr` varchar(20) NOT NULL, |
| 479 | PRIMARY KEY (`ipv4_addr`,`universe`) |
| 480 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 481 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 482 | |
| 483 | -- |
| 484 | -- Table structure for table `LINTERFACE_VLAN` |
| 485 | -- |
| 486 | |
| 487 | DROP TABLE IF EXISTS `LINTERFACE_VLAN`; |
| 488 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 489 | /*!40101 SET character_set_client = utf8 */; |
| 490 | CREATE TABLE `LINTERFACE_VLAN` ( |
| 491 | `vnf_id` varchar(80) NOT NULL, |
| 492 | `interface_name` varchar(255) NOT NULL, |
| 493 | `vlan_interface` varchar(255) NOT NULL, |
| 494 | `vlan_id_inner` varchar(64) DEFAULT NULL, |
| 495 | `vlan_id_outer` varchar(64) DEFAULT NULL, |
| 496 | PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`), |
| 497 | KEY `FK_LINTERFACE_VLAN_GENERIC_VNF_LINTERFACE_IDX` (`vnf_id`,`interface_name`), |
| 498 | CONSTRAINT `FK_LINTERFACE_VLAN_GENERIC_VNF_LINTERFACE` FOREIGN KEY (`vnf_id`, `interface_name`) REFERENCES `GENERIC_VNF_LINTERFACE` (`vnf_id`, `interface_name`) ON DELETE NO ACTION ON UPDATE NO ACTION |
| 499 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 500 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 501 | |
| 502 | -- |
| 503 | -- Table structure for table `LOCATION` |
| 504 | -- |
| 505 | |
| 506 | DROP TABLE IF EXISTS `LOCATION`; |
| 507 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 508 | /*!40101 SET character_set_client = utf8 */; |
| 509 | CREATE TABLE `LOCATION` ( |
| 510 | `loc_id` int(11) NOT NULL AUTO_INCREMENT, |
| 511 | `address` varchar(150) NOT NULL, |
| 512 | `city_code_id` int(11) NOT NULL, |
| 513 | `create_date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, |
| 514 | PRIMARY KEY (`loc_id`), |
| 515 | KEY `IN1_LOCATION_IDX` (`city_code_id`), |
| 516 | CONSTRAINT `FK1_LOCATION` FOREIGN KEY (`city_code_id`) REFERENCES `CITY_CODE` (`city_code_id`) ON DELETE NO ACTION ON UPDATE NO ACTION |
| 517 | ) ENGINE=InnoDB AUTO_INCREMENT=112 DEFAULT CHARSET=latin1; |
| 518 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 519 | |
| 520 | -- |
| 521 | -- Table structure for table `MAX_PORT_SPEED` |
| 522 | -- |
| 523 | |
| 524 | DROP TABLE IF EXISTS `MAX_PORT_SPEED`; |
| 525 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 526 | /*!40101 SET character_set_client = utf8 */; |
| 527 | CREATE TABLE `MAX_PORT_SPEED` ( |
| 528 | `max_port_speed_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 529 | `image_file_name` varchar(50) NOT NULL, |
| 530 | `end_point_position` varchar(50) NOT NULL, |
| 531 | `interface_name` varchar(100) NOT NULL, |
| 532 | `max_speed` bigint(20) NOT NULL, |
| 533 | `unit` varchar(10) NOT NULL, |
| 534 | PRIMARY KEY (`max_port_speed_id`), |
| 535 | UNIQUE KEY `max_port_speed_id` (`max_port_speed_id`) |
| 536 | ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=latin1; |
| 537 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 538 | |
| 539 | -- |
| 540 | -- Table structure for table `MAX_SERVER_SPEED` |
| 541 | -- |
| 542 | |
| 543 | DROP TABLE IF EXISTS `MAX_SERVER_SPEED`; |
| 544 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 545 | /*!40101 SET character_set_client = utf8 */; |
| 546 | CREATE TABLE `MAX_SERVER_SPEED` ( |
| 547 | `max_server_speed_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 548 | `server_model` varchar(50) NOT NULL, |
| 549 | `evc_count` smallint(6) NOT NULL, |
| 550 | `max_speed` bigint(20) NOT NULL, |
| 551 | `unit` varchar(10) NOT NULL, |
| 552 | `description` varchar(500) DEFAULT NULL, |
| 553 | PRIMARY KEY (`max_server_speed_id`), |
| 554 | UNIQUE KEY `max_server_speed_id` (`max_server_speed_id`) |
| 555 | ) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=latin1; |
| 556 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 557 | |
Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 558 | |
Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 559 | |
| 560 | -- |
| 561 | -- Table structure for table `NETWORK_PROFILE` |
| 562 | -- |
| 563 | |
| 564 | DROP TABLE IF EXISTS `NETWORK_PROFILE`; |
| 565 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 566 | /*!40101 SET character_set_client = utf8 */; |
| 567 | CREATE TABLE `NETWORK_PROFILE` ( |
| 568 | `network_type` varchar(100) NOT NULL, |
| 569 | `technology` varchar(100) NOT NULL, |
| 570 | PRIMARY KEY (`network_type`) |
| 571 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 572 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 573 | |
| 574 | -- |
| 575 | -- Table structure for table `NETWORK_ROLE_VPN_BINDING` |
| 576 | -- |
| 577 | |
| 578 | DROP TABLE IF EXISTS `NETWORK_ROLE_VPN_BINDING`; |
| 579 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 580 | /*!40101 SET character_set_client = utf8 */; |
| 581 | CREATE TABLE `NETWORK_ROLE_VPN_BINDING` ( |
| 582 | `network_role` varchar(80) NOT NULL, |
| 583 | `vpn_id` varchar(80) NOT NULL, |
| 584 | PRIMARY KEY (`network_role`,`vpn_id`) |
| 585 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 586 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 587 | |
| 588 | -- |
| 589 | -- Table structure for table `NODE_TYPES` |
| 590 | -- |
| 591 | |
| 592 | DROP TABLE IF EXISTS `NODE_TYPES`; |
| 593 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 594 | /*!40101 SET character_set_client = utf8 */; |
| 595 | CREATE TABLE `NODE_TYPES` ( |
| 596 | `nodetype` varchar(80) NOT NULL, |
| 597 | PRIMARY KEY (`nodetype`) |
| 598 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 599 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 600 | |
| 601 | -- |
| 602 | -- Table structure for table `PARAMETERS` |
| 603 | -- |
| 604 | |
| 605 | DROP TABLE IF EXISTS `PARAMETERS`; |
| 606 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 607 | /*!40101 SET character_set_client = utf8 */; |
| 608 | CREATE TABLE `PARAMETERS` ( |
| 609 | `name` varchar(100) NOT NULL, |
| 610 | `value` varchar(24) NOT NULL, |
| 611 | `category` varchar(24) DEFAULT NULL, |
| 612 | `memo` varchar(128) DEFAULT NULL, |
| 613 | PRIMARY KEY (`name`) |
| 614 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 615 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 616 | |
| 617 | -- |
| 618 | -- Table structure for table `PHYSICAL_LINK` |
| 619 | -- |
| 620 | |
| 621 | DROP TABLE IF EXISTS `PHYSICAL_LINK`; |
| 622 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 623 | /*!40101 SET character_set_client = utf8 */; |
| 624 | CREATE TABLE `PHYSICAL_LINK` ( |
| 625 | `link_name` varchar(255) NOT NULL, |
| 626 | `speed_value` varchar(64) DEFAULT NULL, |
| 627 | `speed_units` varchar(64) DEFAULT NULL, |
| 628 | `circuit_id` varchar(255) NOT NULL, |
| 629 | `dual_mode` varchar(64) NOT NULL, |
| 630 | PRIMARY KEY (`link_name`) |
| 631 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 632 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 633 | |
| 634 | -- |
| 635 | -- Table structure for table `PHYSICAL_LINK_PINTERFACE` |
| 636 | -- |
| 637 | |
| 638 | DROP TABLE IF EXISTS `PHYSICAL_LINK_PINTERFACE`; |
| 639 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 640 | /*!40101 SET character_set_client = utf8 */; |
| 641 | CREATE TABLE `PHYSICAL_LINK_PINTERFACE` ( |
| 642 | `link_name` varchar(255) NOT NULL, |
| 643 | `hostname` varchar(255) NOT NULL, |
| 644 | `port_name_ft` varchar(255) NOT NULL, |
| 645 | PRIMARY KEY (`link_name`,`hostname`,`port_name_ft`) |
| 646 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 647 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 648 | |
| 649 | -- |
| 650 | -- Table structure for table `PINTERFACE` |
| 651 | -- |
| 652 | |
| 653 | DROP TABLE IF EXISTS `PINTERFACE`; |
| 654 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 655 | /*!40101 SET character_set_client = utf8 */; |
| 656 | CREATE TABLE `PINTERFACE` ( |
| 657 | `hostname` varchar(255) NOT NULL, |
| 658 | `port_name_ft` varchar(255) NOT NULL, |
| 659 | `interface_name` varchar(255) DEFAULT '', |
| 660 | `physical_speed` varchar(255) DEFAULT '', |
| 661 | `physical_units` varchar(255) DEFAULT '', |
| 662 | `port_description` varchar(255) DEFAULT '', |
| 663 | PRIMARY KEY (`hostname`,`port_name_ft`) |
| 664 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 665 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 666 | |
| 667 | -- |
| 668 | -- Table structure for table `PORTAL_USERS` |
| 669 | -- |
| 670 | |
| 671 | DROP TABLE IF EXISTS `PORTAL_USERS`; |
| 672 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 673 | /*!40101 SET character_set_client = utf8 */; |
| 674 | CREATE TABLE `PORTAL_USERS` ( |
| 675 | `email` varchar(64) NOT NULL, |
| 676 | `password` varbinary(255) NOT NULL, |
| 677 | `privilege` char(1) NOT NULL, |
| 678 | PRIMARY KEY (`email`) |
| 679 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 680 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 681 | |
Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 682 | |
| 683 | -- |
| 684 | -- Table structure for table `PSERVER` |
| 685 | -- |
| 686 | |
| 687 | DROP TABLE IF EXISTS `PSERVER`; |
| 688 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 689 | /*!40101 SET character_set_client = utf8 */; |
| 690 | CREATE TABLE `PSERVER` ( |
| 691 | `hostname` varchar(255) NOT NULL, |
| 692 | `ptnii_equip_name` varchar(255) DEFAULT '', |
| 693 | `number_of_cpus` varchar(255) DEFAULT '', |
| 694 | `disk_in_gigabytes` varchar(255) DEFAULT '', |
| 695 | `ram_in_megabytes` varchar(255) DEFAULT '', |
| 696 | `equip_type` varchar(255) DEFAULT '', |
| 697 | `equip_vendor` varchar(255) DEFAULT '', |
| 698 | `equip_model` varchar(255) DEFAULT '', |
| 699 | `fqdn` varchar(255) DEFAULT '', |
| 700 | `pserver_selflink` varchar(255) DEFAULT '', |
| 701 | `ipv4_oam_address` varchar(40) DEFAULT NULL, |
| 702 | `serial_number` varchar(255) DEFAULT '', |
| 703 | `pserver_id` varchar(255) DEFAULT '', |
| 704 | `internet_topology` varchar(40) DEFAULT '', |
| 705 | `aic_site_id` varchar(100) DEFAULT '', |
| 706 | `in_maint` varchar(5) DEFAULT '', |
| 707 | `pserver_name2` varchar(255) DEFAULT '', |
| 708 | `purpose` varchar(255) DEFAULT '', |
| 709 | PRIMARY KEY (`hostname`) |
| 710 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 711 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 712 | |
| 713 | -- |
| 714 | -- Table structure for table `RANGE_RULE` |
| 715 | -- |
| 716 | |
| 717 | DROP TABLE IF EXISTS `RANGE_RULE`; |
| 718 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 719 | /*!40101 SET character_set_client = utf8 */; |
| 720 | CREATE TABLE `RANGE_RULE` ( |
| 721 | `range_rule_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 722 | `range_name` varchar(50) NOT NULL, |
| 723 | `service_model` varchar(50) NOT NULL, |
| 724 | `end_point_position` varchar(50) NOT NULL, |
| 725 | `equipment_level` varchar(50) NOT NULL, |
| 726 | `min_value` int(11) NOT NULL, |
| 727 | `max_value` int(11) NOT NULL, |
| 728 | PRIMARY KEY (`range_rule_id`) |
| 729 | ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=latin1; |
| 730 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 731 | |
| 732 | -- |
| 733 | -- Table structure for table `RESOURCE` |
| 734 | -- |
| 735 | |
| 736 | DROP TABLE IF EXISTS `RESOURCE`; |
| 737 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 738 | /*!40101 SET character_set_client = utf8 */; |
| 739 | CREATE TABLE `RESOURCE` ( |
| 740 | `resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 741 | `asset_id` varchar(100) NOT NULL, |
| 742 | `resource_name` varchar(50) NOT NULL, |
| 743 | `resource_type` enum('Limit','Label','Range') NOT NULL, |
| 744 | `lt_used` bigint(20) DEFAULT NULL, |
| 745 | `ll_label` varchar(50) DEFAULT NULL, |
| 746 | `ll_reference_count` smallint(6) DEFAULT NULL, |
| 747 | `rr_used` varchar(4000) DEFAULT NULL, |
| 748 | PRIMARY KEY (`resource_id`), |
| 749 | UNIQUE KEY `resource_id` (`resource_id`), |
| 750 | UNIQUE KEY `IX1_RESOURCE` (`asset_id`,`resource_name`) |
| 751 | ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=latin1; |
| 752 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 753 | |
| 754 | -- |
| 755 | -- Table structure for table `RESOURCE_LOAD` |
| 756 | -- |
| 757 | |
| 758 | DROP TABLE IF EXISTS `RESOURCE_LOAD`; |
| 759 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 760 | /*!40101 SET character_set_client = utf8 */; |
| 761 | CREATE TABLE `RESOURCE_LOAD` ( |
| 762 | `resource_load_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 763 | `resource_id` bigint(20) NOT NULL, |
| 764 | `application_id` varchar(20) NOT NULL, |
| 765 | `resource_load_time` datetime NOT NULL, |
| 766 | `resource_expiration_time` datetime DEFAULT NULL, |
| 767 | PRIMARY KEY (`resource_load_id`), |
| 768 | UNIQUE KEY `resource_load_id` (`resource_load_id`), |
| 769 | UNIQUE KEY `IX2_RESOURCE_LOAD` (`resource_id`,`application_id`), |
| 770 | KEY `IX1_RESOURCE_LOAD` (`resource_id`) |
| 771 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 772 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 773 | |
| 774 | -- |
| 775 | -- Table structure for table `RESOURCE_LOCK` |
| 776 | -- |
| 777 | |
| 778 | DROP TABLE IF EXISTS `RESOURCE_LOCK`; |
| 779 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 780 | /*!40101 SET character_set_client = utf8 */; |
| 781 | CREATE TABLE `RESOURCE_LOCK` ( |
| 782 | `resource_lock_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 783 | `resource_name` varchar(50) NOT NULL, |
| 784 | `lock_holder` varchar(100) NOT NULL, |
| 785 | `lock_count` smallint(6) NOT NULL, |
| 786 | `lock_time` datetime NOT NULL, |
| 787 | `expiration_time` datetime NOT NULL, |
| 788 | PRIMARY KEY (`resource_lock_id`), |
| 789 | UNIQUE KEY `resource_lock_id` (`resource_lock_id`), |
| 790 | UNIQUE KEY `IX1_RESOURCE_LOCK` (`resource_name`) |
| 791 | ) ENGINE=InnoDB AUTO_INCREMENT=2951 DEFAULT CHARSET=latin1; |
| 792 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 793 | |
| 794 | -- |
| 795 | -- Table structure for table `RESOURCE_RULE` |
| 796 | -- |
| 797 | |
| 798 | DROP TABLE IF EXISTS `RESOURCE_RULE`; |
| 799 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 800 | /*!40101 SET character_set_client = utf8 */; |
| 801 | CREATE TABLE `RESOURCE_RULE` ( |
| 802 | `resource_rule_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 803 | `resource_name` varchar(50) NOT NULL, |
| 804 | `service_model` varchar(50) NOT NULL, |
| 805 | `end_point_position` varchar(50) NOT NULL, |
| 806 | `service_expression` varchar(2000) NOT NULL, |
| 807 | `equipment_level` varchar(50) NOT NULL, |
| 808 | `equipment_expression` varchar(2000) NOT NULL, |
| 809 | `allocation_expression` varchar(2000) NOT NULL, |
| 810 | `soft_limit_expression` varchar(2000) NOT NULL, |
| 811 | `hard_limit_expression` varchar(2000) NOT NULL, |
| 812 | PRIMARY KEY (`resource_rule_id`), |
| 813 | UNIQUE KEY `resource_rule_id` (`resource_rule_id`) |
| 814 | ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=latin1; |
| 815 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 816 | |
| 817 | -- |
| 818 | -- Table structure for table `RESOURCE_THRESHOLD` |
| 819 | -- |
| 820 | |
| 821 | DROP TABLE IF EXISTS `RESOURCE_THRESHOLD`; |
| 822 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 823 | /*!40101 SET character_set_client = utf8 */; |
| 824 | CREATE TABLE `RESOURCE_THRESHOLD` ( |
| 825 | `resource_threshold_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 826 | `resource_rule_id` bigint(20) NOT NULL, |
| 827 | `threshold_expression` varchar(2000) NOT NULL, |
| 828 | `threshold_message` varchar(2000) NOT NULL, |
| 829 | PRIMARY KEY (`resource_threshold_id`) |
| 830 | ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=latin1; |
| 831 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 832 | |
Dan Timoney | 471dafa | 2017-08-21 14:44:05 -0400 | [diff] [blame] | 833 | |
| 834 | -- |
| 835 | -- Table structure for table `SERVICE_RESOURCE` |
| 836 | -- |
| 837 | |
| 838 | DROP TABLE IF EXISTS `SERVICE_RESOURCE`; |
| 839 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 840 | /*!40101 SET character_set_client = utf8 */; |
| 841 | CREATE TABLE `SERVICE_RESOURCE` ( |
| 842 | `service_resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 843 | `service_instance_id` varchar(80) NOT NULL, |
| 844 | `service_status` enum('Active','Pending') NOT NULL, |
| 845 | `service_change_number` smallint(6) NOT NULL, |
| 846 | `resource_set_id` varchar(100) NOT NULL, |
| 847 | `resource_union_id` varchar(100) NOT NULL, |
| 848 | PRIMARY KEY (`service_instance_id`,`service_change_number`), |
| 849 | UNIQUE KEY `service_resource_id` (`service_resource_id`), |
| 850 | KEY `IX1_SERVICE_RESOURCE` (`service_instance_id`) |
| 851 | ) ENGINE=InnoDB AUTO_INCREMENT=2203 DEFAULT CHARSET=latin1; |
| 852 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 853 | |
| 854 | -- |
| 855 | -- Table structure for table `SVC_LOGIC` |
| 856 | -- |
| 857 | |
| 858 | DROP TABLE IF EXISTS `SVC_LOGIC`; |
| 859 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 860 | /*!40101 SET character_set_client = utf8 */; |
| 861 | CREATE TABLE `SVC_LOGIC` ( |
| 862 | `module` varchar(80) NOT NULL, |
| 863 | `rpc` varchar(80) NOT NULL, |
| 864 | `version` varchar(40) NOT NULL, |
| 865 | `mode` varchar(5) NOT NULL, |
| 866 | `active` varchar(1) NOT NULL, |
| 867 | `graph` longblob, |
| 868 | PRIMARY KEY (`module`,`rpc`,`version`,`mode`) |
| 869 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 870 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 871 | |
| 872 | -- |
| 873 | -- Table structure for table `TENANT` |
| 874 | -- |
| 875 | |
| 876 | DROP TABLE IF EXISTS `TENANT`; |
| 877 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 878 | /*!40101 SET character_set_client = utf8 */; |
| 879 | CREATE TABLE `TENANT` ( |
| 880 | `tenant_id` varchar(255) NOT NULL, |
| 881 | `tenant_name` varchar(255) NOT NULL, |
| 882 | `service_instance_id` varchar(255) NOT NULL, |
| 883 | PRIMARY KEY (`tenant_id`,`tenant_name`) |
| 884 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 885 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 886 | |
| 887 | -- |
| 888 | -- Table structure for table `THRESHOLD_NOTIFICATION` |
| 889 | -- |
| 890 | |
| 891 | DROP TABLE IF EXISTS `THRESHOLD_NOTIFICATION`; |
| 892 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 893 | /*!40101 SET character_set_client = utf8 */; |
| 894 | CREATE TABLE `THRESHOLD_NOTIFICATION` ( |
| 895 | `resource_id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, |
| 896 | `threshold_expression` varchar(2000) DEFAULT NULL, |
| 897 | `threshold_message` varchar(500) DEFAULT NULL, |
| 898 | PRIMARY KEY (`resource_id`) |
| 899 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 900 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 901 | |
| 902 | |
| 903 | -- |
| 904 | -- Table structure for table `VENDOR_CODE` |
| 905 | -- |
| 906 | |
| 907 | DROP TABLE IF EXISTS `VENDOR_CODE`; |
| 908 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 909 | /*!40101 SET character_set_client = utf8 */; |
| 910 | CREATE TABLE `VENDOR_CODE` ( |
| 911 | `vendor_code` varchar(1) NOT NULL, |
| 912 | `vendor` varchar(45) DEFAULT NULL, |
| 913 | PRIMARY KEY (`vendor_code`) |
| 914 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 915 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 916 | |
| 917 | -- |
| 918 | -- Table structure for table `VLAN_ID_POOL` |
| 919 | -- |
| 920 | |
| 921 | DROP TABLE IF EXISTS `VLAN_ID_POOL`; |
| 922 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 923 | /*!40101 SET character_set_client = utf8 */; |
| 924 | CREATE TABLE `VLAN_ID_POOL` ( |
| 925 | `aic_site_id` varchar(100) NOT NULL, |
| 926 | `purpose` varchar(40) NOT NULL, |
| 927 | `status` varchar(40) NOT NULL, |
| 928 | `vlan_id` int(4) NOT NULL, |
| 929 | `svc_instance_id` varchar(80) DEFAULT NULL, |
| 930 | `availability_zone` varchar(100) DEFAULT NULL, |
| 931 | `vplspe_name` varchar(80) DEFAULT NULL, |
| 932 | PRIMARY KEY (`vlan_id`,`aic_site_id`,`purpose`) |
| 933 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 934 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 935 | |
| 936 | -- |
| 937 | -- Table structure for table `VLAN_L3INTERFACE_IPV4_ADDRESS` |
| 938 | -- |
| 939 | |
| 940 | DROP TABLE IF EXISTS `VLAN_L3INTERFACE_IPV4_ADDRESS`; |
| 941 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 942 | /*!40101 SET character_set_client = utf8 */; |
| 943 | CREATE TABLE `VLAN_L3INTERFACE_IPV4_ADDRESS` ( |
| 944 | `vnf_id` varchar(80) NOT NULL, |
| 945 | `interface_name` varchar(255) NOT NULL, |
| 946 | `vlan_interface` varchar(255) NOT NULL, |
| 947 | `l3_interface_ipv4_address` varchar(64) NOT NULL, |
| 948 | `l3_interface_ipv4_prefix_length` varchar(45) DEFAULT NULL, |
| 949 | `vlan_id_inner` varchar(45) DEFAULT NULL, |
| 950 | `vlan_id_outer` varchar(45) DEFAULT NULL, |
| 951 | `is_floating` varchar(1) DEFAULT NULL, |
| 952 | PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`,`l3_interface_ipv4_address`), |
| 953 | KEY `FK_VLAN_L3INTERFACE_IPV4_ADDRESS_LINTERFACE_VLAN_IDX` (`vnf_id`,`interface_name`), |
| 954 | CONSTRAINT `FK_VLAN_L3INTERFACE_IPV4_ADDRESS_LINTERFACE_VLAN` FOREIGN KEY (`vnf_id`, `interface_name`, `vlan_interface`) REFERENCES `LINTERFACE_VLAN` (`vnf_id`, `interface_name`, `vlan_interface`) ON DELETE NO ACTION ON UPDATE NO ACTION |
| 955 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 956 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 957 | |
| 958 | -- |
| 959 | -- Table structure for table `VLAN_L3INTERFACE_IPV6_ADDRESS` |
| 960 | -- |
| 961 | |
| 962 | DROP TABLE IF EXISTS `VLAN_L3INTERFACE_IPV6_ADDRESS`; |
| 963 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 964 | /*!40101 SET character_set_client = utf8 */; |
| 965 | CREATE TABLE `VLAN_L3INTERFACE_IPV6_ADDRESS` ( |
| 966 | `vnf_id` varchar(80) NOT NULL, |
| 967 | `interface_name` varchar(255) NOT NULL, |
| 968 | `vlan_interface` varchar(255) NOT NULL, |
| 969 | `l3_interface_ipv6_address` varchar(64) NOT NULL, |
| 970 | `l3_interface_ipv6_prefix_length` varchar(45) DEFAULT NULL, |
| 971 | `vlan_id_inner` varchar(45) DEFAULT NULL, |
| 972 | `vlan_id_outer` varchar(45) DEFAULT NULL, |
| 973 | `is_floating` varchar(1) DEFAULT NULL, |
| 974 | PRIMARY KEY (`vnf_id`,`interface_name`,`vlan_interface`,`l3_interface_ipv6_address`), |
| 975 | KEY `FK_VLAN_L3INTERFACE_IPV6_ADDRESS_LINTERFACE_VLAN_IDX` (`vnf_id`,`interface_name`,`vlan_interface`), |
| 976 | CONSTRAINT `FK_VLAN_L3INTERFACE_IPV6_ADDRESS_LINTERFACE_VLAN` FOREIGN KEY (`vnf_id`, `interface_name`, `vlan_interface`) REFERENCES `LINTERFACE_VLAN` (`vnf_id`, `interface_name`, `vlan_interface`) ON DELETE NO ACTION ON UPDATE NO ACTION |
| 977 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 978 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 979 | |
| 980 | -- |
| 981 | -- Table structure for table `VLAN_PLAN_ID` |
| 982 | -- |
| 983 | |
| 984 | DROP TABLE IF EXISTS `VLAN_PLAN_ID`; |
| 985 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 986 | /*!40101 SET character_set_client = utf8 */; |
| 987 | CREATE TABLE `VLAN_PLAN_ID` ( |
| 988 | `plan_type` varchar(40) NOT NULL, |
| 989 | `purpose` varchar(40) NOT NULL, |
| 990 | `vlan_plan_id_count` int(4) NOT NULL, |
| 991 | PRIMARY KEY (`vlan_plan_id_count`,`plan_type`,`purpose`) |
| 992 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 993 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 994 | |
| 995 | -- |
| 996 | -- Table structure for table `VLAN_POOL` |
| 997 | -- |
| 998 | |
| 999 | DROP TABLE IF EXISTS `VLAN_POOL`; |
| 1000 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1001 | /*!40101 SET character_set_client = utf8 */; |
| 1002 | CREATE TABLE `VLAN_POOL` ( |
| 1003 | `aic_site_id` varchar(100) NOT NULL, |
| 1004 | `availability_zone` varchar(100) NOT NULL, |
| 1005 | `vlan_plan_id` varchar(100) NOT NULL, |
| 1006 | `plan_type` varchar(40) NOT NULL, |
| 1007 | `purpose` varchar(40) NOT NULL, |
| 1008 | `vlan_id` int(4) NOT NULL, |
| 1009 | `status` varchar(40) NOT NULL, |
| 1010 | `reserved_id` varchar(80) DEFAULT NULL, |
| 1011 | PRIMARY KEY (`aic_site_id`,`availability_zone`,`vlan_plan_id`,`plan_type`,`purpose`,`vlan_id`) |
| 1012 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1013 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1014 | |
| 1015 | -- |
| 1016 | -- Table structure for table `VLAN_RANGES` |
| 1017 | -- |
| 1018 | |
| 1019 | DROP TABLE IF EXISTS `VLAN_RANGES`; |
| 1020 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1021 | /*!40101 SET character_set_client = utf8 */; |
| 1022 | CREATE TABLE `VLAN_RANGES` ( |
| 1023 | `vlan_plan_id` varchar(100) NOT NULL, |
| 1024 | `plan_type` varchar(40) NOT NULL, |
| 1025 | `purpose` varchar(40) NOT NULL, |
| 1026 | `range_start` int(4) NOT NULL, |
| 1027 | `range_end` int(4) NOT NULL, |
| 1028 | `generated` char(1) DEFAULT NULL, |
| 1029 | PRIMARY KEY (`vlan_plan_id`,`plan_type`,`purpose`,`range_start`,`range_end`) |
| 1030 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1031 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1032 | |
| 1033 | -- |
| 1034 | -- Table structure for table `VM_NETWORKS` |
| 1035 | -- |
| 1036 | |
| 1037 | DROP TABLE IF EXISTS `VM_NETWORKS`; |
| 1038 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1039 | /*!40101 SET character_set_client = utf8 */; |
| 1040 | CREATE TABLE `VM_NETWORKS` ( |
| 1041 | `vnf_type` varchar(200) NOT NULL, |
| 1042 | `vm_type` varchar(45) NOT NULL, |
| 1043 | `network_role` varchar(45) NOT NULL, |
| 1044 | `assign_ips` tinyint(1) NOT NULL, |
| 1045 | `assign_macs` tinyint(1) NOT NULL, |
| 1046 | `assign_floating_ip` tinyint(1) NOT NULL, |
| 1047 | `ip_count` int(11) DEFAULT NULL, |
| 1048 | PRIMARY KEY (`vnf_type`,`vm_type`,`network_role`) |
| 1049 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1050 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1051 | |
| 1052 | -- |
| 1053 | -- Table structure for table `VM_PROFILE` |
| 1054 | -- |
| 1055 | |
| 1056 | DROP TABLE IF EXISTS `VM_PROFILE`; |
| 1057 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1058 | /*!40101 SET character_set_client = utf8 */; |
| 1059 | CREATE TABLE `VM_PROFILE` ( |
| 1060 | `vnf_type` varchar(200) NOT NULL, |
| 1061 | `vm_type` varchar(45) NOT NULL, |
| 1062 | `vm_count` int(11) NOT NULL, |
| 1063 | PRIMARY KEY (`vnf_type`,`vm_type`) |
| 1064 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1065 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1066 | |
| 1067 | -- |
| 1068 | -- Table structure for table `VNF` |
| 1069 | -- |
| 1070 | |
| 1071 | DROP TABLE IF EXISTS `VNF`; |
| 1072 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1073 | /*!40101 SET character_set_client = utf8 */; |
| 1074 | CREATE TABLE `VNF` ( |
| 1075 | `vnf_id` varchar(80) NOT NULL, |
| 1076 | `vnf_name` varchar(80) NOT NULL, |
| 1077 | `vnf_type` varchar(10) NOT NULL, |
| 1078 | `orchestration_status` varchar(20) DEFAULT NULL, |
| 1079 | `heat_stack_id` varchar(80) DEFAULT NULL, |
| 1080 | `mso_catalog_key` varchar(80) DEFAULT NULL, |
| 1081 | `availability_zone` varchar(80) DEFAULT NULL, |
| 1082 | `aic_site_id` varchar(80) DEFAULT NULL, |
| 1083 | `oam_ipv4_address` varchar(20) DEFAULT NULL, |
| 1084 | `vnf_name2` varchar(80) DEFAULT NULL, |
| 1085 | `vpe_id` varchar(80) NOT NULL, |
| 1086 | `ipv4_loopback0_address` varchar(80) DEFAULT NULL, |
| 1087 | `license_key` varchar(256) DEFAULT NULL, |
| 1088 | `entitlement_resource_uuid` varchar(256) DEFAULT NULL, |
| 1089 | PRIMARY KEY (`vnf_id`) |
| 1090 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1091 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1092 | |
| 1093 | -- |
| 1094 | -- Table structure for table `VNF_IMAGE` |
| 1095 | -- |
| 1096 | |
| 1097 | DROP TABLE IF EXISTS `VNF_IMAGE`; |
| 1098 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1099 | /*!40101 SET character_set_client = utf8 */; |
| 1100 | CREATE TABLE `VNF_IMAGE` ( |
| 1101 | `application_vendor` varchar(255) NOT NULL, |
| 1102 | `application_version` varchar(255) NOT NULL, |
| 1103 | `att_uuid` varchar(255) NOT NULL, |
| 1104 | `application` varchar(255) DEFAULT NULL, |
| 1105 | `selflink` varchar(255) DEFAULT NULL, |
| 1106 | PRIMARY KEY (`application_vendor`,`application_version`,`att_uuid`) |
| 1107 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1108 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1109 | |
| 1110 | -- |
| 1111 | -- Table structure for table `VNF_MODEL_LICENSES` |
| 1112 | -- |
| 1113 | |
| 1114 | DROP TABLE IF EXISTS `VNF_MODEL_LICENSES`; |
| 1115 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1116 | /*!40101 SET character_set_client = utf8 */; |
| 1117 | CREATE TABLE `VNF_MODEL_LICENSES` ( |
| 1118 | `att_part_number` varchar(255) NOT NULL, |
| 1119 | `license_assignment_group` varchar(255) NOT NULL, |
| 1120 | `license_required` tinyint(1) DEFAULT NULL, |
| 1121 | `entitlement_assignment_group` varchar(255) DEFAULT NULL, |
| 1122 | `entitlement_required` tinyint(1) DEFAULT NULL, |
| 1123 | `feature_group_uuid` varchar(255) DEFAULT NULL, |
| 1124 | PRIMARY KEY (`att_part_number`,`license_assignment_group`) |
| 1125 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1126 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1127 | |
| 1128 | -- |
| 1129 | -- Table structure for table `VNF_MODEL_LICENSE_FEATURES` |
| 1130 | -- |
| 1131 | |
| 1132 | DROP TABLE IF EXISTS `VNF_MODEL_LICENSE_FEATURES`; |
| 1133 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1134 | /*!40101 SET character_set_client = utf8 */; |
| 1135 | CREATE TABLE `VNF_MODEL_LICENSE_FEATURES` ( |
| 1136 | `att_part_number` varchar(255) NOT NULL, |
| 1137 | `license_assignment_group` varchar(255) NOT NULL, |
| 1138 | `feature` varchar(255) NOT NULL, |
| 1139 | PRIMARY KEY (`att_part_number`,`license_assignment_group`,`feature`) |
| 1140 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1141 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1142 | |
| 1143 | -- |
| 1144 | -- Table structure for table `VNF_NETWORKS` |
| 1145 | -- |
| 1146 | |
| 1147 | DROP TABLE IF EXISTS `VNF_NETWORKS`; |
| 1148 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1149 | /*!40101 SET character_set_client = utf8 */; |
| 1150 | CREATE TABLE `VNF_NETWORKS` ( |
| 1151 | `vnf_type` varchar(200) NOT NULL, |
| 1152 | `network_role` varchar(45) NOT NULL, |
| 1153 | PRIMARY KEY (`vnf_type`,`network_role`) |
| 1154 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1155 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1156 | |
| 1157 | -- |
| 1158 | -- Table structure for table `VNF_NETWORK_CONNECTION` |
| 1159 | -- |
| 1160 | |
| 1161 | DROP TABLE IF EXISTS `VNF_NETWORK_CONNECTION`; |
| 1162 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1163 | /*!40101 SET character_set_client = utf8 */; |
| 1164 | CREATE TABLE `VNF_NETWORK_CONNECTION` ( |
| 1165 | `connection_uuid` varchar(80) NOT NULL, |
| 1166 | `vnf_id` varchar(80) NOT NULL, |
| 1167 | `connection_id` varchar(80) DEFAULT NULL, |
| 1168 | `connection_type` varchar(20) DEFAULT NULL, |
| 1169 | `neutron_network_id` varchar(80) DEFAULT NULL, |
| 1170 | `neutron_network_name` varchar(80) DEFAULT NULL, |
| 1171 | `orchestration_status` varchar(20) DEFAULT NULL, |
| 1172 | `switch_id` varchar(40) DEFAULT NULL, |
| 1173 | `heat_stack_id` varchar(80) DEFAULT NULL, |
| 1174 | `mso_catalog_key` varchar(80) DEFAULT NULL, |
| 1175 | `provider_network` varchar(80) DEFAULT NULL, |
| 1176 | `port_group_id` varchar(80) DEFAULT NULL, |
| 1177 | `port_group_name` varchar(80) DEFAULT NULL, |
| 1178 | PRIMARY KEY (`connection_uuid`) |
| 1179 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1180 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1181 | |
| 1182 | -- |
| 1183 | -- Table structure for table `VNF_NETWORK_CONNECTION_VLAN` |
| 1184 | -- |
| 1185 | |
| 1186 | DROP TABLE IF EXISTS `VNF_NETWORK_CONNECTION_VLAN`; |
| 1187 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1188 | /*!40101 SET character_set_client = utf8 */; |
| 1189 | CREATE TABLE `VNF_NETWORK_CONNECTION_VLAN` ( |
| 1190 | `vlan_uuid` varchar(80) NOT NULL, |
| 1191 | `vlan_id` int(4) NOT NULL, |
| 1192 | `vlan_type` varchar(5) NOT NULL, |
| 1193 | `connection_uuid` varchar(80) DEFAULT NULL, |
| 1194 | PRIMARY KEY (`vlan_uuid`) |
| 1195 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1196 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1197 | |
| 1198 | -- |
| 1199 | -- Table structure for table `VNF_PROFILE` |
| 1200 | -- |
| 1201 | |
| 1202 | DROP TABLE IF EXISTS `VNF_PROFILE`; |
| 1203 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1204 | /*!40101 SET character_set_client = utf8 */; |
| 1205 | CREATE TABLE `VNF_PROFILE` ( |
| 1206 | `vnf_type` varchar(200) NOT NULL, |
| 1207 | `availability_zone_count` int(11) NOT NULL, |
| 1208 | `equipment_role` varchar(80) NOT NULL, |
| 1209 | PRIMARY KEY (`vnf_type`) |
| 1210 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1211 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1212 | |
| 1213 | -- |
| 1214 | -- Table structure for table `VPE_LOCK` |
| 1215 | -- |
| 1216 | |
| 1217 | DROP TABLE IF EXISTS `VPE_LOCK`; |
| 1218 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1219 | /*!40101 SET character_set_client = utf8 */; |
| 1220 | CREATE TABLE `VPE_LOCK` ( |
| 1221 | `vpe_name` varchar(20) NOT NULL, |
| 1222 | `vpn_lock` varchar(20) NOT NULL, |
| 1223 | PRIMARY KEY (`vpe_name`) |
| 1224 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1225 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1226 | |
| 1227 | -- |
| 1228 | -- Table structure for table `VPE_POOL` |
| 1229 | -- |
| 1230 | |
| 1231 | DROP TABLE IF EXISTS `VPE_POOL`; |
| 1232 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1233 | /*!40101 SET character_set_client = utf8 */; |
| 1234 | CREATE TABLE `VPE_POOL` ( |
| 1235 | `vpe_name` varchar(20) NOT NULL, |
| 1236 | `ipv4_oam_address` varchar(20) NOT NULL, |
| 1237 | `loopback0_ipv4_address` varchar(20) NOT NULL, |
| 1238 | `provisioning_status` varchar(10) NOT NULL, |
| 1239 | `aic_site_id` varchar(100) NOT NULL, |
| 1240 | `availability_zone` varchar(100) NOT NULL, |
| 1241 | `vlan_id_outer` varchar(20) NOT NULL, |
| 1242 | `vendor` varchar(20) NOT NULL, |
| 1243 | `physical_intf_name` varchar(40) NOT NULL, |
| 1244 | `physical_intf_speed` varchar(20) NOT NULL, |
| 1245 | `physical_intf_units` varchar(20) NOT NULL, |
| 1246 | `vpe_uuid` varchar(80) DEFAULT NULL, |
| 1247 | `vpe_id` varchar(80) NOT NULL, |
| 1248 | `image_filename` varchar(100) DEFAULT NULL, |
| 1249 | `as_number` varchar(20) NOT NULL, |
| 1250 | `loopback5000` varchar(16) DEFAULT NULL, |
| 1251 | `loopback10` varchar(16) DEFAULT NULL, |
| 1252 | PRIMARY KEY (`aic_site_id`,`vpe_name`,`availability_zone`) |
| 1253 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1254 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1255 | |
| 1256 | -- |
| 1257 | -- Table structure for table `VPLSPE_POOL` |
| 1258 | -- |
| 1259 | |
| 1260 | DROP TABLE IF EXISTS `VPLSPE_POOL`; |
| 1261 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1262 | /*!40101 SET character_set_client = utf8 */; |
| 1263 | CREATE TABLE `VPLSPE_POOL` ( |
| 1264 | `vplspe_name` varchar(20) NOT NULL, |
| 1265 | `aic_site_id` varchar(100) NOT NULL, |
| 1266 | `availability_zone` varchar(100) NOT NULL, |
| 1267 | `physical_intf_name` varchar(40) NOT NULL, |
| 1268 | `physical_intf_speed` varchar(20) NOT NULL, |
| 1269 | `physical_intf_units` varchar(20) NOT NULL, |
| 1270 | `loopback0_ipv4_address` varchar(20) NOT NULL, |
| 1271 | `vlan_id_outer` varchar(20) NOT NULL, |
| 1272 | `vplspe_uuid` varchar(80) DEFAULT NULL, |
| 1273 | `image_filename` varchar(100) DEFAULT NULL, |
| 1274 | `provisioning_status` varchar(10) DEFAULT NULL, |
| 1275 | `vendor` varchar(20) DEFAULT NULL, |
| 1276 | PRIMARY KEY (`vplspe_name`,`aic_site_id`,`availability_zone`,`physical_intf_name`) |
| 1277 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1278 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1279 | |
| 1280 | -- |
| 1281 | -- Table structure for table `VSERVER` |
| 1282 | -- |
| 1283 | |
| 1284 | DROP TABLE IF EXISTS `VSERVER`; |
| 1285 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1286 | /*!40101 SET character_set_client = utf8 */; |
| 1287 | CREATE TABLE `VSERVER` ( |
| 1288 | `tenant_id` varchar(40) NOT NULL, |
| 1289 | `vserver_id` varchar(40) NOT NULL, |
| 1290 | `aic_site_id` varchar(100) NOT NULL, |
| 1291 | `vendor` varchar(20) NOT NULL, |
| 1292 | `image_name` varchar(100) NOT NULL, |
| 1293 | `vnf_type` varchar(10) NOT NULL, |
| 1294 | `vnf_id` varchar(80) NOT NULL, |
| 1295 | PRIMARY KEY (`tenant_id`,`vserver_id`) |
| 1296 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1297 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1298 | |
| 1299 | -- |
| 1300 | -- Table structure for table `VSERVER2` |
| 1301 | -- |
| 1302 | |
| 1303 | DROP TABLE IF EXISTS `VSERVER2`; |
| 1304 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1305 | /*!40101 SET character_set_client = utf8 */; |
| 1306 | CREATE TABLE `VSERVER2` ( |
| 1307 | `tenant_id` varchar(255) NOT NULL, |
| 1308 | `vserver_id` varchar(128) NOT NULL, |
| 1309 | `vserver_name` varchar(255) NOT NULL, |
| 1310 | `vserver_name2` varchar(255) DEFAULT NULL, |
| 1311 | `prov_status` varchar(20) DEFAULT NULL, |
| 1312 | `selflink` varchar(255) DEFAULT NULL, |
| 1313 | PRIMARY KEY (`tenant_id`,`vserver_id`) |
| 1314 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1315 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1316 | |
| 1317 | -- |
| 1318 | -- Table structure for table `VSERVER_PSERVER` |
| 1319 | -- |
| 1320 | |
| 1321 | DROP TABLE IF EXISTS `VSERVER_PSERVER`; |
| 1322 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1323 | /*!40101 SET character_set_client = utf8 */; |
| 1324 | CREATE TABLE `VSERVER_PSERVER` ( |
| 1325 | `vserver_id` varchar(128) NOT NULL, |
| 1326 | `pserver_hostname` varchar(255) DEFAULT NULL, |
| 1327 | PRIMARY KEY (`vserver_id`) |
| 1328 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1329 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1330 | |
| 1331 | -- |
| 1332 | -- Table structure for table `WAN_COMBO_ALLOWABLE` |
| 1333 | -- |
| 1334 | |
| 1335 | DROP TABLE IF EXISTS `WAN_COMBO_ALLOWABLE`; |
| 1336 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1337 | /*!40101 SET character_set_client = utf8 */; |
| 1338 | CREATE TABLE `WAN_COMBO_ALLOWABLE` ( |
| 1339 | `combo_sequence` int(11) NOT NULL AUTO_INCREMENT, |
| 1340 | `internet_topology` varchar(20) DEFAULT NULL, |
| 1341 | `wan1` varchar(40) DEFAULT NULL, |
| 1342 | `wan2` varchar(40) DEFAULT NULL, |
| 1343 | `new_start_release` char(5) DEFAULT NULL, |
| 1344 | `description` varchar(128) NOT NULL, |
| 1345 | PRIMARY KEY (`combo_sequence`), |
| 1346 | UNIQUE KEY `IX1_WAN_COMBO_ALLOWABLE` (`internet_topology`,`wan1`,`wan2`) |
| 1347 | ) ENGINE=InnoDB AUTO_INCREMENT=47 DEFAULT CHARSET=latin1; |
| 1348 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1349 | |
| 1350 | -- |
| 1351 | -- Table structure for table `emp1000` |
| 1352 | -- |
| 1353 | |
| 1354 | DROP TABLE IF EXISTS `emp1000`; |
| 1355 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1356 | /*!40101 SET character_set_client = utf8 */; |
| 1357 | CREATE TABLE `emp1000` ( |
| 1358 | `firstName` varchar(20) DEFAULT NULL, |
| 1359 | `lastName` varchar(20) DEFAULT NULL |
| 1360 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1361 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1362 | |
| 1363 | -- |
| 1364 | -- Table structure for table `linda` |
| 1365 | -- |
| 1366 | |
| 1367 | DROP TABLE IF EXISTS `linda`; |
| 1368 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1369 | /*!40101 SET character_set_client = utf8 */; |
| 1370 | CREATE TABLE `linda` ( |
| 1371 | `c1` int(11) DEFAULT NULL |
| 1372 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1373 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1374 | |
| 1375 | -- |
| 1376 | -- Table structure for table `testit` |
| 1377 | -- |
| 1378 | |
| 1379 | DROP TABLE IF EXISTS `testit`; |
| 1380 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1381 | /*!40101 SET character_set_client = utf8 */; |
| 1382 | CREATE TABLE `testit` ( |
| 1383 | `c1` varchar(12) DEFAULT NULL, |
| 1384 | `c2` int(11) DEFAULT NULL |
| 1385 | ) ENGINE=InnoDB DEFAULT CHARSET=latin1; |
| 1386 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1387 | |
| 1388 | -- |
| 1389 | -- Table structure for table `testtable` |
| 1390 | -- |
| 1391 | |
| 1392 | DROP TABLE IF EXISTS `testtable`; |
| 1393 | /*!40101 SET @saved_cs_client = @@character_set_client */; |
| 1394 | /*!40101 SET character_set_client = utf8 */; |
| 1395 | CREATE TABLE `testtable` ( |
| 1396 | `city_code_id` int(11) NOT NULL AUTO_INCREMENT, |
| 1397 | `city_code` varchar(3) NOT NULL, |
| 1398 | `city` varchar(150) NOT NULL, |
| 1399 | `state` varchar(10) NOT NULL, |
| 1400 | `country_code` varchar(10) NOT NULL, |
| 1401 | PRIMARY KEY (`city_code_id`), |
| 1402 | KEY `IN1_testtable` (`city`,`state`,`country_code`) |
| 1403 | ) ENGINE=InnoDB AUTO_INCREMENT=37756 DEFAULT CHARSET=latin1; |
| 1404 | /*!40101 SET character_set_client = @saved_cs_client */; |
| 1405 | SET @@SESSION.SQL_LOG_BIN = @MYSQLDUMP_TEMP_LOG_BIN; |
| 1406 | /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */; |
| 1407 | |
| 1408 | /*!40101 SET SQL_MODE=@OLD_SQL_MODE */; |
| 1409 | /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */; |
| 1410 | /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */; |
| 1411 | /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; |
| 1412 | /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; |
| 1413 | /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */; |
| 1414 | /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */; |
| 1415 | |
| 1416 | -- Dump completed on 2016-11-23 16:01:55 |