bgpcep.git
10 years agoSwitched BGPMessage concept to yangtools.binding.Notification. 76/1476/1
Dana Kutenicsova [Sat, 28 Sep 2013 07:34:11 +0000 (09:34 +0200)]
Switched BGPMessage concept to yangtools.binding.Notification.

Change-Id: Iad4b2e15f8093cd8d4ff926be619a6ea9b7d65e6
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated ASPath to generated source code. 74/1474/1
Dana Kutenicsova [Fri, 27 Sep 2013 18:14:03 +0000 (20:14 +0200)]
BUG-45 : migrated ASPath to generated source code.

Change-Id: I2a8ed29f464318442f15511cf239f34d4f6e5c76
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoMerge "BUG-46: Remove deprecated API"
Dana Kutenicsova [Fri, 27 Sep 2013 21:00:44 +0000 (21:00 +0000)]
Merge "BUG-46: Remove deprecated API"

10 years agoMerge "BUG-63: remove dependency on netty-all"
Dana Kutenicsova [Fri, 27 Sep 2013 20:58:34 +0000 (20:58 +0000)]
Merge "BUG-63: remove dependency on netty-all"

10 years agoBUG-46: Remove deprecated API 66/1466/3
Robert Varga [Fri, 27 Sep 2013 15:20:58 +0000 (17:20 +0200)]
BUG-46: Remove deprecated API

Removes the old change API, which will be replaced by MD-SAL features.

Change-Id: I38de7ec3f57e5c42d14dcb371e02f498b4d24ad8
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-46: initial model for RIB 23/1423/5
Robert Varga [Fri, 27 Sep 2013 10:03:01 +0000 (12:03 +0200)]
BUG-46: initial model for RIB

Change-Id: Iebd3168012708a896a178ac089c88518729aeb2f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-63: remove dependency on netty-all 67/1467/3
Robert Varga [Fri, 27 Sep 2013 15:54:42 +0000 (17:54 +0200)]
BUG-63: remove dependency on netty-all

We pull only the artifacts needed. This also cleans up some dependency
issues.

Change-Id: Iba171561af58a9fc95e8ad30db230b27c1e928a7
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRework models for outside reuse 53/1453/4
Robert Varga [Fri, 27 Sep 2013 10:01:59 +0000 (12:01 +0200)]
Rework models for outside reuse

Change-Id: Ib2ecb642a9363655abcc74f1d40d5510c3bbfa2d
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix the dispatcher not being threadsafe 64/1464/4
Robert Varga [Thu, 19 Sep 2013 06:45:40 +0000 (08:45 +0200)]
Fix the dispatcher not being threadsafe

It turns out that the createServer/createClient calls actually need a
initializer which is protocol-specific and that listener needs to be
more than an abstract method, as there is protocol-specific state which
needs to be maintained.

Change-Id: Ia70c01183b23f79f7f1d8376cbe04c6af2f549d1
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove bad import 63/1463/4
Robert Varga [Thu, 19 Sep 2013 20:54:09 +0000 (22:54 +0200)]
Remove bad import

Change-Id: Ic94d6ca19cb512b6a2234de61c4ed9a5aa93d53a
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoSwitch AFI/SAFI to identity, so they can be extended externally 59/1459/4
Robert Varga [Fri, 27 Sep 2013 11:02:22 +0000 (13:02 +0200)]
Switch AFI/SAFI to identity, so they can be extended externally

Change-Id: Id78c6784c5f65b5d24c4e0a1f9a7eb0caae0a30b
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix two typos"
Dana Kutenicsova [Fri, 27 Sep 2013 20:32:31 +0000 (20:32 +0000)]
Merge "Fix two typos"

10 years agoFixed unstable test. 73/1473/1
Dana Kutenicsova [Fri, 27 Sep 2013 20:12:08 +0000 (22:12 +0200)]
Fixed unstable test.

Change-Id: I1c84559090bc0bcfe6c1bf5059a6b7d821d5fa07
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoFixed build. 72/1472/1
Dana Kutenicsova [Fri, 27 Sep 2013 19:59:29 +0000 (21:59 +0200)]
Fixed build.

