Committed by
Gerrit Code Review
Remove app registration logic from deativate method and add logs
Change-Id: I0fd58e8deeaf2dbf8975dc9ee399a35dbdd326b9
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -192,11 +192,11 @@ public class AaaManager { | ... | @@ -192,11 +192,11 @@ public class AaaManager { |
192 | new ThreadFactoryBuilder() | 192 | new ThreadFactoryBuilder() |
193 | .setNameFormat("AAA-radius-%d").build()); | 193 | .setNameFormat("AAA-radius-%d").build()); |
194 | executor.execute(radiusListener); | 194 | executor.execute(radiusListener); |
195 | + log.info("Started"); | ||
195 | } | 196 | } |
196 | 197 | ||
197 | @Deactivate | 198 | @Deactivate |
198 | public void deactivate() { | 199 | public void deactivate() { |
199 | - appId = coreService.registerApplication("org.onosproject.aaa"); | ||
200 | withdrawIntercepts(); | 200 | withdrawIntercepts(); |
201 | // de-register and null our handler | 201 | // de-register and null our handler |
202 | packetService.removeProcessor(processor); | 202 | packetService.removeProcessor(processor); |
... | @@ -204,6 +204,7 @@ public class AaaManager { | ... | @@ -204,6 +204,7 @@ public class AaaManager { |
204 | StateMachine.destroyMaps(); | 204 | StateMachine.destroyMaps(); |
205 | radiusSocket.close(); | 205 | radiusSocket.close(); |
206 | executor.shutdownNow(); | 206 | executor.shutdownNow(); |
207 | + log.info("Stopped"); | ||
207 | } | 208 | } |
208 | 209 | ||
209 | protected void sendRadiusPacket(RADIUS radiusPacket) { | 210 | protected void sendRadiusPacket(RADIUS radiusPacket) { | ... | ... |
-
Please register or login to post a comment