java.lang.Object
org.opendaylight.openflowplugin.applications.topology.lldp.utils.LLDPDiscoveryUtils

public final class LLDPDiscoveryUtils extends Object
  • Field Details Link icon

  • Method Details Link icon

    • lldpToNodeConnectorRef Link icon

      public static NodeConnectorRef lldpToNodeConnectorRef(byte[] payload)
      Returns the encoded in custom TLV for the given lldp.
      Parameters:
      payload - lldp payload
      Returns:
      nodeConnectorId - encoded in custom TLV of given lldp
      See Also:
    • lldpToNodeConnectorRef Link icon

      public static NodeConnectorRef lldpToNodeConnectorRef(byte[] payload, boolean useExtraAuthenticatorCheck)
      Returns the encoded in custom TLV for the given lldp.
      Parameters:
      payload - lldp payload
      useExtraAuthenticatorCheck - make it more secure (CVE-2015-1611 CVE-2015-1612)
      Returns:
      nodeConnectorId - encoded in custom TLV of given lldp
    • getValueForLLDPPacketIntegrityEnsuring Link icon

      public static byte[] getValueForLLDPPacketIntegrityEnsuring(NodeConnectorId nodeConnectorId)
      Gets an extra authenticator for lldp security.
      Parameters:
      nodeConnectorId - the NodeConnectorId
      Returns:
      extra authenticator for lldp security
    • isEntityOwned Link icon

      public static boolean isEntityOwned(org.opendaylight.mdsal.eos.binding.api.EntityOwnershipService eos, String nodeId)
    • toLLDPLinkDiscovered Link icon

      public static LinkDiscovered toLLDPLinkDiscovered(org.opendaylight.yang.gen.v1.urn.tbd.params.xml.ns.yang.network.topology.rev131021.network.topology.topology.Link link)