Change-Id: I5f284999b21f86b0ddca213290692abbe82ec14b
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoFix two typos 58/1458/4
Robert Varga [Fri, 27 Sep 2013 11:21:29 +0000 (13:21 +0200)]
Fix two typos

Change-Id: Ifb912a599e6ab9e9c6a408886840aaabe902f030
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMake sure we export generated APIs 71/1471/4
Robert Varga [Fri, 27 Sep 2013 17:46:33 +0000 (19:46 +0200)]
Make sure we export generated APIs

Change-Id: I1ce3884d58bbf511d4e24074a7945da67d3489c4
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-45 : migrated NextHop to generated source code. 43/1443/1
Dana Kutenicsova [Thu, 26 Sep 2013 15:08:39 +0000 (17:08 +0200)]
BUG-45 : migrated NextHop to generated source code.

Change-Id: I14d79d16930b1f6e8b1ccba5e4e4119d83a1301d
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoMerge "BUG-45 : migrated Extended Communities path attribute to generated source...
Dana Kutenicsova [Thu, 26 Sep 2013 14:37:07 +0000 (14:37 +0000)]
Merge "BUG-45 : migrated Extended Communities path attribute to generated source code."

10 years agoBUG-45 : migrated Extended Communities path attribute to generated source code. 20/1420/3
Dana Kutenicsova [Wed, 25 Sep 2013 13:49:37 +0000 (15:49 +0200)]
BUG-45 : migrated Extended Communities path attribute to generated source code.

Change-Id: Iceeab67d48548dc46e2e57119565adf89314f0cd
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45: Remove ProtocolMessage 37/1437/1
Robert Varga [Thu, 26 Sep 2013 13:57:01 +0000 (15:57 +0200)]
BUG-45: Remove ProtocolMessage

This is a preparatory step for switching to generated messages. Remove
ProtocolMessage as a concept, allowing parser to send any object down
the pipeline.

Change-Id: I818363312d388a7ba69c594d4f049f7544a245a2
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMove path-attributes into a grouping 16/1416/1
Robert Varga [Wed, 25 Sep 2013 12:08:14 +0000 (14:08 +0200)]
Move path-attributes into a grouping

Change-Id: I31f4f354bc839855f1e6fe2c1c4da3367973a178
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix formatting 15/1415/1
Robert Varga [Wed, 25 Sep 2013 12:07:47 +0000 (14:07 +0200)]
Fix formatting

Change-Id: Ieb77cffde7da283206e6f3b96ee7484021383a54
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-45 : removed custom implementation of BgpAggregator. 07/1407/1
Dana Kutenicsova [Wed, 25 Sep 2013 07:27:48 +0000 (09:27 +0200)]
BUG-45 : removed custom implementation of BgpAggregator.

Change-Id: Ibb220b450d367df1f51b862685abcf2116d0af09
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated ClusterIdentifier path attribute to generated source code. 03/1403/1
Dana Kutenicsova [Tue, 24 Sep 2013 14:56:49 +0000 (16:56 +0200)]
BUG-45 : migrated ClusterIdentifier path attribute to generated source code.

Change-Id: Ibd6cd02b29112f81319d35f475ba5086a357b918
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoFixed unstable tests. 02/1402/1
Dana Kutenicsova [Tue, 24 Sep 2013 14:35:50 +0000 (16:35 +0200)]
Fixed unstable tests.

Change-Id: I36ffb4ae653cef1bc3e26dcd4832cd21f78f0ee8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated Community path attribute to generated code. 57/1357/4
Dana Kutenicsova [Mon, 23 Sep 2013 15:22:00 +0000 (17:22 +0200)]
BUG-45 : migrated Community path attribute to generated code.

Change-Id: Id645050b9716d21182098b58a21214ac9edfc7ef
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated AsNumber to generated source code. 45/1345/1
Dana Kutenicsova [Mon, 23 Sep 2013 12:29:52 +0000 (14:29 +0200)]
BUG-45 : migrated AsNumber to generated source code.

