Enum Class ConnectivityType
- All Implemented Interfaces:
Serializable, Comparable<ConnectivityType>, Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic ConnectivityTyperesolve(boolean hasIxPeering, boolean hasFabric, boolean hasFacility) Combines IX peering and Fabric availability into a unified connectivity type.static ConnectivityTypeReturns the enum constant of this class with the specified name.static ConnectivityType[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
IX_PEERING
-
FABRIC_CONNECTION
-
BOTH
-
FACILITY_ONLY
-
NONE
-
-
Method Details
-
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
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 nameNullPointerException- 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 metrohasFabric- whether the ASN is available via Fabric service profilehasFacility- whether the ASN is colocated in an Equinix facility- Returns:
- the combined connectivity type
-