Class NetworkPresence

java.lang.Object
com.eqixiac.equinix.design.peering.model.NetworkPresence

public class NetworkPresence extends Object
Aggregated presence information for a single network (ASN) across all Equinix metros.

Combines PeeringDB network metadata (peering policy, network type, traffic profile) with per-metro IX peering and facility presence data. This is the primary data object used to populate the PresenceMatrix and drive resiliency analysis.

Author:
ianjones
See Also:
  • Constructor Details

    • NetworkPresence

      public NetworkPresence()
  • Method Details

    • ixMetroCount

      public int ixMetroCount()
      Returns the number of distinct Equinix metros where this ASN has IX peering.
      Returns:
      count of metros with IX presence
    • facilityMetroCount

      public int facilityMetroCount()
      Returns the number of distinct Equinix metros where this ASN has facility presence.
      Returns:
      count of metros with facility presence
    • hasIxPeeringAt

      public boolean hasIxPeeringAt(MetroId metro)
      Checks whether this ASN has IX peering at a specific metro.
      Parameters:
      metro - the metro to check
      Returns:
      true if IX peering is available at this metro
    • hasFacilityAt

      public boolean hasFacilityAt(MetroId metro)
      Checks whether this ASN has facility presence at a specific metro.
      Parameters:
      metro - the metro to check
      Returns:
      true if facility presence exists at this metro
    • hasPresentAt

      public boolean hasPresentAt(MetroId metro)
      Checks whether this ASN has any Equinix presence at a specific metro.
      Parameters:
      metro - the metro to check
      Returns:
      true if any presence exists at this metro