Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Michele Santuari
2016-03-28 10:12:04 -0700
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
6ebb36e564a189f026144e6acee753760a07e0a6
6ebb36e5
1 parent
dce08158
fix mastership
Change-Id: I1f82bfed7ba98df492326c9c4a7be0764b3a6488
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
core/net/src/main/java/org/onosproject/cluster/impl/MastershipManager.java
core/net/src/main/java/org/onosproject/cluster/impl/MastershipManager.java
View file @
6ebb36e
...
...
@@ -444,7 +444,7 @@ public class MastershipManager
}
// Create buckets reflecting current ownership.
for
(
NodeId
nodeId
:
masterSet
)
{
if
(
clusterService
.
getState
(
nodeId
)
==
ACTIVE
)
{
if
(
clusterService
.
getState
(
nodeId
)
.
isActive
()
)
{
ControllerNode
controllerNode
=
clusterService
.
getNode
(
nodeId
);
Set
<
DeviceId
>
devicesOf
=
new
HashSet
<>(
allControllerDevices
.
get
(
controllerNode
));
regionalControllerDevices
.
put
(
controllerNode
,
devicesOf
);
...
...
Please
register
or
login
to post a comment