<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body style="text-align:left; direction:ltr;">
<div>Dear all,</div>
<div><br>
</div>
<div>In the context of the addition of online resizing of libvirt network volumes (RBD), we have added a new parameter in the extend_volume function.</div>
<div>Although we have adapted all the drivers in nova codebase to support this new parameter, out of tree drivers could be affected by this change.</div>
<div><br>
</div>
<div>This is the interface with the new parameter "requested_size"</div>
<div><br>
</div>
<div>    def extend_volume(self, connection_info, instance, requested_size):</div>
<div>        """Extend the disk attached to the instance.</div>
<div>        :param dict connection_info:</div>
<div>            The connection for the extended volume.</div>
<div>        :param nova.objects.instance.Instance instance:</div>
<div>            The instance whose volume gets extended.</div>
<div>        :param int requested_size</div>
<div>            The requested new size of the volume in bytes</div>
<div>        :return: None</div>
<div>        """</div>
<div><br>
</div>
<div>Here is the link with the change: <a href="https://review.openstack.org/#/c/613039/">
https://review.openstack.org/#/c/613039/</a></div>
<div><br>
</div>
<div>Cheers,</div>
<div>Jose Castro Leon</div>
<div>CERN Cloud Infrastructure Service</div>
<div><br>
</div>
<div>
<table class="highlight tab-size js-file-line-container" data-tab-size="8" style="box-sizing: border-box; border-collapse: collapse; border-spacing: 0px; tab-size: 8; color: rgb(36, 41, 46); font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 14px; orphans: 2; widows: 2;">
<tbody style="box-sizing: border-box;">
<tr style="box-sizing: border-box;">
<br>
</tr>
<tr style="box-sizing: border-box;">
<br>
</tr>
<tr style="box-sizing: border-box;">
<br>
<td id="LC560" class="blob-code blob-code-inner js-file-line" style="box-sizing: border-box; padding: 0px 10px; line-height: 20px; position: relative; vertical-align: top; font-family: SFMono-Regular, Consolas, "Liberation Mono", Menlo, Courier, monospace; font-size: 12px; overflow: visible; white-space: pre; word-wrap: normal;">
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>