2 * Copyright (c) 2015 Cisco Systems, Inc. and others. All rights reserved.
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
9 package org.opendaylight.openflowplugin.api.openflow.device;
11 import java.math.BigInteger;
12 import org.opendaylight.mdsal.singleton.common.api.ServiceGroupIdentifier;
13 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.NodeId;
14 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.Node;
15 import org.opendaylight.yang.gen.v1.urn.opendaylight.inventory.rev130819.nodes.NodeKey;
16 import org.opendaylight.yangtools.yang.binding.KeyedInstanceIdentifier;
19 * API defining basic device information
21 public interface DeviceInfo {
24 * @return id of encapsulated node
29 * @return {@link Node} instance identifier
31 KeyedInstanceIdentifier<Node, NodeKey> getNodeInstanceIdentifier();
41 BigInteger getDatapathId();
44 * @return clustering service identifier
46 ServiceGroupIdentifier getServiceIdentifier();