com.h3c.sdn.common

## Interface TopologyCluster

- All Known Implementing Classes:
    TopologyClusterDTO, TopologyClusterSyncObj

      public interface TopologyCluster

  Abstraction for a cluster of strongly connected nodes.

  Used by Topology Service to create a network graph for every island of OpenFlow devices.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `long` | `id()` Retrieves the unique id of this cluster.
    `Map<DataPathId,Set<Link>>` | `links()` Retrieves the map of device dpid and the set of links associated to that dpid.
    `Set<DataPathId>` | `nodes()` Retrieves the set of devicepath ids of the devices comprising this cluster.
    `DataPathId` | `root()` Retrieves the set of devicepath ids of the devices comprising this cluster.

- - ### Method Detail

    - #### id

          long id()

      Retrieves the unique id of this cluster.
      Returns:
        the cluster id

    - #### links

          Map<DataPathId,Set<Link>> links()

      Retrieves the map of device dpid and the set of links associated to that dpid.
      Returns:
        the map of dpid and its links

    - #### nodes

          Set<DataPathId> nodes()

      Retrieves the set of devicepath ids of the devices comprising this cluster.
      Returns:
        set of dpid

    - #### root

          DataPathId root()

      Retrieves the set of devicepath ids of the devices comprising this cluster.
      Returns:
        root dpId

Copyright © 2014. All Rights Reserved.