Change-Id: I281d02cafbf446f9b8f4cdd66b310b679adab69b
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoFixed broken build. 36/1336/2
Dana Kutenicsova [Mon, 23 Sep 2013 07:37:11 +0000 (09:37 +0200)]
Fixed broken build.

Change-Id: I035c3632bef31d46b33c8e32a1e3e088b28972d7
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated Address Family Identifier to generated source code. 14/1314/1
Dana Kutenicsova [Fri, 20 Sep 2013 11:49:31 +0000 (13:49 +0200)]
BUG-45 : migrated Address Family Identifier to generated source code.

Change-Id: Ia761983f258c37cffbd22be1548b37e2401d26bc
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBumped guava dependency to 14.0.1. 09/1309/1
Dana Kutenicsova [Fri, 20 Sep 2013 08:50:49 +0000 (10:50 +0200)]
Bumped guava dependency to 14.0.1.

Change-Id: Ib86bde1e7916e9ade934b13d8693ebd4bec0f1cb
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoFixed dependencies. 08/1308/1
Dana Kutenicsova [Fri, 20 Sep 2013 08:34:16 +0000 (10:34 +0200)]
Fixed dependencies.

Change-Id: I48576fa7dedd5e9b17a3ceefacd4184d10530454
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated Subsequent Address Family Identifier to generated source code. 95/1295/1
Dana Kutenicsova [Thu, 19 Sep 2013 14:57:54 +0000 (16:57 +0200)]
BUG-45 : migrated Subsequent Address Family Identifier to generated source code.

Change-Id: Ifa24f6d44f2ad0562d23a16d39d3d9eaea3e1fef
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated Aggregator path attribute to generated source code. 91/1291/2
Dana Kutenicsova [Thu, 19 Sep 2013 13:55:27 +0000 (15:55 +0200)]
BUG-45 : migrated Aggregator path attribute to generated source code.

Change-Id: I2c1e2dc92d2ba2e7456741f7c557a391ffb82d37
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : migrated Origin path attribute to generated source code. 88/1288/2
Dana Kutenicsova [Thu, 19 Sep 2013 12:29:05 +0000 (14:29 +0200)]
BUG-45 : migrated Origin path attribute to generated source code.

Change-Id: Iec25622d652888b7373eee5a131b13a106af6aea
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : More progress on BGP models. 85/1285/2
Dana Kutenicsova [Thu, 19 Sep 2013 09:28:24 +0000 (11:28 +0200)]
BUG-45 : More progress on BGP models.

Change-Id: I7ec1f6e6a61071144757d093be4150211cca4538
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoMerge "Bump yangtools to 0.5.8"
Dana Kutenicsova [Thu, 19 Sep 2013 08:59:05 +0000 (08:59 +0000)]
Merge "Bump yangtools to 0.5.8"

10 years agoBUG-45 : updated bgp models. Added bgp-linkstate.yang. 69/1269/2
Dana Kutenicsova [Wed, 18 Sep 2013 15:46:23 +0000 (17:46 +0200)]
BUG-45 : updated bgp models. Added bgp-linkstate.yang.

Change-Id: Ie8ca74931906c1cbf146efd529885cf53136284a
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBump yangtools to 0.5.8 70/1270/1
Robert Varga [Wed, 18 Sep 2013 16:14:02 +0000 (18:14 +0200)]
Bump yangtools to 0.5.8

Change-Id: I41fccdcbb4d96cab95da4dd26d3bd92942e665e7
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdded new model for supporting RFC4760. 63/1263/1
Dana Kutenicsova [Wed, 18 Sep 2013 12:49:44 +0000 (14:49 +0200)]
Added new model for supporting RFC4760.

Change-Id: I18e206d3d6b0af4819de3bb154a08013a6ab1ca0
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoBUG-45 : updated yang models for bgp. 55/1255/1
Dana Kutenicsova [Wed, 18 Sep 2013 09:25:01 +0000 (11:25 +0200)]
BUG-45 : updated yang models for bgp.

