<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">
If you have custom data you want to keep for your driver, you should create your own database tables to track that information. For example, the reference driver creates its own tables to track its data in ipam* tables.
<div class="">
<div class="">
<div class=""><br class="">
</div>
<div class="">John</div>
<div class=""><br class="">
<div>
<blockquote type="cite" class="">
<div class="">On Nov 4, 2015, at 3:46 PM, Shraddha Pandhe <<a href="mailto:spandhe.openstack@gmail.com" class="">spandhe.openstack@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div dir="ltr" class="">
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
Hi folks,</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
I have a small question/suggestion about IPAM.<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
With IPAM, we are allowing users to have their own IPAM drivers so that they can manage IP allocation. The problem is, the new ipam tables in the database have the same columns as the old tables. So, as a user, if I want to have my own logic for ip allocation,
 I can't actually get any help from the database. Whereas, if we had an arbitrary json blob in the ipam tables, I could put any useful information/tags there, that can help me for allocation.</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
Does this make sense?</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
e.g. If I want to create multiple allocation pools in a subnet and use them for different purposes, I would need some sort of tag for each allocation pool for identification. Right now, there is no scope for doing something like that.</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
Any thoughts? If there are any other way to solve the problem, please let me know<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
<div id="P6CT6HDMON5" class="" style="padding: 1px 5px; margin-bottom: 3px; font-family: 'Lucida Grande';">
<br class="">
</div>
</div>
__________________________________________________________________________<br class="">
OpenStack Development Mailing List (not for usage questions)<br class="">
Unsubscribe: <a href="mailto:OpenStack-dev-request@lists.openstack.org" class="">
OpenStack-dev-request@lists.openstack.org</a>?subject:unsubscribe<br class="">
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" class="">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</div>
</div>
</body>
</html>