commit | 1b2355e788e18356c4af1642823c47e4bb9726dc | [log] [tgz] |
---|---|---|
author | Hyunsun Moon <hyunsun.moon@gmail.com> | Wed Feb 03 14:44:06 2016 -0800 |
committer | Gerrit Code Review <gerrit@onlab.us> | Wed Feb 03 23:13:04 2016 +0000 |
tree | 7fb6a65dbbca7705d568c753d3950840ff2423d2 | |
parent | 8b530e31360119ebe0c1840b71e30110096e8ff6 [diff] |
Removed static DHCP mapping when a VM is vanished Change-Id: I96aad216ebb061396bf0af9a733b14dbde20cdaa
diff --git a/src/main/java/org/onosproject/cordvtn/CordVtn.java b/src/main/java/org/onosproject/cordvtn/CordVtn.java index 4c0bf72..bd8dad2 100644 --- a/src/main/java/org/onosproject/cordvtn/CordVtn.java +++ b/src/main/java/org/onosproject/cordvtn/CordVtn.java
@@ -482,6 +482,7 @@ host.ipAddresses().stream().findFirst().get()); ruleInstaller.removeBasicConnectionRules(host); + dhcpService.removeStaticMapping(host.mac()); CordService service = getCordService(vNet); if (service == null) {