Change-Id: I9a0c82a76bc01c322e130bb7d4a0b0f75ef65406
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoMerge changes I7b176f78,I82a66404,Ieec67b75
Dana Kutenicsova [Wed, 18 Sep 2013 09:30:42 +0000 (09:30 +0000)]
Merge changes I7b176f78,I82a66404,Ieec67b75

* changes:
  Document and ensure thread safety of negotiator state
  Fix a warning stemming from using a raw type
  BUG-75: introduce internal SessionImpl state

10 years agoDocument and ensure thread safety of negotiator state 51/1251/1
Robert Varga [Wed, 18 Sep 2013 07:55:32 +0000 (09:55 +0200)]
Document and ensure thread safety of negotiator state

Negotiator state manipulation is always peformed while holding it as a
lock. Fix accessor to do the same. ALso document the non-final
variables.

Change-Id: I7b176f7834b5a36ba0f75097c5d11de16e0363da
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix a warning stemming from using a raw type 50/1250/1
Robert Varga [Wed, 18 Sep 2013 07:54:35 +0000 (09:54 +0200)]
Fix a warning stemming from using a raw type

Change-Id: I82a6640496fdb5b6d4c9b8d207207730f906ae62
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-75: introduce internal SessionImpl state 49/1249/1
Robert Varga [Wed, 18 Sep 2013 07:51:43 +0000 (09:51 +0200)]
BUG-75: introduce internal SessionImpl state

This state is needed to know whether the session listener should be
notified of the session state transition when the Hold timer expires in
OpenConfirm state. It also makes the lifecycle more readable when
comparing it to what the BGP RFC describes.

Change-Id: Ieec67b759f5917de83ce1d11c091f0852ddcf00e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBump versions to 0.3.0-SNAPSHOT 47/1247/1
Robert Varga [Wed, 18 Sep 2013 07:10:00 +0000 (09:10 +0200)]
Bump versions to 0.3.0-SNAPSHOT

Change-Id: I1a9ba35d7b0cce20e12de8260c1dfda3d15f101b
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFixed FSM tests for BGP. 26/1226/1
Dana Kutenicsova [Tue, 17 Sep 2013 15:20:53 +0000 (17:20 +0200)]
Fixed FSM tests for BGP.

Change-Id: I4ea4ab2ce5c6c7b9a8b33ec80bdf78ac4d07dcf2
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoMerge "BUG-54 : switched channel pipeline to be protocol specific. Added LengthFrameD...
Robert Varga [Tue, 17 Sep 2013 15:13:39 +0000 (15:13 +0000)]
Merge "BUG-54 : switched channel pipeline to be protocol specific. Added LengthFrameDecoder for both protocols."

10 years agoBUG-54 : switched channel pipeline to be protocol specific. 56/1156/7
Dana Kutenicsova [Wed, 11 Sep 2013 13:31:24 +0000 (15:31 +0200)]
BUG-54 : switched channel pipeline to be protocol specific.
Added LengthFrameDecoder for both protocols.

Change-Id: Iebdaced167b54b850ec114cff42c2b0385a37f31
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoRemove executable bit 01/1201/2
Robert Varga [Mon, 16 Sep 2013 15:07:32 +0000 (17:07 +0200)]
Remove executable bit

Change-Id: I0b14545d837e0f168b0237ee16daca0f02c7815e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBump netty dependency to 4.0.9 80/1180/2
Robert Varga [Fri, 13 Sep 2013 09:24:58 +0000 (11:24 +0200)]
Bump netty dependency to 4.0.9

Change-Id: I154041188b706f28db6d6c8e6178e13e1818161c
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdded tests for rib-api module. 90/1190/1
Dana Kutenicsova [Sun, 15 Sep 2013 15:45:45 +0000 (17:45 +0200)]
Added tests for rib-api module.

