bgpcep.git
8 years agoBUG: 4831 33/34733/15
Om Prakash [Sat, 20 Feb 2016 19:45:30 +0000 (14:45 -0500)]
BUG: 4831
The BGP specification mandates a maximum BGP message size of 4096 octets. As BGP is extended to support newer AFI/SAFIs,
there is a need to extend the maximum message size beyond 4096 octets. This code fix will update the BGP specification by providing an
extension to BGP to extend its current message size from 4096 octets to 65535 octets.
The major Design/code change for this fix is to modify Bgp-Message yang to add bgp-extended-message-capability in BGP Message.
BgpExtendedMessageUtil class is written to looks for Bgp Extended Message Capability in capabilities.odl-bgp-rib-impl-cfg.yang
is modifed to add extended message capability preference for Speaker and Peer.BGPSessionImpl class has been enhanced
to inject extended message capability of maximun frame size 65535.

BUG: 4831
Change-Id: Icb8731395106bc8164b830e57ea316e31702a4a7
Signed-off-by: Om Prakash <op317q@att.com>
8 years agoDo not instantiate byte[] needlessly 55/35355/3
Robert Varga [Wed, 24 Feb 2016 19:32:46 +0000 (20:32 +0100)]
Do not instantiate byte[] needlessly

Creating a single-byte array is not needed here.

Change-Id: I518419438d6eae6146616fba0725245fc348fee7
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoByteArray: do not instantiate arrays if not needed 56/35356/3
Robert Varga [Wed, 24 Feb 2016 19:41:03 +0000 (20:41 +0100)]
ByteArray: do not instantiate arrays if not needed

Move array instantiation into the block where it is used, skipping it
completely in the case we have properly-sized array.

Change-Id: Ie5027f429830a39bfd2835cc5751cb3d6c27dd1e
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoRemove reference to JUnitMatchers 50/35350/1
Robert Varga [Wed, 24 Feb 2016 18:31:13 +0000 (19:31 +0100)]
Remove reference to JUnitMatchers

constainsString() is deprecated, use the version n CoreMatchers.

Change-Id: Icff4e1fd24a3901899216962b4caf127f11f77b3
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoBug 5380 - NPE in BGP-LS MPLS-TE LSP serializer 99/34899/3
Milos Fabian [Thu, 18 Feb 2016 12:29:02 +0000 (13:29 +0100)]
Bug 5380 - NPE in BGP-LS MPLS-TE LSP serializer

Fix NLRI transformation from BI to BA - cases are
not a part of the BI data representation.

Fix typo in LSP TE NLRI type enumeration encoding -
missing hypen.

Change-Id: I0ee2470bc287b438a3d96189ea524145784ff95c
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4827: BGP Add Yang model design for Advertisement of Multiple Paths 18/35218/3
Claudio D. Gasparini [Mon, 22 Feb 2016 10:58:44 +0000 (11:58 +0100)]
BUG-4827: BGP Add Yang model design for Advertisement of Multiple Paths

Extend ipv4-prefix  with new leaf path-id
representing an unic identifier for a single path.

Change-Id: Iec9c1ab8a57226f3b08e7fec3893f8655c45cadc
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agodistribution-karaf restconf dependency 65/35165/2
Iveta Halanova [Mon, 22 Feb 2016 06:40:19 +0000 (07:40 +0100)]
distribution-karaf restconf dependency

Change-Id: I08b0c44942f9890f67447bda71c37153650532da
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4825: BGP L3VPN Yang update and correction 66/35066/3
Iveta Halanova [Fri, 19 Feb 2016 11:36:50 +0000 (12:36 +0100)]
BUG-4825: BGP L3VPN Yang update and correction

namespace change
added cfg yang module
updated imports
implemented generated module

Change-Id: I854fc5124164dbf1b47117bcd9897ba295d5d998
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4825: BGP L3VPN RIB Support 25/34825/6
Iveta Halanova [Thu, 18 Feb 2016 14:31:19 +0000 (15:31 +0100)]
BUG-4825: BGP L3VPN RIB Support

Implemented and registered RIB support.
Used some implementation in LU RIB support.

Change-Id: Ie5ecd5e129d8db3238e76f87de719feb99a009ae
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoFix minor sonar issues 86/34686/2
Claudio D. Gasparini [Mon, 15 Feb 2016 09:46:40 +0000 (10:46 +0100)]
Fix minor sonar issues

Change-Id: I78639c0175e2bc62daa3cb333326674967103cd8
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4825: BGP L3VPN handlers 64/34464/8
Iveta Halanova [Thu, 11 Feb 2016 12:46:43 +0000 (13:46 +0100)]
BUG-4825: BGP L3VPN handlers

implemented VPN IPv4 Nlri and NextHop handler.
created BGPActivater and registered handlers.
Implemented unit tests.

ref.: https://tools.ietf.org/html/rfc4364#section-4.3

Change-Id: I6e8943ec78e7010792e37ad4c39e911025e13416
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4825: BGP L3VPN yang data module 96/34396/4
Iveta Halanova [Wed, 10 Feb 2016 14:23:13 +0000 (15:23 +0100)]
BUG-4825: BGP L3VPN yang data module

Created new subproject l3vpn under BGP.
Created module and defined NLRI grouping.
Augmented update message and RIBs.

ref.: https://tools.ietf.org/html/rfc4364#section-4.3.4

Change-Id: I30d9b6bc974e5762eae76476db7a28d00a88cfc3
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5285: Transaction chain broken 40/34340/3
Claudio D. Gasparini [Tue, 9 Feb 2016 14:28:35 +0000 (15:28 +0100)]
BUG-5285: Transaction chain broken

