git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]


Actually, Iâ??m using the same kind of scenario here( same ip address to different neutron port)
I changed neutron db schema so it can assign same ip address to different port ( I also changed the neutron policy. only admin can use this function)
In this scenario, 
If i need to have a new port with the previous IP, 
I just create new port with the same IP. and I use this function to achieve the ECMP in our cloud. 

Regards, 
Andrew

> 2017. 8. 23. ì?¤í?? 11:30, Volodymyr Litovka <doka.ua at gmx.com> ì??ì?±:
> 
> Hi Andrew,
> 
> thanks for the prompt reply.
> 
> I'm using fixed ip addresses, not floating IPs. In terms of Heat it looks like there:
> 
> n1-wan:
>   type: OS::Neutron::Port
>   properties:
>     name: n1-wan
>     network: e-net
>     fixed_ips: [ { subnet: e-subnet, ip_address: X.X.X.X } ]
> 
> n1:
>   type: OS::Nova::Server
>   properties:
>     name: n1
>     networks:
>       - port: { get_resource: n1-wan }
> 
> and there are some constraints in my installation:
> 
> 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)
> I don't want to use floating ip due to possible performance degradation when using massive NAT
> 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 :)
> 
> Thanks again.
> 
> On 8/23/17 5:17 PM, 공�� wrote:
>> Hi
>> 
>> You can use fixed ip port for this. 
>> create neutron port and attach it to the one vm. 
>> or 
>> you can use floating ip for this purpose as well 
>> 
>> Regards, 
>> Andrew
>>  
>>> 2017. 8. 23. ì?¤í?? 10:58, Volodymyr Litovka <doka.ua at gmx.com <mailto:doka.ua at gmx.com>> ì??ì?±:
>>> 
>>> Hi colleagues,
>>> 
>>> 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.
>>> 
>>> 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.
>>> 
>>> Any ideas how to prevent leasing this IP address during this time?
>>> 
>>> Thank you.
>>> -- 
>>> Volodymyr Litovka
>>>   "Vision without Execution is Hallucination." -- Thomas Edison
>>> _______________________________________________
>>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>>> Post to     : openstack at lists.openstack.org <mailto:openstack at lists.openstack.org>
>>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack <http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack>
>> 
> 
> -- 
> Volodymyr Litovka
>   "Vision without Execution is Hallucination." -- Thomas Edison

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20170823/e8913c49/attachment.html>



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/openstack/msg37704.html on line 146
Call Stack
#TimeMemoryFunctionLocation
10.0008358280{main}( ).../msg37704.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/openstack/msg37704.html on line 146
Call Stack
#TimeMemoryFunctionLocation
10.0008358280{main}( ).../msg37704.html:0