From: Robert Varga Date: Fri, 1 Apr 2016 21:36:33 +0000 (+0200) Subject: BUG-5626: Move leaderId/leaderPayloadVersion fields X-Git-Tag: release/boron~247 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=ce0c4f4fc0557aaf46a73913a18b83ec29051570;hp=ce0c4f4fc0557aaf46a73913a18b83ec29051570;p=controller.git BUG-5626: Move leaderId/leaderPayloadVersion fields Handling of getLeaderId() depends on behavior: - for (Isolated)Leader, it is always its local ID - for Candidate it is always null - for Follower it can vary The same is true of leader payload version. This patch moves these two fields to Follower, makes Candidate return constants and makes Leader return the values stored in the local context. Change-Id: I0fca58ab985f14460eef9647a89ede02242e6e7c Signed-off-by: Robert Varga ---