Transaction chain broken when peer is connected after
application peer has been configuted.
Issue is caused when it tries to update app-peer adj-rib-out,
which doesn't exist.

Change-Id: I6c765cc0fb03100bc6564466f93eb65fb72cfe48
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBug 5265: Failed to deploy multiple instances of BMP monitoring station 76/34376/1
Milos Fabian [Mon, 8 Feb 2016 09:42:21 +0000 (10:42 +0100)]
Bug 5265: Failed to deploy multiple instances of BMP monitoring station

Avoid overriding of previously created instance.
Create common parent node using merge operation.

Change-Id: I860be2d8cf44826e2d3c4975276664ef3f852313
Signed-off-by: Milos Fabian <milfabia@cisco.com>
(cherry picked from commit 3b0b23bb6920c94796341ee14c859b0622e8be71)

8 years agoBUG-4175 component registry in BGP FS 02/30102/16
Jeff Liu [Tue, 17 Nov 2015 00:16:04 +0000 (16:16 -0800)]
BUG-4175 component registry in BGP FS

Add flowspec registry that allows registration of component and its handlers

Change-Id: I9098f809dd9d7add2323415b9673ca2bec16182c
Signed-off-by: Jeff Liu <bigdataops@gmail.com>
8 years agoSonar minor warnings fix 26/34326/4
Iveta Halanova [Tue, 9 Feb 2016 14:02:00 +0000 (15:02 +0100)]
Sonar minor warnings fix

Change-Id: I392ab8d616c20451001e8fa52bfb9cc08ba642f7
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoAdded missing headers 71/34371/1
Iveta Halanova [Wed, 10 Feb 2016 07:58:58 +0000 (08:58 +0100)]
Added missing headers

Change-Id: I4f49b2342e8cffd325be178c64aee57be504e7f0
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoADD-PATH filter the same afi/safi-s with multiple different send-receive modes 10/34310/3
Iveta Halanova [Tue, 9 Feb 2016 10:26:57 +0000 (11:26 +0100)]
ADD-PATH filter the same afi/safi-s with multiple different send-receive modes

Change-Id: I370fb6573a390f33c090ad398d9776c25aa2319d
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5266: Perform role change in one step 48/34248/2
Claudio D. Gasparini [Mon, 8 Feb 2016 11:05:53 +0000 (12:05 +0100)]
BUG-5266: Perform role change in one step

Two steps role change was done when peer was removed,
after code on LocRibWriter has been reworked for previous
fixes this is not required any more and can be done in
only one step.

Change-Id: I9d885f9b99cffc21f93d18dcf8e953885a44ef38
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-5097: Error trying to update EffectiveRibIn from a removed Peer 99/33699/9
Claudio D. Gasparini [Wed, 27 Jan 2016 18:51:13 +0000 (19:51 +0100)]
BUG-5097: Error trying to update EffectiveRibIn from a removed Peer

When more than one peer are removed at same time, cause a race
condition between remove Peer from DS and update removed routes.
Fix by creating a shared Singleton cache with removed peers between
listeners.

Change-Id: Ic4b2ab8283e07695203f9e4d9ceb245985104766
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoAddPathImplModule unit test 43/34243/2
Iveta Halanova [Mon, 8 Feb 2016 10:17:47 +0000 (11:17 +0100)]
AddPathImplModule unit test

Change-Id: I8632385f6407706bebbc4e0c694841f7ac76bc7b
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4827: ADD-PATH capability BGP Peer config 55/34155/4
Iveta Halanova [Fri, 5 Feb 2016 13:40:24 +0000 (14:40 +0100)]
BUG-4827: ADD-PATH capability BGP Peer config

Created new indentity add-path and its implementation for bgp-peer.
Added capability in BGPPeerModule.
Added to preferences in BGPSessionStats.

Change-Id: Ibf61a7885826fda892353eb350fb5bca754a50e4
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5243: Failed to send message Notify 32/34132/4
Claudio D. Gasparini [Fri, 5 Feb 2016 09:20:36 +0000 (10:20 +0100)]
BUG-5243: Failed to send message Notify

Don't try to send Notify message if the session
has been closed externally

Change-Id: Idd57bd5bf60e4f758ed0187bd12149854740cd36
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
(cherry picked from commit 14cad280a7d1ba51f72d683e689eb3b2eca96909)

8 years agoADD-PATH capability bug fix 54/34154/2
Iveta Halanova [Fri, 5 Feb 2016 13:38:11 +0000 (14:38 +0100)]
ADD-PATH capability bug fix

Created typedef for send-receive enumeration.
Empty add path capability is not serialized.

Change-Id: I6d57918118237118e693c2eb348c32062d99d2d3
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5166: Configuration of iBGP peer failed after previous BGP peers deconfiguration 24/34024/1
Milos Fabian [Wed, 3 Feb 2016 14:21:34 +0000 (15:21 +0100)]
BUG-5166: Configuration of iBGP peer failed after previous BGP peers deconfiguration

De/Re-configuration was not treated well in the OpenConfig provider.
The Neighbor comaparator was outputting false-negative results,
because of some default values, which are not in our BGP configuration
interest.
Change Neighbor comparator to compare values realted to our BGP
peer configuration only.

Change-Id: I5e406e23bde8b183decf915e786f0fc29423ec7a
Signed-off-by: Milos Fabian <milfabia@cisco.com>
(cherry picked from commit 2f29cb2252c8dffa091770fe3aa22eaaaa815036)