Change-Id: Ibe57c581d883a08f60d5bd06dda2172732aa393b
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoMake DispatcherImpl an abstract class 35/1135/2
Robert Varga [Mon, 9 Sep 2013 15:08:11 +0000 (17:08 +0200)]
Make DispatcherImpl an abstract class

This eliminates Dispatcher as a concept, and turns the corresponding
implementation into an utility class. The original resource sharing of a
dispatcher implementation will be realized via netty thread group
sharing.

Change-Id: I06b0fe0e8cdd7e51840fac316c714d6faa8aed0e
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMake sure HoldTimer is running during BGP negotiation 33/1133/3
Robert Varga [Mon, 9 Sep 2013 12:36:15 +0000 (14:36 +0200)]
Make sure HoldTimer is running during BGP negotiation

Change-Id: I06857cb7255251fe6b2beeccb5d37e6b2c269a72
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoImprove error messages produced 30/1130/3
Robert Varga [Mon, 9 Sep 2013 11:42:32 +0000 (13:42 +0200)]
Improve error messages produced

Change-Id: I02164d7756d620c672412ceb1d65f1b3086abf12
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Cleanup. Removed various warnings. Swapped listeners in pcep-testtool, so...
Robert Varga [Mon, 9 Sep 2013 15:36:06 +0000 (15:36 +0000)]
Merge "Cleanup. Removed various warnings. Swapped listeners in pcep-testtool, so that client sends PCCreate message. Removed unused files."

10 years agoMerge "Bug45: updated YANG model."
Robert Varga [Mon, 9 Sep 2013 14:53:00 +0000 (14:53 +0000)]
Merge "Bug45: updated YANG model."

10 years agoCleanup. 32/1132/1
Dana Kutenicsova [Mon, 9 Sep 2013 12:22:45 +0000 (14:22 +0200)]
Cleanup.
Removed various warnings.
Swapped listeners in pcep-testtool, so that client sends PCCreate message.
Removed unused files.

Change-Id: I63ba255f42788bd8a64869b9865a9b6367a68bc0
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoImprove time tracking 29/1129/1
Robert Varga [Mon, 9 Sep 2013 10:56:49 +0000 (12:56 +0200)]
Improve time tracking

Clarification: use TimeUnit to convert time
Accuracy fix: make lastMessageSentAt volatile to pickup changes made in
sendMessage()

Change-Id: Id68db02c57cbe00468fddd60c3006c0b4ab18a96
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd a debug statement into exception path 28/1128/1
Robert Varga [Mon, 9 Sep 2013 10:51:18 +0000 (12:51 +0200)]
Add a debug statement into exception path

Change-Id: I9616ade64e2ba3fd8f3c4bf0488835023c82ad63
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix KeepAlive message not being sent 27/1127/1
Robert Varga [Mon, 9 Sep 2013 10:43:02 +0000 (12:43 +0200)]
Fix KeepAlive message not being sent

Change-Id: I4d843960c68b5258a8e41eaf52efb7520ae6b8d9
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix debug message 26/1126/1
Robert Varga [Mon, 9 Sep 2013 10:13:59 +0000 (12:13 +0200)]
Fix debug message

Change-Id: Ia569a8a3e449e64d334cc4f84d83a4c0393cc66c
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUse correct testing listener 25/1125/1
Robert Varga [Mon, 9 Sep 2013 10:13:37 +0000 (12:13 +0200)]
Use correct testing listener

Change-Id: Ia889c05073a187cf7fb2aaaf216767e4ce5180c4
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-58: refactor to take advantage of netty 74/1074/4
Robert Varga [Fri, 23 Aug 2013 13:55:03 +0000 (15:55 +0200)]
BUG-58: refactor to take advantage of netty

This patchset reworks the framework to take advantage of features in
netty, shortcutting many of the previous concepts. This lead to a major
refactor, reorganizing the way things are glued together.

SessionProposal/Checkers have been removed in favor of an explicit
negotiation piece, which is put on the channel pipeline to negotiate
session parameters -- uopn success it replaces itself with a complete
session.

