Update IPAM_IP_POOL rows description 71/66371/1
authorAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 13 Sep 2018 13:54:22 +0000 (09:54 -0400)
committerAlexis de Talhouët <adetalhouet89@gmail.com>
Thu, 13 Sep 2018 13:54:22 +0000 (09:54 -0400)
For the self serve, in order to assign the proper prefix
id to resolve the ip address, the data dictionary will perform
lookup in the DB matching on the description field.
Here we're updating the description field to be a single
string, for vFW, we have:
- unprotected
- protected
- private

Change-Id: Ib6ade2f8d50e269a46042ea9df84b62924445223
Issue-ID: SDNC-444
Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com>
Former-commit-id: 9e9460aae555e6085ac463f5caba27f5d9fc1e1c

installation/sdnc/src/main/resources/ipam.data.dump

index 7371077..934fdc9 100644 (file)
@@ -40,7 +40,7 @@ CREATE 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,'ACTIVE','IP Pool for ONAP - general purpose'),(2,'2018-08-17 20:19:29',2,'192.168.10.0/24',4,'ACTIVE','IP Pool for unprotected network - vFW use case'),(3,'2018-08-17 20:20:08',1,'192.168.20.0/24',4,'ACTIVE','IP Pool for protected network - vFW use case');
+INSERT INTO `IPAM_IP_POOL` VALUES (1,'2018-08-17 20:15:12',3,'10.0.0.0/8',4,'ACTIVE','private'),(2,'2018-08-17 20:19:29',2,'192.168.10.0/24',4,'ACTIVE','unprotected'),(3,'2018-08-17 20:20:08',1,'192.168.20.0/24',4,'ACTIVE','protected');
 /*!40000 ALTER TABLE `IPAM_IP_POOL` ENABLE KEYS */;
 UNLOCK TABLES;
 
@@ -85,4 +85,4 @@ UNLOCK TABLES;
 /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
 /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
 
--- Dump completed on 2018-08-24 13:02:09
\ No newline at end of file
+-- Dump completed on 2018-08-24 13:02:09