8 years agoUse pingpong data broker for BI datastore 71/33971/2
Robert Varga [Sun, 31 May 2015 12:09:06 +0000 (14:09 +0200)]
Use pingpong data broker for BI datastore

This mirrors the use of BA use of pingpong broker.

Change-Id: I4db39f6cd24c9512fbbc1806a49b1318ae15cd55
Signed-off-by: Robert Varga <rovarga@cisco.com>
(cherry picked from commit e26553db70190697773174d2002f79a2fbdf2e29)

8 years agoBUG-5202: BGP Application Peer configuration failure. 68/33968/2
Claudio D. Gasparini [Wed, 3 Feb 2016 12:33:28 +0000 (13:33 +0100)]
BUG-5202: BGP Application Peer configuration failure.

Use ModuleKey from existing BGPApplicationPeer module,
set it to the modified module.

Change-Id: I4feb888f92194c578ca38513b16d24043ba9a15e
Signed-off-by: Milos Fabian <milfabia@cisco.com>
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4827: ADD-PATH capability implementation 53/33753/5
Iveta Halanova [Tue, 2 Feb 2016 11:38:27 +0000 (12:38 +0100)]
BUG-4827: ADD-PATH capability implementation

Extended multiprotocol capabilities model.
Implemented and registered handler in BGPActivator.
Implemented unit test.

ref.: tools.ietf.org/html/draft-ietf-idr-add-paths-13#section-4

Change-Id: I0d7c2ea5023799b9906f1d787ab9fe824b817b7e
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5104: Defined Route Distinguisher type 34/33634/5
Iveta Halanova [Wed, 27 Jan 2016 14:19:40 +0000 (15:19 +0100)]
BUG-5104:  Defined Route Distinguisher type

added new type into yang model - route-distinguisher
implemented Util class with parser and serializer.

Change-Id: Ic8b4f7e1fa5d6ff3ff0021f54fb43e67aa12b908
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5141: Failed to send Update Message on reconfigure Peer 79/33779/3
Claudio D. Gasparini [Fri, 29 Jan 2016 10:58:35 +0000 (11:58 +0100)]
BUG-5141: Failed to send Update Message on reconfigure Peer

Clean up when reconfigurin Peer as we do when we reconnect peer.
Update Log levels on LocRibWriter for skipped change.
Making Debug logs more clear.

Change-Id: Ifb3fa2a0e4dc4633814ce3620f5ac585d01aa575
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-5138: NPE in PcRptMessageCodec 62/33762/1
Milos Fabian [Fri, 29 Jan 2016 11:13:05 +0000 (12:13 +0100)]
BUG-5138: NPE in PcRptMessageCodec

To avoid NPE, process Bandwidth object first, then
all other objects in the list.

Change-Id: I2a09c7d9be1c2ee83bcd3563c854faaefe35ccd4
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-2625: bump equinox version 62/33662/2
Robert Varga [Wed, 27 Jan 2016 21:16:24 +0000 (22:16 +0100)]
BUG-2625: bump equinox version

This bumps equinox to 3.9.1 to fix Java 8 compatibility.

Change-Id: I092dff019a54c789fab97a674633dbaff2c4d657
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoBUG-5098: NPE when reconfiguring openconfig 15/33615/1
Claudio D. Gasparini [Tue, 26 Jan 2016 13:30:19 +0000 (14:30 +0100)]
BUG-5098: NPE when reconfiguring openconfig

When configuring more than one BGPPeer through Netconf
consecutive withouth give time to reconfiguration
to finish will cause an NPE.
Fix by doin blocking reconfiguration.

Change-Id: I000fe3a146f40713fb918c07442396bd8eaa7598
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
(cherry picked from commit 8d59f9aa39dcab640dfc3ae31b4a8eaeb008e96c)

8 years agoBUG-5058: BGPCEP karaf distribution 48/33548/3
Iveta Halanova [Tue, 26 Jan 2016 11:16:27 +0000 (12:16 +0100)]
BUG-5058: BGPCEP karaf distribution

Installs lightweighted Karaf distribution for developement and testing.

Change-Id: I68239bb18218b92ee0a8b64e72e0cf57fd903d9e
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-5084: BGPOpenConfigListener NPE 39/33539/1
Claudio D. Gasparini [Tue, 26 Jan 2016 09:41:56 +0000 (10:41 +0100)]
BUG-5084: BGPOpenConfigListener NPE

Fix by check wheter List<Neighbor> is null.

Change-Id: Ia332df95b52f7b792bdb0a815d696453f33a1a8d
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-5076: OffSetMap reworked 91/33491/2
Claudio D. Gasparini [Sat, 23 Jan 2016 11:45:09 +0000 (12:45 +0100)]
BUG-5076: OffSetMap reworked

OffSetMap reworked, removed previously introduced ArrayList

Change-Id: Id429fda477c8a038c1d64ec103b62e625637c1fd
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-5055: Initialization of LocRib Table 37/33437/1
Claudio D. Gasparini [Thu, 21 Jan 2016 19:41:19 +0000 (20:41 +0100)]
BUG-5055: Initialization of LocRib Table

When LocRib table are created when insert already
existan routes. They where created when inserting
supported tables. Which will make the process to be
repeated if more than one table is supported.
Solved by move the process at the point where
specific table is created.
Also fixed onTable change, since it should add only
table to corresponding LocribWriter listener

Change-Id: I4f87d1bf6e2b24d9ad1911d15ce3923c7538c156
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
(cherry picked from commit dac48d528aa5ddf2ef3b68277918cb8d2774225d)

