Skip to content
Snippets Groups Projects
Commit fe3b9b57 authored by Monoreet Mutsuddi's avatar Monoreet Mutsuddi
Browse files

do not update switch info on SLAVE

parent 935881a1
No related branches found
No related tags found
No related merge requests found
......@@ -369,6 +369,10 @@ public class Controller implements IFloodlightProviderService,
Role oldRole = this.role;
this.role = role;
if (role == Role.MASTER) {
updateAllInactiveSwitchInfo();
}
log.debug("Submitting role change request to role {}", role);
roleChanger.submitRequest(connectedSwitches, role);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment