Controller MAC to be synced in cluster 79/779/3
authorAlessandro Boch <aboch@cisco.com>
Sat, 3 Aug 2013 16:34:23 +0000 (09:34 -0700)
committerAlessandro Boch <aboch@cisco.com>
Sat, 3 Aug 2013 16:34:23 +0000 (09:34 -0700)
commit93e4ab834487a4d86a5b6ab27adb542cc9f86233
treebbe468be19c43160d95ea51ba3e99c1720a577a7
parentd4c36ceaa53ca2d748d8c53920617d746bb4fecb
Controller MAC to be synced in cluster

CHANGE:
- Add a new property database for controller properties in switch manager.
  Switch manager maintains the container inventory and we could have
   different controller properties in different container instances.
- Have switch mgr acquire the hardware mac and set the MacAddress
  controller property only if no other controller has already done so
- Removed ReasonCode enum that was old and unused
- Rename SwitchManagerImpl class to SwitchManager as it is already part
  of the implementaiton package

Change-Id: Id3859d0ca7873ea2e3c2f597e0003bd220e90d9a
Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/Activator.java
opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManager.java [moved from opendaylight/switchmanager/implementation/src/main/java/org/opendaylight/controller/switchmanager/internal/SwitchManagerImpl.java with 96% similarity]
opendaylight/switchmanager/implementation/src/test/java/org/opendaylight/controller/switchmanager/internal/SwitchManagerTest.java [moved from opendaylight/switchmanager/implementation/src/test/java/org/opendaylight/controller/switchmanager/internal/SwitchManagerImplTest.java with 96% similarity]