8 years agoBump yangtools to 1.0.0-SNAPSHOT 93/33293/2
Thanh Ha [Thu, 21 Jan 2016 21:16:20 +0000 (16:16 -0500)]
Bump yangtools to 1.0.0-SNAPSHOT

Change-Id: I2f7f9603126e185bf89c77afff7c46229d65090b
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 5048 - Unable to deploy multiple RIB instances 18/33218/2
Milos Fabian [Thu, 21 Jan 2016 14:56:27 +0000 (15:56 +0100)]
Bug 5048 - Unable to deploy multiple RIB instances

When creating a new RIB instances do not override
top-level parent node common for all instances.
To make sure the node exists, merge an empty structure
of parent node.

Change-Id: Ide9c9a726e078deca4ec5ad6fd06d4d3868f9706
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4689: Advertising performance fix II 96/33096/3
Milos Fabian [Wed, 20 Jan 2016 12:01:23 +0000 (13:01 +0100)]
BUG-4689: Advertising performance fix II

When AdjRibOutListener get a notification with too many changes,
it can fill output buffer with wrtitten Update messages,
without a chance to flush a socket, because the AdjRibOutListener
is blocked when channel is not writable - deadlock situation until a
savior (KA message) will not be send.
Flushing with every write operation is uneffective, hence try to call
the "flush" in a situation when the channel become unwritable.

Change-Id: Ie50b9154d1166d55308c3438c12b9c1b9d3ce19f
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4835: Routes no withdrawn when the same prefixes annonced. 33/33233/1
Claudio D. Gasparini [Tue, 19 Jan 2016 12:58:57 +0000 (13:58 +0100)]
BUG-4835: Routes no withdrawn when the same prefixes annonced.

Routes not withdrawn when eBGP peers are disconnected and
the same prefixes annonced
Fix by shrink OFFSET

Change-Id: I7756c677b34372f5e0c19aefdd14bca74a226d78
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
(cherry picked from commit b00f1e19d459e1c8c3e44132ea341354c34fdd06)

8 years agoPinpoint pep8 version for tox to 1.5.7 99/32599/5
Vratko Polak [Thu, 14 Jan 2016 18:02:54 +0000 (19:02 +0100)]
Pinpoint pep8 version for tox to 1.5.7

This is an analogue of similar patch for integration/test
https://git.opendaylight.org/gerrit/32530

Reasons why we can not upgraded are included as comments.
Also, minor improvements from integration/test are ported.

Cosmetic change in python file included to trigger verify-python.

Change-Id: I82d353ee79b646388fb5509327f0ea6ee55d3091
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
8 years agoBug 4921 - Support Bandwidth Usage object 38/32138/9
Milos Fabian [Mon, 11 Jan 2016 01:10:52 +0000 (02:10 +0100)]
Bug 4921 - Support Bandwidth Usage object

Support Bandwidth-Usage object as defined in
https://tools.ietf.org/html/draft-dhody-pce-stateful-pce-auto-bandwidth-06#section-5.3.2
The object is used in PcRpt message report the real-time
bandwidth usage of a TE LSP.
Make object-type configurable, since no codepoint is assigned by IANA.
By default object-type=5.

Change-Id: I8aacf86cee3f647ad47a0dc01a861b16f89a62c5
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBug 4837 - BMP test tool 80/32280/9
Milos Fabian [Mon, 4 Jan 2016 08:45:39 +0000 (09:45 +0100)]
Bug 4837 - BMP test tool

The bmp-mock is a standalone java application for puropose of
testing BMP monitoring station, in a way of faking BMP-enabled routers
and their peers. It allows to report mock Route Monitoring messages including
simple BGP routes.

Change-Id: Ibed6d239a933f84a5dfeda8ff18bcf6ddf2b8c3e
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4982: NPE in LocRibWriter when removing a route 17/32917/1
Claudio D. Gasparini [Mon, 18 Jan 2016 10:30:12 +0000 (11:30 +0100)]
BUG-4982:  NPE in LocRibWriter when removing a route

Fix by check wheter entry is null.

Change-Id: I4d464e8bdb0ff0e4bbaeeb19f4ad46745b67d367
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-2208: PCC-MOCK Stateful Sync Opt 91/30491/25
Claudio D. Gasparini [Sat, 28 Nov 2015 21:33:05 +0000 (22:33 +0100)]
BUG-2208: PCC-MOCK Stateful Sync Opt

Update pcc-mock to support:
+State Synchronization Avoidance.
+Incremental Synchronization
+PCE Triggered Initial Synchronization
+PCE Triggered Lsp Resynchronization
+PCE Triggered Full DB Resynchronization
Input
--state-sync-avoidance 10 5 5
--incremental-sync-procedure 10 5 5
--triggered-initial-sync
--triggered-re-sync
+DBVersion number after PCC reconnection
+Seconds to wait until disconnect
+Seconds to wait until PCC reconnects

Change-Id: I61f673177a086d969b6f097733351413b71ea8e2
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-2208: BUG-2208: Fix minors triggered resync bugs 89/32289/12
Claudio D. Gasparini [Fri, 8 Jan 2016 12:02:46 +0000 (13:02 +0100)]
BUG-2208: BUG-2208: Fix minors triggered resync bugs

Fix isTriggeredInitialSyncEnable
Change isSynchronized by method getSynchronized

Change-Id: Icef303f48fb0b192e4d62494e6462aca34e3eea8
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBug 4836 - tunnel's paths are not removed from ODL after tunnel status "Down" is... 43/32343/4
Milos Fabian [Mon, 11 Jan 2016 14:07:21 +0000 (15:07 +0100)]
Bug 4836 - tunnel's paths are not removed from ODL after tunnel status "Down" is reported

