From 97ccbc00228498e8ad7cb7ab1f50f3e35e4bb95c Mon Sep 17 00:00:00 2001 From: Stephen Kitt Date: Thu, 27 Jul 2017 17:07:26 +0200 Subject: [PATCH] Updated git submodules MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Project: netvirt master 75996fbe0f11fe3bd7ff766011a93d06be54344d ElanUtils clean-up: ElanL2GatewayUtils This patch initialises ElanL2GatewayUtils using BluePrint. This involves adding static variants to a small number of methods in order to break the dependency cycle involving ElanInstanceManager, ElanInterfaceManager, ElanUtils and ElanL2GatewayUtils. Change-Id: Icf17e0fb7683b871b8246b148d905e51bad4e598 Signed-off-by: Stephen Kitt ElanUtils clean-up: L2GatewayConnectionUtils This turns L2GatewayConnectionUtils into a self-carrying bean, instead of relying on ElanUtils to initialise it. Change-Id: I2c5c8330e57a46048651a1f6b656fb34b099afe3 Signed-off-by: Stephen Kitt ElanUtils clean-up: remove unnecessary references A number of classes reference ElanUtils instances even though they no longer need them, or they call static methods via an instance. This patch cleans them up. Change-Id: I29bf1454e7a56ac474ef9198a48114b0b0447aea Signed-off-by: Stephen Kitt ElanUtils clean-up: ElanL2Gateway{Multicast,}Utils Extract various utility methods to ElanDmacUtils, ElanEtreeUtils and ElanItmUtils, so that ElanL2GatewayMulticastUtils’ dependency on ElanL2GatewayUtils (which needs to be post-filled after initialisation) can be removed. Change-Id: Iec71e32ea61ff1789537bcb1e7e35fa3253f8363 Signed-off-by: Stephen Kitt ElanUtils clean-up: more ElanL2GatewayMulticastUtils Moving installDpnMacsInL2gwDevice from ElanL2GatewayUtils to ElanInterfaceManager allows ElanL2GatewayUtils’ dependency on ElanL2GatewayMulticastUtils to be removed. Change-Id: I1af5c31f516f4dfe7121c16e797339b60a1d03ca Signed-off-by: Stephen Kitt ElanUtils clean-up: ElanL2GatewayMulticastUtils elanUtils.getInvolvedDpnsInElan is a very simple wrapper around elanInstanceManager.getElanDPNByName, which isn’t even needed any more since the latter never returns null. Using the latter directly in ElanL2GatewayMulticastUtils means we no longer need ElanUtils there, which simplifies initialisation (although not perfectly yet because of the loop between ElanL2GatewayMulticastUtils and ElanL2GatewayUtils). Change-Id: Ie4ef925d5e0c02e5476141430f844dc2b0a0647e Signed-off-by: Stephen Kitt ElanUtils clean-up: make read() static It turns out no callers use the variant of read() which relies on ElanUtils’ own broker, so we can drop that and make read() static, which reduces the requirement for ElanUtils instances. Change-Id: I75841497b4247abb9f10c216956ba534bc5068ce Signed-off-by: Stephen Kitt --- docs/submodules/netvirt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/submodules/netvirt b/docs/submodules/netvirt index 60c1f1547..75996fbe0 160000 --- a/docs/submodules/netvirt +++ b/docs/submodules/netvirt @@ -1 +1 @@ -Subproject commit 60c1f1547df05aef7e992305b638d18bfaf99e8b +Subproject commit 75996fbe0f11fe3bd7ff766011a93d06be54344d -- 2.36.6