* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v1.0 which accompanies this distribution,
* and is available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Authors : Madhu Venugopal, Brent Salisbury, Sam Hague, Dave Tucker
*/
package org.opendaylight.ovsdb.openstack.netvirt;
+import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.concurrent.ConcurrentMap;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbBridgeAugmentation;
import org.opendaylight.yang.gen.v1.urn.opendaylight.params.xml.ns.yang.ovsdb.rev150105.OvsdbTerminationPointAugmentation;
import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
-
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
-import java.util.List;
-
+/**
+ * @author Madhu Venugopal
+ * @author Brent Salisbury
+ * @author Dave Tucker
+ * @author Sam Hague (shague@redhat.com)
+ */
public class SouthboundHandler extends AbstractHandler
implements NodeCacheListener, OvsdbInventoryListener {
static final Logger logger = LoggerFactory.getLogger(SouthboundHandler.class);
* @see NodeCacheListener#notifyNode
*/
@Override
- public void notifyNode (org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node openFlowNode,
- Action action) {
- logger.info("notifyNode: Node {} update {} from Controller's inventory Service",
- openFlowNode, action);
+ public void notifyNode (Node openFlowNode, Action action) {
+ logger.info("notifyNode: Node {} update {}", openFlowNode, action);
if (action.equals(Action.ADD)) {
/* TODO SB_MIGRATION
* Need to map from ovsdbNode to openflowNode
*/
- //networkingProviderManager.getProvider(ovsdbNode).initializeOFFlowRules(openFlowNode);
+ networkingProviderManager.getProvider(openFlowNode).initializeOFFlowRules(openFlowNode);
}
}