Committed by
Gerrit Code Review
Removed static DHCP mapping when a VM is vanished
Change-Id: I96aad216ebb061396bf0af9a733b14dbde20cdaa
Showing
1 changed file
with
1 additions
and
0 deletions
... | @@ -482,6 +482,7 @@ public class CordVtn extends AbstractProvider implements CordVtnService, HostPro | ... | @@ -482,6 +482,7 @@ public class CordVtn extends AbstractProvider implements CordVtnService, HostPro |
482 | host.ipAddresses().stream().findFirst().get()); | 482 | host.ipAddresses().stream().findFirst().get()); |
483 | 483 | ||
484 | ruleInstaller.removeBasicConnectionRules(host); | 484 | ruleInstaller.removeBasicConnectionRules(host); |
485 | + dhcpService.removeStaticMapping(host.mac()); | ||
485 | 486 | ||
486 | CordService service = getCordService(vNet); | 487 | CordService service = getCordService(vNet); |
487 | if (service == null) { | 488 | if (service == null) { | ... | ... |
-
Please register or login to post a comment