Updated git submodules
authorHANAMANTAGOUD V Kandagal <hanamantagoud.v.kandagal@ericsson.com>
Thu, 8 Jun 2017 06:05:46 +0000 (11:35 +0530)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 21 Jun 2017 05:57:23 +0000 (05:57 +0000)
commitf2c9bdd97dc069ba3a2b64360d658ac3fa4f1d5d
treea32f1440fe78e5b81bda01ebb8cc7cac8d478d93
parentcd5357c4cb7a38ce7f84bb010a77d7c94195cc99
Updated git submodules

Project: netvirt master fa2c12a8c1f1f6041fd3c350ca422e2d980d3dc1

VrfEntryListener refactoring using chain of responsibility pattern

This is a first review where BGP Route handling is separated into a new
handler class BgpRouteVrfEntryHandler.

All common methods are put into a new superclass i.e VrfEntryHandler.
Each of the subclasses like BgPRouteVrfEntryHandler will extend the superclass.
This is done to avoid circular depency on VrfEntryListener.

As part of chain of responsibility pattern , VrfEntryListener will pass on
the Vrf object to the first handler in a chain based on the RouteOrigin
type. Once the first handler completes processing the Vrf obj , it will
pass on the same to next handler.

In the current review BgpRouterVrfEntryHandler will process Routes of type
"RouteOrigin.BGP". BGP routes need not be processed by any other handler ,
hence next handler is not defined in the chain.

In the subsequent patches , when new handlers like LocalRouteVrfEntryHandler,
SubnetRouteVrfEntryHandler etc will have to pass on the Vrf obj to next
handler which will be ImportExportVrfEntryHandler.

Change-Id: I538085bfcda7733b5f3ba5ffe49d541619ac40ec
Signed-off-by: HANAMANTAGOUD V Kandagal <hanamantagoud.v.kandagal@ericsson.com>
Signed-off-by: ehvkand <hanamantagoud.v.kandagal@ericsson.com>
docs/submodules/netvirt