Enum Class ConnectivityType

java.lang.Object
java.lang.Enum<ConnectivityType>
com.eqixiac.equinix.design.peering.enums.ConnectivityType
All Implemented Interfaces:
Serializable, Comparable<ConnectivityType>, Constable

public enum ConnectivityType extends Enum<ConnectivityType>
Categorizes how a network can be reached at an Equinix metro.

A target ASN may be reachable through IX peering, private Fabric connections, or both. Understanding the available connectivity types is essential for resiliency analysis — relying solely on one type creates a single point of failure.

Author:
ianjones
See Also:
  • Enum Constant Details

  • Method Details

    • values

      public static ConnectivityType[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static ConnectivityType valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • resolve

      public static ConnectivityType resolve(boolean hasIxPeering, boolean hasFabric, boolean hasFacility)
      Combines IX peering and Fabric availability into a unified connectivity type.
      Parameters:
      hasIxPeering - whether the ASN peers at an Equinix IX in this metro
      hasFabric - whether the ASN is available via Fabric service profile
      hasFacility - whether the ASN is colocated in an Equinix facility
      Returns:
      the combined connectivity type