<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font face="SFNS Display">Hi Andrew,</font></p>
<p><font face="SFNS Display">thanks for the prompt reply.</font></p>
<p><font face="SFNS Display">I'm using fixed ip addresses, not
floating IPs. In terms of Heat it looks like there:</font></p>
<p><font face="SFNS Display">n1-wan:<br>
type: OS::Neutron::Port<br>
properties:<br>
name: n1-wan<br>
network: e-net<br>
fixed_ips: [ { subnet: e-subnet, ip_address: X.X.X.X } ]</font></p>
<p><font face="SFNS Display">n1:<br>
type: OS::Nova::Server<br>
properties:<br>
name: n1<br>
networks:<br>
- port: { get_resource: n1-wan }<br>
</font></p>
<p><font face="SFNS Display">and there are some constraints in my
installation:</font></p>
<ol>
<li><font face="SFNS Display">I can't move ports between VMs (in
order to support predictable naming according to port roles,
their MAC addresses are stored in udev rules inside VM and if
I will change port, rules/roles will fail)</font></li>
<li><font face="SFNS Display">I don't want to use floating ip due
to possible performance degradation when using massive NAT</font></li>
</ol>
Another idea I have is to move ports between VMs, changing their
MACs accordingly and will try it if no other ways will be found :)<br>
<br>
Thanks again.<br>
<br>
<div class="moz-cite-prefix">On 8/23/17 5:17 PM, 공용준 wrote:<br>
</div>
<blockquote type="cite"
cite="mid:85E5345E-8C59-4E53-8193-54779CAC8DB0@gmail.com">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
Hi
<div class=""><br class="">
</div>
<div class="">You can use fixed ip port for this. </div>
<div class="">create neutron port and attach it to the one vm. </div>
<div class="">or </div>
<div class="">you can use floating ip for this purpose as well </div>
<div class=""><br class="">
</div>
<div class="">Regards, </div>
<div class="">Andrew</div>
<div class=""> </div>
<div class="">
<div>
<blockquote type="cite" class="">
<div class="">2017. 8. 23. 오후 10:58, Volodymyr Litovka <<a
href="mailto:doka.ua@gmx.com" class=""
moz-do-not-send="true">doka.ua@gmx.com</a>> 작성:</div>
<br class="Apple-interchange-newline">
<div class="">
<meta http-equiv="content-type" content="text/html;
charset=utf-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class="">
<p class=""><font class="" face="SFNS Display">Hi
colleagues,</font></p>
<p class=""><font class="" face="SFNS Display">imagine,
somebody (e.g. me :-) ) needs to transfer IP address
between two ports. The straight way is: release IP
address and then assign it to another port.</font></p>
<p class=""><font class="" face="SFNS Display">The
possible problem with this way is time between
release and assignment - during this time, this IP
address is in DHCP pool and can be automatically
assigned to some another port upon request.<br
class="">
</font></p>
<p class=""><font class="" face="SFNS Display">Any ideas
how to prevent leasing this IP address during this
time?</font></p>
<p class=""><font class="" face="SFNS Display">Thank
you.</font><br class="">
</p>
<pre class="moz-signature" cols="72">--
Volodymyr Litovka
"Vision without Execution is Hallucination." -- Thomas Edison
</pre>
</div>
_______________________________________________<br
class="">
Mailing list: <a
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
class="" moz-do-not-send="true">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br
class="">
Post to : <a
href="mailto:openstack@lists.openstack.org" class=""
moz-do-not-send="true">openstack@lists.openstack.org</a><br
class="">
Unsubscribe : <a
href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack"
class="" moz-do-not-send="true">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br
class="">
</div>
</blockquote>
</div>
<br class="">
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Volodymyr Litovka
"Vision without Execution is Hallucination." -- Thomas Edison
</pre>
</body>
</html>