In a case when PCC reports tunnel has been shutdowned, but not removed
(LSP-ID=0, remove=false), ODL PCE should remove all previously reported
paths related to the tunnel as there are no paths signaled anymore.
Also, in this case PCC will not send report/s with explicit removal
of those paths.

Change-Id: I7b2c34431b094b27ac1fc55c2a75312e00868532
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBug 4864 - BMP: No RIB table is created for non-MP peer 79/32279/3
Milos Fabian [Mon, 4 Jan 2016 08:36:46 +0000 (09:36 +0100)]
Bug 4864 - BMP: No RIB table is created for non-MP peer

Initiate IPv4 Unicast RIB tables by default for all peers.
Fixes case when peer is not supporting
multiprotocol capability.

Change-Id: I8b133cfe621e5ab5c46cc41f604b68854bb4d607
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBump versions by 0.1.0 for next dev cycle 19/32719/1
Thanh Ha [Fri, 15 Jan 2016 04:44:22 +0000 (23:44 -0500)]
Bump versions by 0.1.0 for next dev cycle

Change-Id: Ie87462b78c86280ac0cd3cad758909225d4f57c0
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBUG-4714 : No routes from loc-rib are advertised 17/32417/7
Claudio D. Gasparini [Tue, 12 Jan 2016 12:25:53 +0000 (13:25 +0100)]
BUG-4714 : No routes from loc-rib are advertised

When new peer connects, already existent routes on EffectiveRibIn
Table are not advertised and stored on corresponding AdjRibOut
Peer table. Therefore AdjRiboutListener doesnt advertise
these routes.
Fix by apply routes, when supported tables are created.

Change-Id: Id263723ee685bbc61468e1ea532f0f57f1c6c6c7
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4939: Remove BGP Peer structure from DS once session is close 21/32421/6
Claudio D. Gasparini [Sun, 10 Jan 2016 12:38:32 +0000 (13:38 +0100)]
BUG-4939: Remove BGP Peer structure from DS once session is close

When session is close remove whole Peer Structure from DS,
and create it again on Session up.

Change-Id: I7796983a98d8378b7fa80c61a9bed55bf46c836f
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4962:LocRibWriter shouldn't announce routes to Application Peer 19/32419/6
Claudio D. Gasparini [Tue, 12 Jan 2016 11:45:51 +0000 (12:45 +0100)]
BUG-4962:LocRibWriter shouldn't announce routes to Application Peer

Fix by skip the step when Peer is Internal Role

Change-Id: I8c7932e9cc092d583c3db7b2ee03d38323499b73
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4834: resolve values for new best path state 22/32422/1
Iveta Halanova [Tue, 12 Jan 2016 12:28:17 +0000 (13:28 +0100)]
BUG-4834: resolve values for new best path state

Change-Id: I44c606aa4998a3e3a898d55e87c2f1978cf596dd
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4867: AdjRibOutListener is one per Table 25/32325/3
Claudio D. Gasparini [Sun, 10 Jan 2016 12:58:12 +0000 (13:58 +0100)]
BUG-4867: AdjRibOutListener is one per Table

AdjRibOutListener is one per Table, therefore we need to store all
of them for later close.

Change-Id: Ied60bd9046dc21f03cb6d45418f0348109c66ae5
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-2208: Fix wrong order on method calls 35/32235/6
Claudio D. Gasparini [Thu, 7 Jan 2016 14:17:17 +0000 (15:17 +0100)]
BUG-2208: Fix wrong order on method calls

Fix wrong order on method calls which caused empty
stateful proposal

Change-Id: I3935e348a707657fb41eaa58f9cc545abd1aeab4
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-2208: Add missing return on PCCDispatcherImpl 88/32288/5
Claudio D. Gasparini [Fri, 8 Jan 2016 12:51:57 +0000 (13:51 +0100)]
BUG-2208: Add missing return on PCCDispatcherImpl

Change-Id: Ie9ff5d9ce8ab54ed9682ddc9da48eba7d7534cc8
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-2208: Cancel PCEPSessionNegotiator Timers on session down 45/32145/7
Claudio D. Gasparini [Tue, 5 Jan 2016 15:59:27 +0000 (16:59 +0100)]
BUG-2208: Cancel PCEPSessionNegotiator Timers on session down

On session goes down PCEPSessionNegotiator Timers need to
be canceled

Change-Id: I82091efb6e8ffcda992f08bc3fdcbf1cf63a1ab5
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-2208: leaf triggered-initial-sync should be by default true 87/32287/4
Claudio D. Gasparini [Fri, 8 Jan 2016 09:41:10 +0000 (10:41 +0100)]
BUG-2208: leaf triggered-initial-sync should be by default true

leaf triggered-initial-sync should be by default true

Change-Id: If0ccdd658805b8ae35999ceb270641c7d20a604d
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBug 4863 - BMP: PeerUp Notification serializer bugs 78/32278/1
Milos Fabian [Mon, 4 Jan 2016 08:32:10 +0000 (09:32 +0100)]
Bug 4863 - BMP: PeerUp Notification serializer bugs

-fix NPE for optional Information TLV
-fix Sent/Received Open Message encoding order

Change-Id: I9de38b02b0b105b4828aaa140fa5f5861fa5d56e
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4802: LS-SR enabling multiple SIDs 87/31587/8
Iveta Halanova [Fri, 18 Dec 2015 10:00:16 +0000 (11:00 +0100)]
BUG-4802: LS-SR enabling multiple SIDs

specifically: AdjSIDs, Peer-Set-SIDs, BindingSIDs

