Squashed commit of the following:
[ovsdb.git] / openstack / net-virt / src / main / java / org / opendaylight / ovsdb / openstack / netvirt / api / NetworkingProviderManager.java
1 /*
2  * Copyright (C) 2014 Red Hat, Inc.
3  *
4  * This program and the accompanying materials are made available under the
5  * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6  * and is available at http://www.eclipse.org/legal/epl-v10.html
7  *
8  *  Authors : Dave Tucker
9  */
10
11 package org.opendaylight.ovsdb.openstack.netvirt.api;
12
13 import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node;
14
15 /**
16  * The NetworkingProviderManager handles the mapping between {@link Node}
17  * and registered {@link org.opendaylight.ovsdb.openstack.netvirt.api.NetworkingProvider} implementations
18  */
19 public interface NetworkingProviderManager {
20     /**
21      * Returns the Networking Provider for a given node
22      * @param ovsdbNode a {@link Node}
23      * @return a NetworkProvider
24      * @see NetworkingProvider
25      */
26     NetworkingProvider getProvider(Node ovsdbNode);
27 }