commit | 00433e51c9f784bfeed65138f9dfc4a53dfd9cc4 | [log] [tgz] |
---|---|---|
author | sathishg <sathish.govindasamy@radisys.com> | Tue May 23 16:07:41 2017 +0530 |
committer | khenaidoo Nursimulu <knursimu@ciena.com> | Fri Jun 02 06:50:06 2017 -0700 |
tree | 06ab90dbaf0b753ddbf0f17ccf5b7aa795523222 | |
parent | 2f1a3f8a4694c0b2916f02f8c7e1d36850d8637e [diff] [blame] |
https://jira.opencord.org/browse/CORD-1174 Inclusion of generation_id validation during master/slave election. Addressed Review comments Change-Id: Ib9e15617fb70204d47cf5f3b06ae94fa3e0e7ea3
diff --git a/ofagent/agent.py b/ofagent/agent.py index 354683a..55c8bfb 100644 --- a/ofagent/agent.py +++ b/ofagent/agent.py
@@ -32,6 +32,9 @@ class Agent(protocol.ClientFactory): + generation_is_defined = False + cached_generation_id = None + def __init__(self, controller_endpoint, datapath_id,