ProtocolSessionInboundHandler has been integrated into
AbstractProtocolSession, handling the tasks normally.

Finally, Dispatcher uses all this restructure to implement Session
reconnect in a relatively straightforward manner.

Change-Id: I84a6b4c99282212505e6d91ab40da9867ca95e53
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMake sure PCEPMessageHeader is threadsafe 05/1105/1
Robert Varga [Thu, 5 Sep 2013 13:12:35 +0000 (15:12 +0200)]
Make sure PCEPMessageHeader is threadsafe

Change-Id: I9c8707b298a9b32d168e6c86e24f1c10b5ebfd25
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBug45: updated YANG model. 37/937/6
Dana Kutenicsova [Wed, 21 Aug 2013 14:38:24 +0000 (16:38 +0200)]
Bug45: updated YANG model.

Change-Id: Ic49a96bd80996cfbe6781c8d6a0c3cba6da1bbca
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoRemove ProtocolSessionOutboundHandler 80/980/2
Robert Varga [Fri, 23 Aug 2013 12:59:57 +0000 (14:59 +0200)]
Remove ProtocolSessionOutboundHandler

This patch gets rid of ProtocolSessionOutboundHandler, as it has been
only used as the egress end of the channel pipeline. Pass Channel
instead, its write() method and friends have the same semantics. Also
fix a leftover bug in client instantiation.

Change-Id: I2ae266e4ca7c539d57c0c761d16f73e2d67e1d3c
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUnify netty versions and update to 4.0.7.Final 67/967/2
Robert Varga [Thu, 22 Aug 2013 15:50:24 +0000 (17:50 +0200)]
Unify netty versions and update to 4.0.7.Final

Change-Id: I1be374423cadb90985541bae3f47f73ddedfef8f
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove unused logger to fix a warning 44/944/3
Robert Varga [Wed, 21 Aug 2013 15:54:15 +0000 (17:54 +0200)]
Remove unused logger to fix a warning

Change-Id: I7f02684dee38fd4a37709c1feaf6d838f642a351
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-58: use ReconnectStrategy to guide reconnection 40/940/5
Robert Varga [Wed, 21 Aug 2013 12:23:52 +0000 (14:23 +0200)]
BUG-58: use ReconnectStrategy to guide reconnection

Change-Id: I278d4cea5df0ab920dd95c5229a232f742000a68
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-58: pass ReconnectStrategy to dispatcher 39/939/1
Robert Varga [Wed, 21 Aug 2013 10:18:48 +0000 (12:18 +0200)]
BUG-58: pass ReconnectStrategy to dispatcher

Change-Id: I3491a157c5a8d7754a15f40ef301d810a8eee435
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-58: add ReconnectStrategy concept 38/938/1
Robert Varga [Tue, 20 Aug 2013 19:17:10 +0000 (21:17 +0200)]
BUG-58: add ReconnectStrategy concept

This adss the ReconnectStrategy concept, plus a few key implementations.

Change-Id: Ieda27db21ba874aa89cfc380d33556c6ac493ab7
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Fix yangtools plugin integration with eclipse"
Dana Kutenicsova [Wed, 21 Aug 2013 07:21:15 +0000 (07:21 +0000)]
Merge "Fix yangtools plugin integration with eclipse"

10 years agoMerge "Add .gitignore and .project to top-level project"
Dana Kutenicsova [Wed, 21 Aug 2013 06:46:26 +0000 (06:46 +0000)]
Merge "Add .gitignore and .project to top-level project"

10 years agoFix yangtools plugin integration with eclipse 34/934/1
Robert Varga [Wed, 21 Aug 2013 05:33:16 +0000 (07:33 +0200)]
Fix yangtools plugin integration with eclipse

Change-Id: I93422aa56c8f0872dd52ea6b779c71cfa3a1aa0a
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoAdd .gitignore and .project to top-level project 33/933/1
Robert Varga [Wed, 21 Aug 2013 04:53:29 +0000 (06:53 +0200)]
Add .gitignore and .project to top-level project

