Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Delete Open vSwitch flows matching the nic port
When two users instantiate a VM template, they both get the same IP, so the same MAC address, in their own respective networks differenciated by VLAN ID. When one of them delete her VM, the flow is removed for the other VM too since the flows are selected only by matching MAC address. * src/vnm_mad/remotes/ovswitch/OpenvSwitch.rb (OpenvSwitchVLAN#deactivate): Delet flows on the nic port matching the MAC address, take care of nonexistent port. * src/vnm_mad/remotes/ovswitch/OpenvSwitch.rb (OpenvSwitchVLAN#del_flows): Remove useless function.
- Loading branch information