3 * Copyright (c) 2013 Cisco Systems, Inc. and others. All rights reserved.
5 * This program and the accompanying materials are made available under the
6 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 * and is available at http://www.eclipse.org/legal/epl-v10.html
10 package org.opendaylight.openflowplugin.openflow;
14 import org.opendaylight.controller.sal.core.Node;
15 import org.opendaylight.controller.sal.core.NodeConnector;
16 import org.opendaylight.controller.sal.core.Property;
17 import org.opendaylight.controller.sal.core.UpdateType;
20 * The Interface provides inventory updates to inventory listeners within the
23 public interface IInventoryShimInternalListener {
25 * Updates node and its properties
27 * @param node {@link org.opendaylight.controller.sal.core.Node} being updated
28 * @param type {@link org.opendaylight.controller.sal.core.UpdateType}
29 * @param props set of {@link org.opendaylight.controller.sal.core.Property} such as
30 * {@link org.opendaylight.controller.sal.core.Description} and/or
31 * {@link org.opendaylight.controller.sal.core.Tier} etc.
33 public void updateNode(Node node, UpdateType type, Set<Property> props);
36 * Updates node connector and its properties
38 * @param nodeConnector {@link org.opendaylight.controller.sal.core.NodeConnector} being updated
39 * @param type {@link org.opendaylight.controller.sal.core.UpdateType}
40 * @param props set of {@link org.opendaylight.controller.sal.core.Property} such as
41 * {@link org.opendaylight.controller.sal.core.Description} and/or
42 * {@link org.opendaylight.controller.sal.core.State} etc.
44 public void updateNodeConnector(NodeConnector nodeConnector,
45 UpdateType type, Set<Property> props);