Change-Id: Ic75bcd6cec20ce70d8351a1f7891e3630369ae76
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4867: AdjRibOutListener still listening changes after peer Session closed 73/32073/6
Claudio D. Gasparini [Wed, 30 Dec 2015 15:32:16 +0000 (16:32 +0100)]
BUG-4867: AdjRibOutListener still listening changes after peer Session closed

Once Peer session is closed. Listener needs to be removed.

Change-Id: Ie3575bdd42e9b0924e48f110652d0c595b42804c
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoRemove deprecated Qname.cachedReference method 69/32069/2
Claudio D. Gasparini [Mon, 4 Jan 2016 10:48:06 +0000 (11:48 +0100)]
Remove deprecated Qname.cachedReference method

Remove deprecated Qname.cachedReference method

Change-Id: I401b75a2a583b9fd048dba6ac7698dd84c47f915
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoAdd a private constructor to hide the implicit public one 78/31978/3
Claudio D. Gasparini [Wed, 30 Dec 2015 22:55:51 +0000 (23:55 +0100)]
Add a private constructor to hide the implicit public one

Add a private constructor to hide the implicit public one on
OpenConfigComparatorFactory.

Change-Id: Id24e1b3bb8c59e0eaed71093acd4443e75ac50db
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoRename Label package name to match the regular expression 69/31969/3
Claudio D. Gasparini [Wed, 30 Dec 2015 22:48:55 +0000 (23:48 +0100)]
Rename Label package name to match the regular expression

Change-Id: I31996acbcca5b3e247c977a3615f2b4050670488
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoUse StandardCharsets.UTF_8 94/31994/1
Robert Varga [Sat, 2 Jan 2016 11:43:03 +0000 (12:43 +0100)]
Use StandardCharsets.UTF_8

Do not look up the charset, but use a global shared instance.

Change-Id: I43ae1e93c0a13675585e69cf32bbf46d80c1ebfa
Signed-off-by: Robert Varga <robert.varga@pantheon.sk>
8 years agoBUG-4729: PCEP RP object priority can be set 0 14/31514/4
Milos Fabian [Thu, 17 Dec 2015 15:07:53 +0000 (16:07 +0100)]
BUG-4729: PCEP RP object priority can be set 0

Fix RP object priority parser - if priority is 0,
priority is not present.

Change-Id: I86a9ffb652763524440e9f1599b468bbf27704db
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBug 4801 - FromExternalImportPolicyTest is failing at JDK7 95/31595/2
Milos Fabian [Fri, 18 Dec 2015 11:45:47 +0000 (12:45 +0100)]
Bug 4801 - FromExternalImportPolicyTest is failing at JDK7

Enable the test.
The failure was caused by:
https://git.opendaylight.org/gerrit/#/c/31365/
The change was reverted:
https://git.opendaylight.org/gerrit/#/c/31511/

Change-Id: I70b130b15ec57fc696a3af02b9dfc7f8f9e93ae7
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoUnit tests for openconfig-impl/moduleconfig 70/30370/9
Iveta Halanova [Mon, 23 Nov 2015 12:43:14 +0000 (13:43 +0100)]
Unit tests for openconfig-impl/moduleconfig

Change-Id: I179021c1214f127151defcc77cd2a6eaec6ab251
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBug 4781 - BGP at work is not ready for application of 43-bgp-openconfig.xml 05/31505/2
Milos Fabian [Wed, 16 Dec 2015 12:32:22 +0000 (13:32 +0100)]
Bug 4781 - BGP at work is not ready for application of 43-bgp-openconfig.xml

Change starting order - first BGP OpenConfig app is stared, then RIBImpl
is started.
The change avoids problem with reconfiguring RIBImpl instance at startup.

Change-Id: I8777bb0175b03bd4450076b6e916fc1d015d1394
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4780: New peers failed to connect after one gets connected 10/31410/7
Claudio D. Gasparini [Wed, 16 Dec 2015 08:55:16 +0000 (09:55 +0100)]
BUG-4780: New peers failed to connect after one gets connected

After one peer gets connected, new peer failed to connect.
Cause of the issue was that we were reusing DefaultPromise
from previous connection.
Fix by creating new promise for each connection.
Remove needless EventExecutor variables, use
GlobalEventExecutor.INSTANCE instead.

Change-Id: I2938b9f16087d5b004fdbd43bcf082e26bb8a071
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4740: No reconnect after negotiation failure 92/31492/4
Iveta Halanova [Tue, 15 Dec 2015 13:51:57 +0000 (14:51 +0100)]
BUG-4740: No reconnect after negotiation failure

Change-Id: I31a152bcfc52f98a9e95a8a75b26d42d2da8a014
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4779: Openconfig mandatory descendant missing 86/31486/3
Milos Fabian [Thu, 17 Dec 2015 01:28:43 +0000 (02:28 +0100)]
BUG-4779: Openconfig mandatory descendant missing

Make sure mandatory leaf is allways present.
Map RIB module configuration on OpenConfig Bgp top level container.

Change-Id: I5f28a5fa2924ec2ddc721c69f0b2a67fdf374f63
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4792: Fix failing single feature tests 65/31465/5
Milos Fabian [Wed, 16 Dec 2015 17:18:17 +0000 (18:18 +0100)]
BUG-4792: Fix failing single feature tests

Use "odl-netty" feature from odlparent.

Ignore JUnit test FromExternalImportPolicyTest.testEffectiveAttributes
Will be fixed in additional patch.

