<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><div>Inline PCM:</div><div><br></div><div>On Feb 14, 2013, at 4:45 AM, Gary Kotton wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<div bgcolor="#FFFFFF" text="#000000">
On 02/13/2013 02:19 PM, Paul Michali wrote:
<blockquote cite="mid:199A63A4-267B-43A8-AEBE-7F4042A89B05@cisco.com" type="cite">Had a few quick questions on bulking support.
<div><br>
</div>
<div>Are there plugins that have bulking support already?</div>
</blockquote>
<br>
The openvswitch and linuxbridge plugins support bulk network, port
and subnet creations.<br></div></blockquote><div><br></div>PCM: Thanks, I'll take a look at the UTs for these to understand how they work.</div><div><br></div><div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
<br>
I am not aware of the CLI supporting this but you can do it via the
client API. You just need to pass a list of the items that you wish
to create. I recall that Salvator opened a bug indicating the API
differs from the documentation.<br></div></blockquote><div><br></div>PCM: So to be sure that I understand… currently, there isn't a way for an end user to do bulk creation of networks/subnets/ports? To do this, an app would be needed to access the client API?</div><div><br></div><div>Also, is there a policy on handling errors with bulk operations? Is it all or none, or best effort? For example, if I want to create 3 networks, and there is an error when creating the second one in the batch, does the first get rolled back? Does the third one get skipped or is a create attempted?</div><div><br></div><div><br></div><div>Regards,</div><div><br></div><div>PCM (Paul Michali)</div><div><br></div><div><br></div><div><br><blockquote type="cite"><div bgcolor="#FFFFFF" text="#000000">
<br>
<br>
<blockquote cite="mid:199A63A4-267B-43A8-AEBE-7F4042A89B05@cisco.com" type="cite">
<div>If so, is that facilitated by the plugin itself, or via using
the base class QuantumDbPluginV2? IOW, do the bulking calls use
the base class, which in turn uses the child class non-bulking
functions to handle each item in the bulk?</div>
<div><br>
</div>
<div>From a users' perspective, how does one perform a bulk
operation (say, create network)?</div>
<div>Does the CLI support bulk operations?</div>
<div><br>
</div>
<div>Thanks!</div>
<div><br>
</div>
<div><br>
</div>
<div>
<div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; ">PCM (Paul Michali)<br>
<br>
</span></div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>
</pre>
</blockquote>
<br>
</div>
_______________________________________________<br>OpenStack-dev mailing list<br><a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev<br></blockquote></div><br></body></html>