From: michal rehak Date: Tue, 21 Jun 2016 09:00:56 +0000 (+0000) Subject: Merge "Conductor RPC registration moved" X-Git-Tag: release/boron~173 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=3472444ed871f0172d179a048bd7815ef02dd3ab;hp=7709c4e27b17fa998b58b96653577cd9456cc842;p=openflowplugin.git Merge "Conductor RPC registration moved" --- diff --git a/applications/features/pom.xml b/applications/features/pom.xml index 864bacd565..0d58d5a7ee 100644 --- a/applications/features/pom.xml +++ b/applications/features/pom.xml @@ -79,13 +79,6 @@ xml - - org.opendaylight.openflowplugin.applications - statistics-manager-config - xml - config - - org.opendaylight.openflowplugin.model model-flow-base diff --git a/applications/features/src/main/features/features.xml b/applications/features/src/main/features/features.xml index e73e626893..4954d337a3 100644 --- a/applications/features/src/main/features/features.xml +++ b/applications/features/src/main/features/features.xml @@ -22,7 +22,6 @@ mvn:org.opendaylight.openflowplugin.applications/inventory-manager/{{VERSION}} mvn:org.opendaylight.openflowplugin.applications/forwardingrules-manager/{{VERSION}} mvn:org.opendaylight.controller/liblldp/{{VERSION}} - mvn:org.opendaylight.openflowplugin.applications/statistics-manager-config/{{VERSION}}/xml/config diff --git a/applications/forwardingrules-manager/src/main/java/org/opendaylight/openflowplugin/applications/frm/impl/FlowNodeReconciliationImpl.java b/applications/forwardingrules-manager/src/main/java/org/opendaylight/openflowplugin/applications/frm/impl/FlowNodeReconciliationImpl.java index b85fe411b8..6c43cd4912 100644 --- a/applications/forwardingrules-manager/src/main/java/org/opendaylight/openflowplugin/applications/frm/impl/FlowNodeReconciliationImpl.java +++ b/applications/forwardingrules-manager/src/main/java/org/opendaylight/openflowplugin/applications/frm/impl/FlowNodeReconciliationImpl.java @@ -152,16 +152,16 @@ public class FlowNodeReconciliationImpl implements FlowNodeReconciliation { switch (mod.getModificationType()) { case DELETE: - remove(key, mod.getDataBefore(), nodeIdent); + if (mod.getDataAfter() == null) { + remove(key, mod.getDataBefore(), nodeIdent); + } break; case SUBTREE_MODIFIED: - update(key, mod.getDataBefore(), mod.getDataAfter(), nodeIdent); + //NO-OP since we donot need to reconciliate on Node-updated break; case WRITE: if (mod.getDataBefore() == null) { add(key, mod.getDataAfter(), nodeIdent); - } else { - update(key, mod.getDataBefore(), mod.getDataAfter(), nodeIdent); } break; default: @@ -184,20 +184,6 @@ public class FlowNodeReconciliationImpl implements FlowNodeReconciliation { } } - - public void update(InstanceIdentifier identifier, - FlowCapableNode original, FlowCapableNode update, InstanceIdentifier nodeIdent) { - if(compareInstanceIdentifierTail(identifier,II_TO_FLOW_CAPABLE_NODE)){ - LOG.warn("Node updated: {}",nodeIdent.firstKeyOf(Node.class).getId().getValue()); - //donot need to do anything as we are not considering updates here - if (!nodeIdent.isWildcarded()) { - // then force registration to local node cache and reconcile - flowNodeConnected(nodeIdent, true); - } - } - } - - public void add(InstanceIdentifier identifier, FlowCapableNode add, InstanceIdentifier nodeIdent) { if(compareInstanceIdentifierTail(identifier,II_TO_FLOW_CAPABLE_NODE)){ diff --git a/artifacts/pom.xml b/artifacts/pom.xml index 82ba5748cd..9fa056f00b 100644 --- a/artifacts/pom.xml +++ b/artifacts/pom.xml @@ -81,13 +81,6 @@ forwardingrules-manager ${project.version} - - ${project.groupId}.applications - forwardingrules-manager-config - ${project.version} - config - xml - ${project.groupId}.applications forwardingrules-sync @@ -105,13 +98,6 @@ inventory-manager ${project.version} - - ${project.groupId}.applications - inventory-manager - ${project.version} - xml - config - ${project.groupId}.applications lldp-speaker @@ -132,25 +118,11 @@ topology-lldp-discovery ${project.version} - - ${project.groupId}.applications - topology-lldp-discovery - ${project.version} - xml - config - ${project.groupId}.applications topology-manager ${project.version} - - ${project.groupId}.applications - topology-manager - ${project.version} - xml - config - ${project.groupId}.applications of-switch-config-pusher @@ -178,20 +150,6 @@ ${project.version} - - ${project.groupId}.applications - of-switch-config-pusher - ${project.version} - xml - config - - - ${project.groupId}.applications - statistics-manager-config - ${project.version} - config - xml - ${project.groupId}.applications table-miss-enforcer @@ -199,13 +157,6 @@ xml config - - ${project.groupId}.applications - lldp-speaker - ${project.version} - xml - config - ${project.groupId} openflowplugin-controller-config diff --git a/features-li/pom.xml b/features-li/pom.xml index efa947a51a..acfdf568d3 100644 --- a/features-li/pom.xml +++ b/features-li/pom.xml @@ -162,12 +162,6 @@ org.opendaylight.openflowplugin.applications statistics-manager - - org.opendaylight.openflowplugin.applications - statistics-manager-config - config - xml - org.opendaylight.openflowplugin openflowplugin-blueprint-config