commit | 65723ae236821e71f12ba1a23c3ed1d47ab44e7f | [log] [tgz] |
---|---|---|
author | sanghoshin <sangho@onlab.us> | Tue Nov 17 22:07:21 2015 +0900 |
committer | sanghoshin <sangho@onlab.us> | Thu Dec 10 09:39:00 2015 +0900 |
tree | 41844312c6890874b596d4ab91e08abf090564f5 | |
parent | 00e4ee2714d239bfad9edd71acefcea19d2f8899 [diff] |
SONA: OpenstackSwitching - remove flows - Remove the corresponding flows when VMs are removed. - Remove the IP mapping of the VM removed from the DHCP service (even when doNotPushFlows is true) - Updated the network config json file to reflect the change of cordvtn Change-Id: I4c359d456422ece37b93e6366f2fd4daaf081a37
diff --git a/apps/openstackswitching/api/src/main/java/org/onosproject/openstackswitching/OpenstackSwitchingService.java b/apps/openstackswitching/api/src/main/java/org/onosproject/openstackswitching/OpenstackSwitchingService.java index 59b8db0..be566f0 100644 --- a/apps/openstackswitching/api/src/main/java/org/onosproject/openstackswitching/OpenstackSwitchingService.java +++ b/apps/openstackswitching/api/src/main/java/org/onosproject/openstackswitching/OpenstackSwitchingService.java
@@ -35,13 +35,14 @@ * Removes flow rules corresponding to the port removed by Openstack. * */ - void deletePorts(); + void deletePort(String uuid); /** * Updates flow rules corresponding to the port information updated by Openstack. * + * @param openstackPort */ - void updatePorts(); + void updatePort(OpenstackPort openstackPort); /** * Stores the network information created by openstack.