Make sure invokeOperation is set once
[controller.git] / opendaylight / adsal / sal / api / src / main / java / org / opendaylight / controller / sal / inventory / IPluginOutInventoryService.java
1
2 /*
3  * Copyright (c) 2013 Cisco Systems, Inc. and others.  All rights reserved.
4  *
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
8  */
9
10 package org.opendaylight.controller.sal.inventory;
11
12 import java.util.Set;
13
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;
18
19 /**
20  * The Interface describes Inventory update methods to be implemented by
21  * protocol plugin.
22  */
23 @Deprecated
24 public interface IPluginOutInventoryService {
25     /**
26      * This method is called when some properties of a node are added/deleted/changed.
27      *
28      * @param node                      {@link org.opendaylight.controller.sal.core.Node} being updated
29      * @param type              {@link org.opendaylight.controller.sal.core.UpdateType}
30      * @param props             set of {@link org.opendaylight.controller.sal.core.Property} such as
31      *                                          {@link org.opendaylight.controller.sal.core.Description} and/or
32      *                                          {@link org.opendaylight.controller.sal.core.Tier} etc.
33      */
34     public void updateNode(Node node, UpdateType type, Set<Property> props);
35
36     /**
37      * This method is called when some properties of a node connector are added/deleted/changed.
38      *
39      * @param nodeConnector {@link org.opendaylight.controller.sal.core.NodeConnector} being updated
40      * @param type              {@link org.opendaylight.controller.sal.core.UpdateType}
41      * @param props             set of {@link org.opendaylight.controller.sal.core.Property} such as
42      *                                          {@link org.opendaylight.controller.sal.core.Description} and/or
43      *                                          {@link org.opendaylight.controller.sal.core.State} etc.
44      */
45     public void updateNodeConnector(NodeConnector nodeConnector,
46             UpdateType type, Set<Property> props);
47 }