X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=blobdiff_plain;f=openstack%2Fnet-virt%2Fsrc%2Fmain%2Fjava%2Forg%2Fopendaylight%2Fovsdb%2Fopenstack%2Fnetvirt%2Fapi%2FNodeCacheManager.java;h=502a8149f88514e175849b7fababe5fbd8a41273;hb=2ebaf23050854274b6af934d434fb9d2fdb37ee6;hp=52f2fd9f13ccb1b326c92e8eba02d33f37309573;hpb=8e14a9956d2d914a82f0fa3ab0a6666556cf05a2;p=ovsdb.git diff --git a/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NodeCacheManager.java b/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NodeCacheManager.java index 52f2fd9f1..502a8149f 100644 --- a/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NodeCacheManager.java +++ b/openstack/net-virt/src/main/java/org/opendaylight/ovsdb/openstack/netvirt/api/NodeCacheManager.java @@ -1,25 +1,29 @@ /* - * Copyright (C) 2015 Red Hat, Inc. + * Copyright (c) 2015 Red Hat, Inc. and others. All rights reserved. * * 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 : Flavio Fernandes */ package org.opendaylight.ovsdb.openstack.netvirt.api; -import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node; - import java.util.List; +import java.util.Map; + +import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.NodeId; +import org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Node; /** * This interface is used to cache ids of nodes that are needed by net-virt. * The nodes are added and removed by an external listener. + * + * @author Flavio Fernandes (ffernand@redhat.com) + * @author Sam Hague (shague@redhat.com) */ public interface NodeCacheManager { - public void nodeAdded(String nodeIdentifier); - public void nodeRemoved(String nodeIdentifier); - + public void nodeAdded(Node node); + public void nodeRemoved(Node node); public List getNodes(); + public Map getOvsdbNodes(); + public List getBridgeNodes(); }