2 * Copyright (C) 2015 Red Hat, Inc.
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
8 * Authors : Flavio Fernandes
10 package org.opendaylight.ovsdb.openstack.netvirt.api;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
14 import java.util.List;
17 * This interface is used to cache ids of nodes that are needed by net-virt.
18 * The nodes are added and removed by an external listener.
20 public interface NodeCacheManager {
21 public void nodeAdded(String nodeIdentifier);
22 public void nodeRemoved(String nodeIdentifier);
24 public List<Node> getNodes();