ONOS-866: Refactor the storing and handling of BgpSession info.
Moved the local and remote BGP session info to a separate class BgpSessionInfo. No functional changes. Also, removed methods TestBgpPeerChannelHandler.prepareBgpKeepalive(), prepareBgpNotification() and prepareBgpMessage() from the unit tests. Instead, use the corresponding methods in the BGP implementation itself to generate the BGP messages. Change-Id: I7f4b6ad4f6995c242cd8a9848ea527b1fcac9c11
Showing
13 changed files
with
391 additions
and
166 deletions
This diff is collapsed. Click to expand it.
This diff is collapsed. Click to expand it.
-
Please register or login to post a comment