Merge "Bug 6088 - Threads problem on gathering statistics"
[openflowplugin.git] / openflowplugin-api / src / main / java / org / opendaylight / openflowplugin / api / openflow / device / DeviceInfo.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8
9 package org.opendaylight.openflowplugin.api.openflow.device;
10
11 import java.math.BigInteger;
12 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey;
15 import org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier;
16
17 /**
18  * API defining basic device information
19  */
20 public interface DeviceInfo {
21
22     /**
23      * @return id of encapsulated node
24      */
25     NodeId getNodeId();
26
27     /**
28      * @return {@link Node} instance identifier
29      */
30     KeyedInstanceIdentifier<Node, NodeKey> getNodeInstanceIdentifier();
31
32     /**
33      * @return version
34      */
35     Short getVersion();
36
37     /**
38      * @return datapathId
39      */
40     BigInteger getDatapathId();
41
42 }