Change-Id: I7baa260325cbf4fe6d317d71315e091fcf1d7a6b
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4696: BGP OpenConfig bugfixing 02/30902/4
Milos Fabian [Tue, 1 Dec 2015 09:08:23 +0000 (10:08 +0100)]
BUG-4696: BGP OpenConfig bugfixing

-introduce comparators, used when comparing current configuration state
with proposed state

-pass whole configuration (not only identifier) when removing
config module instance

-use MountPointListener instead of DataTreeChangeListener

-refactor implementations

Change-Id: I388dcd6ccb094a82d922740b86f721b5baf23e18
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4730: Update BGP-LS EPE 90/31190/3
Milos Fabian [Fri, 11 Dec 2015 11:32:12 +0000 (12:32 +0100)]
BUG-4730: Update BGP-LS EPE

Update implementation to conform draft-ietf-idr-bgpls-segment-routing-epe-01
which is reflecting changes in latest linkstate segment routing extension draft.
-TLVs redefined with common structure
-changed TLVs codepoints

API (Yang data model) change:
renamed container "peer-sid" -> "peer-node-sid"
added container "peer-adj-sid"

Change-Id: I391862970fd751f54426e7222eb99519a68b4d99
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4689: Advertising performance fix 33/31033/2
Milos Fabian [Wed, 9 Dec 2015 00:30:56 +0000 (01:30 +0100)]
BUG-4689: Advertising performance fix

The TCP channel become unwritable too fast and too often, hence
use high & low write watermark option for channel.

Change-Id: Icd52f164153dde94cd7c61a0c38f805a5c0593cf
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoSonar warning fix: IPv4RIBSupport 98/30698/2
Iveta Halanova [Fri, 4 Dec 2015 09:31:42 +0000 (10:31 +0100)]
Sonar warning fix: IPv4RIBSupport

attribute name refactor

Change-Id: I89e58a8a1b4120b44085983ccf724f94b0370c27
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoTest coverage: rsvp-spi/subobjects 90/30490/3
Iveta Halanova [Wed, 2 Dec 2015 12:55:22 +0000 (13:55 +0100)]
Test coverage: rsvp-spi/subobjects

Change-Id: I29400140d6e5cb5846473896a20151e3a57fbdc5
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4705: LS-SR MplsLabel as 20 rightmost bits 32/30532/4
Iveta Halanova [Wed, 2 Dec 2015 19:24:04 +0000 (20:24 +0100)]
BUG-4705: LS-SR MplsLabel as 20 rightmost bits

Change-Id: Ia8c47d4f9b16785b911025994c5b56cd6e7b78d9
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoRefactor classes names 92/30492/2
Claudio D. Gasparini [Wed, 2 Dec 2015 15:43:49 +0000 (16:43 +0100)]
Refactor classes names

Refactor classes name to have same stetic in capitals
all, like BGP and PCEP.

Change-Id: I58fb5a3524e2628a4b7555621e34b2d1f3c3c362
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoUnit Test: BGPOpenConfig 59/30059/5
Iveta Halanova [Mon, 23 Nov 2015 07:02:56 +0000 (08:02 +0100)]
Unit Test: BGPOpenConfig

Change-Id: I501cc7c2ecde00e00d68535aa4b05ae1f3bbb52b
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoTest coverage: rsvp-spi 38/30438/1
Iveta Halanova [Mon, 30 Nov 2015 14:28:53 +0000 (15:28 +0100)]
Test coverage: rsvp-spi

Change-Id: I4cdcecd0610c667e3d1f4bbe3e4871b77c869c7f
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoUse odlparent jacoco configuration 76/30276/3
Thanh Ha [Tue, 1 Sep 2015 23:09:15 +0000 (19:09 -0400)]
Use odlparent jacoco configuration

Change-Id: I2948f02064ad38fa018b7ae05068a65d3a961ae7
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBug 4646: Fixed up duplicate use of reference statements. 81/30281/6
Filip.Gregor [Fri, 27 Nov 2015 09:18:17 +0000 (10:18 +0100)]
Bug 4646: Fixed up duplicate use of reference statements.

minor fix of invalid yang files

Change-Id: Ic8dbcee91e9be2c78813291dd95239d3ca5895b6
Signed-off-by: Filip.Gregor <fgregor@cisco.com>
8 years agoUse odlparent-lite as artifacts parent 32/30332/2
Thanh Ha [Sun, 29 Nov 2015 21:45:55 +0000 (16:45 -0500)]
Use odlparent-lite as artifacts parent

We created odlparent-lite to provide a minimal pom which allows projects
to publish to the correct server. Without this ${project}-artifacts may
fail to deploy to Nexus.

Change-Id: Icff4d53b0af400ecae86c6099ebba00ec0509c72
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoEradicate use of commons-codec 90/30290/5
Robert Varga [Fri, 27 Nov 2015 11:27:57 +0000 (12:27 +0100)]
Eradicate use of commons-codec

Guava provides hex-codec, use that instead of commons-codec. Also turn
some methods into statics while we're in the area.

Change-Id: I9e950277995f78bfe6323b11b41ef840e427726a
Signed-off-by: Robert Varga <rovarga@cisco.com>
8 years agoRemove antlr4-runtime-osgi-nohead 77/30277/1
Thanh Ha [Fri, 27 Nov 2015 06:39:34 +0000 (01:39 -0500)]
Remove antlr4-runtime-osgi-nohead

This bundle was removed from yangtools so no longer exists. See:
https://git.opendaylight.org/gerrit/28272/