Change-Id: Ieb2b8c4cc5f6bc9a028146be31188fc364018fc9
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoTunnel-aware topology models 54/854/12
Robert Varga [Mon, 12 Aug 2013 13:46:55 +0000 (15:46 +0200)]
Tunnel-aware topology models

This introduces three basic extensions to network-topology.yang, which
define the base tunnel awareness, point-to-point tunnel model and
segment-routing specific extensions.

Change-Id: If2a1ebcbc296e83f7691f49cd68cfa943094f817
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMerge "Remove unused Closeable interface"
Dana Kutenicsova [Tue, 20 Aug 2013 15:37:52 +0000 (15:37 +0000)]
Merge "Remove unused Closeable interface"

10 years agoBug44 : BGP communication migrated to NETTY. 24/924/2
Dana Kutenicsova [Tue, 20 Aug 2013 13:08:55 +0000 (15:08 +0200)]
Bug44 : BGP communication migrated to NETTY.

Change-Id: Ic27623035f5ee0fbd247e16269494f17f7de7848
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoRemove unused Closeable interface 19/919/1
Robert Varga [Tue, 20 Aug 2013 08:38:37 +0000 (10:38 +0200)]
Remove unused Closeable interface

This is remnant from the original codebase, completely unused now.

Change-Id: I85f1bbd0c8e5bac046f0af88cd8e78e51eaa5bdd
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoBUG-55: make sure session initialization asynchronous 18/918/2
Robert Varga [Mon, 19 Aug 2013 16:16:28 +0000 (18:16 +0200)]
BUG-55: make sure session initialization asynchronous

Change-Id: I0b7c06fa13a127e183e5c81d0a8097d96bcac173
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoProtocolSessionPromise should be a static class 08/908/1
Robert Varga [Mon, 19 Aug 2013 15:49:20 +0000 (17:49 +0200)]
ProtocolSessionPromise should be a static class

Change-Id: I9605bf681fad6481250bca5129400869c57e1ce6
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoImplemented closing operations for PCEP Netty. 06/906/1
Dana Kutenicsova [Mon, 19 Aug 2013 14:25:33 +0000 (16:25 +0200)]
Implemented closing operations for PCEP Netty.

Change-Id: If5bb5788ad315f99907ab69d999c01b923ad2017
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoRemoved unused code that used guava. 99/899/1
Dana Kutenicsova [Mon, 19 Aug 2013 07:06:19 +0000 (09:06 +0200)]
Removed unused code that used guava.
Removed guava dependency.

Change-Id: Iae48ec5948b6909ee5030c8c5d162cd6ab903de0
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoPCEP sucessfull connection now implemented. Fixed minor bug in parsing. 97/897/3
Dana Kutenicsova [Sun, 18 Aug 2013 10:04:27 +0000 (12:04 +0200)]
PCEP sucessfull connection now implemented. Fixed minor bug in parsing.

Change-Id: I17a3386a159795b149dc0a6ef42ff6e6853c2bd8
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoAdd licence in addition to copyright 74/874/2
Robert Varga [Wed, 14 Aug 2013 10:01:14 +0000 (12:01 +0200)]
Add licence in addition to copyright

Add EPL-1.0 reference. Also change enums to use lower-case letters.

Change-Id: Icc28c93d17ff2aa1273ded4f18ca4a4ca6b597ca
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoMinor changes to bgp-ls YANG model. 56/856/1
Dana Kutenicsova [Mon, 12 Aug 2013 15:47:15 +0000 (17:47 +0200)]
Minor changes to bgp-ls YANG model.

Change-Id: I6b09abeb4c854de3f379689ffdaf4af84f6dc45a
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoUpdated YANG model of bgp-ls nlri. 55/855/2
Dana Kutenicsova [Mon, 12 Aug 2013 14:01:54 +0000 (16:01 +0200)]
Updated YANG model of bgp-ls nlri.

Change-Id: Id4c01037db005a34592f435fb1f1fca7e3b98ae3
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoFix a typo in fraction range 53/853/1
Robert Varga [Mon, 12 Aug 2013 13:17:36 +0000 (15:17 +0200)]
Fix a typo in fraction range

