[openstack-dev] [OpenStack-dev][neutron] whether vm's port in use could be deleted?

Yangxurong yangxurong at huawei.com
Wed Jul 9 00:54:39 UTC 2014


Hi, folks,



My usecase follows:

1. create two vms A and B by using the ports that have been created.

2. vm A can ping vm B

3. Delete one port of A or B

4. vm A can still ping vm B



IMO, ping should not be ok when vm's port have been deleted.



Two alternative solution:

1. do more restriction in def prevent_l3_port_deletion(self, context, port_id), we should not allow to delete the ports in use.

2.permit to delete the port but notify ovs-agent to unbind the port.



Any thoughts? Looking forward to your response.



Cheers,

XuRong Yang

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20140709/3fa029e6/attachment.html>


More information about the OpenStack-dev mailing list