Change-Id: I7094edc12c3f12ad6ef8aee0e4c2cfaf98af7263
Signed-off-by: Thanh Ha <thanh.ha@linuxfoundation.org>
8 years agoBUG-4672: BMP client reconnection not working 51/30251/2
Milos Fabian [Wed, 25 Nov 2015 14:06:47 +0000 (15:06 +0100)]
BUG-4672: BMP client reconnection not working

-get rid of protocol-framework's reconnect strategy
-introduce simple initial reconnection as suggested in
https://tools.ietf.org/html/draft-ietf-grow-bmp-15#section-3.2
-BMP session should go to "up" state once the connection is established (channel is active),
introduced "IDLE" state of a BMP session
-added commented sample of active client (monired router) configuration

Introduces "IDLE" state of a BMP session,
session goes up once the channel is active.

Change-Id: Ibd78fe708162a710fdcc20c614cc1d9c1be6eb95
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-3919: Support for non-MP advertisement 42/30242/2
Milos Fabian [Thu, 26 Nov 2015 11:10:56 +0000 (12:10 +0100)]
BUG-3919: Support for non-MP advertisement

Add a support for old-school BGP-4 advertising,
if peer do not advertise IPv4-Unicast MP capability.

Revert changes in IPv4RIBSupport class.

Change-Id: I0f3a4c767f4f7048e4867ec3aab6c2b8dac6c008
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoBUG-4569: Data-change-counter reconfiguration failure 54/30254/1
Claudio D. Gasparini [Thu, 26 Nov 2015 15:23:31 +0000 (16:23 +0100)]
BUG-4569: Data-change-counter reconfiguration failure

Data-change-counter reconfiguration fails because of
race condition. Last task which removes model from
DS is not executed before new data-change-counter is
created and insert his own model on DS.
Fix by wait until last task is executed when close module.

Change-Id: Ic9349bf99d6a96fd44babdb874158138d7eaf6e8
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoBUG-4679: NPE in IPv4 prefix withdrawn Update msg serialization 39/30239/1
Milos Fabian [Thu, 26 Nov 2015 09:36:48 +0000 (10:36 +0100)]
BUG-4679: NPE in IPv4 prefix withdrawn Update msg serialization

When building Update message for withdrawing routes, check if
Multi-protocol is supported for this type of route.
If not, pack withdrawing routes as per RFC4271.

Change-Id: Ia9a36add74dd817bf0a460cfeaa5281f9b2fb50a
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoRefactor Tunnel-Programming 92/30192/2
Claudio D. Gasparini [Wed, 25 Nov 2015 12:01:03 +0000 (13:01 +0100)]
Refactor Tunnel-Programming

Refactor Tunnel-programming and create new
TunnelInstrucctionExecutor classes.

Change-Id: I0be6fd4f5a050a9b81f8f7bed01b3eabb848fd25
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>
8 years agoRemove redundant modifier 88/30188/2
Iveta Halanova [Wed, 25 Nov 2015 10:50:55 +0000 (11:50 +0100)]
Remove redundant modifier

Change-Id: Ibfc7b03b4e73fd4d329af0b690967ce38772a2c9
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBGPRibImplProvider sonar fix 86/30186/2
Iveta Halanova [Wed, 25 Nov 2015 10:44:25 +0000 (11:44 +0100)]
BGPRibImplProvider sonar fix

Change-Id: I9c3101ba41b5cadadbbc1d1fc24b1b19c67296cb
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoOpenConfigUtil sonar fix 85/30185/2
Iveta Halanova [Wed, 25 Nov 2015 10:37:47 +0000 (11:37 +0100)]
OpenConfigUtil sonar fix

Change-Id: I16c4abaca3cd57e492695ae896fb54271b17db93
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoRev130715Util minor fixes 84/30184/2
Iveta Halanova [Wed, 25 Nov 2015 10:28:37 +0000 (11:28 +0100)]
Rev130715Util minor fixes

misspelled Uitl -> Util
added private constructor

Change-Id: I949cceb518cdaa4a66b9b725d5974f09610b15f6
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoSrRangeTlv: inner area parsing/serializing 24/29924/2
Iveta Halanova [Thu, 19 Nov 2015 14:27:31 +0000 (15:27 +0100)]
SrRangeTlv: inner area parsing/serializing

Inner area should be handled just in case of OSPF protocol.

Change-Id: I8468dfe0aeff6ed6c4ee7945f489b22bf8874075
Signed-off-by: Iveta Halanova <ihalanov@cisco.com>
8 years agoBUG-4617: BGP Flow-Spec Redirect to IP Action 63/30063/3
Milos Fabian [Wed, 18 Nov 2015 14:00:33 +0000 (15:00 +0100)]
BUG-4617: BGP Flow-Spec Redirect to IP Action

-adds support for BGP FS Redirect to IP action
-implementation is based on draft-ietf-idr-flowspec-redirect-ip-02
-registered under Ex. comm type/subtype as per
https://tools.ietf.org/html/draft-ietf-idr-flowspec-redirect-ip-00#section-7

Change-Id: If889e1b65d944c71b85e0d27c57af4be7e08af6c
Signed-off-by: Milos Fabian <milfabia@cisco.com>
8 years agoMove releaseConnection from ReusableBGPPeer to BGPSessionListener 66/29866/4
Claudio D. Gasparini [Wed, 18 Nov 2015 15:38:50 +0000 (16:38 +0100)]
Move releaseConnection from ReusableBGPPeer to BGPSessionListener

Move releaseConnection from ReusableBGPPeer to BGPSessionListener

Change-Id: Ief296eccc81cc00661462cc9ec861ff4acc379de
Signed-off-by: Claudio D. Gasparini <cgaspari@cisco.com>