mirror of
https://github.com/opennetworkinglab/onos.git
synced 2026-05-05 12:16:13 +02:00
Remove host location when a switch port is removed
Change-Id: I7c729b7d65d3918964dedf3c10f30a278b5e03b6
This commit is contained in:
parent
9f5b52bee6
commit
3305efe879
@ -778,7 +778,9 @@ public class HostLocationProvider extends AbstractProvider implements HostProvid
|
||||
}
|
||||
break;
|
||||
case PORT_REMOVED:
|
||||
// Nothing to do?
|
||||
if (hostRemovalEnabled) {
|
||||
processPortDown(new ConnectPoint(device.id(), event.port().number()));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user