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.controller.sal.inventory;
14 import java.util.concurrent.ConcurrentMap;
16 import org.opendaylight.controller.sal.core.Node;
17 import org.opendaylight.controller.sal.core.NodeConnector;
18 import org.opendaylight.controller.sal.core.Property;
21 * The Interface describes methods invoked from application toward SAL to
22 * solicit existing inventory data.
25 public interface IInventoryService {
27 * The method retrieves all the existing nodes and properties attached
29 * @return map of {@link org.opendaylight.controller.sal.core.Node} and {@link org.opendaylight.controller.sal.core.Property}
31 public ConcurrentMap<Node, Map<String, Property>> getNodeProps();
34 * The method retrieves all the configured nodes that are not connected to
37 * @return Set of {@link org.opendaylight.controller.sal.core.Node}
39 public Set<Node> getConfiguredNotConnectedNodes();
41 * The method retrieve all the existing nodeConnectors and their properties
43 * @return map of {@link org.opendaylight.controller.sal.core.NodeConnector} and {@link org.opendaylight.controller.sal.core.Property}
45 public ConcurrentMap<NodeConnector, Map<String, Property>> getNodeConnectorProps();