com.h3c.sdn.common

## Interface NetworkNode

- All Known Implementing Classes:
    NetworkNodeDTO

      public interface NetworkNode

  Represents the network station or end host.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `BigPortNumber` | `connectedPort()` Returns the port on which the end host is connected.
    `DataPathId` | `connectedSwitchDpid()` Returns the datapath identifier of the switch to which the end host is connected.
    `List<ConnectionPoint>` | `connectionPoints()` Returns a list of `connection points` where the end host was heard.
    `IpAddress` | `ip()` Returns the IP address of the end host.
    `MacAddress` | `mac()` Returns the MAC address of the end host.
    `VId` | `vid()` Returns the VID to which the end host belongs.

- - ### Method Detail

    - #### ip

          IpAddress ip()

      Returns the IP address of the end host.
      Returns:
        the IP address

    - #### connectedSwitchDpid

          DataPathId connectedSwitchDpid()

      Returns the datapath identifier of the switch to which the end host is connected.
      Returns:
        the DPID

    - #### connectedPort

          BigPortNumber connectedPort()

      Returns the port on which the end host is connected.
      Returns:
        the port on which end host is connected

    - #### vid

          VId vid()

      Returns the VID to which the end host belongs.
      Returns:
        the VID identifier

    - #### mac

          MacAddress mac()

      Returns the MAC address of the end host.
      Returns:
        the MAC address of the end host

    - #### connectionPoints

          List<ConnectionPoint> connectionPoints()

      Returns a list of `connection points` where the end host was heard.

      Holds the port at which the end host is connected.

      Returns:
        the list of connection points

Copyright © 2014. All Rights Reserved.