Change-Id: I5f3f438c6757ead78164d0b2ec793752451386c4
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoUpdated references. 51/851/3
Dana Kutenicsova [Mon, 12 Aug 2013 11:25:48 +0000 (13:25 +0200)]
Updated references.

Change-Id: I22efddd0b91732fca5957ff404223c7c9b005bca
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoAdded local/remote node router identifiers to Network Link State. 50/850/2
Dana Kutenicsova [Mon, 12 Aug 2013 09:08:12 +0000 (11:08 +0200)]
Added local/remote node router identifiers to Network Link State.

Change-Id: I2fd02dd555d4477491e2fc458afa5bfb7d5e98fb
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoAdded support for overload/attached bit to BGP parser. 49/849/2
Dana Kutenicsova [Mon, 12 Aug 2013 06:59:39 +0000 (08:59 +0200)]
Added support for overload/attached bit to BGP parser.

Change-Id: I3ce7519147ed54c899602e54a148e649d835a778
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoInitial revision rewritten. 37/837/1
Dana Kutenicsova [Fri, 9 Aug 2013 14:38:04 +0000 (16:38 +0200)]
Initial revision rewritten.

Change-Id: I8a62a5b60af59aa08e5c154c8558a808d422da36
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoRemoved unused TopologyNodeInformation and IdentifierTlv. Fixed parsing of 36/836/1
Dana Kutenicsova [Fri, 9 Aug 2013 13:02:23 +0000 (15:02 +0200)]
Removed unused TopologyNodeInformation and IdentifierTlv. Fixed parsing of
TopologyIdentifier in NodeDescriptors. Adjusted tests.

Change-Id: I9b667ecb48b0b461d4d1b92e928e356a2a5035bb
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoInitial framework migration to netty. 19/819/3
Dana Kutenicsova [Fri, 26 Jul 2013 19:31:12 +0000 (21:31 +0200)]
Initial framework migration to netty.

Change-Id: Ic8ddba993d83b6535a96953cf41e9549227bc62d
Signed-off-by: Dana Kutenicsova <dkutenic@cisco.com>
10 years agoActivate code generation 34/834/1
Robert Varga [Fri, 9 Aug 2013 05:00:27 +0000 (07:00 +0200)]
Activate code generation

Change-Id: I5f7e683be2051a0e30c5fbd589e8b411c539ef3c
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoRemove duplicate link-name 33/833/1
Robert Varga [Fri, 9 Aug 2013 04:59:20 +0000 (06:59 +0200)]
Remove duplicate link-name

Change-Id: I99d4626d46d055f142c532bef8596e2c3a1ea2ff
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoPush version to 0.2.0-SNAPSHOT 20/820/1
Robert Varga [Wed, 7 Aug 2013 15:05:10 +0000 (17:05 +0200)]
Push version to 0.2.0-SNAPSHOT

Change-Id: I607709d919e0765c9e05b007d67c50a963e8bdfd
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix form to work with yangtools 17/817/1
Robert Varga [Wed, 7 Aug 2013 12:40:32 +0000 (14:40 +0200)]
Fix form to work with yangtools

Change-Id: I8c806d4eddfea8abccd54cfe7347c88b761becfd
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoImport initial BGP message model 66/766/2
Robert Varga [Thu, 1 Aug 2013 14:47:46 +0000 (16:47 +0200)]
Import initial BGP message model

Change-Id: Ife7559e7ab31098c8f4b2798e6fd679297bca626
Signed-off-by: Robert Varga <rovarga@cisco.com>
10 years agoFix dependency deficiencies 59/759/1
Robert Varga [Wed, 31 Jul 2013 10:04:43 +0000 (12:04 +0200)]
Fix dependency deficiencies

Removes unused declared dependecies and adds used dependencies.

Change-Id: Ia7d7de00e463944de167d3b863a0da9ef54b4069
Signed-off-by: Robert Varga <rovarga@cisco.com>