Package com.eqixiac.equinix.design.constraint


package com.eqixiac.equinix.design.constraint
The built-in hard limits of the Metro Optimizer: one small, pure Constraint per field of DesignConstraints, plus the workload rules, the single-currency budget and the every-metro-used rule. Constraints.forSpec(DesignSpec) picks the ones a spec needs.
  • Classes
    Class
    Description
    The expected monthly cost must not exceed commercial.budgetMaxMonthly.
    Every metro must be in a region that at least one zone of constraints.complianceZones allows (ComplianceZone.getAllowedRegions()): the design stays within the stated zones.
    Chooses the built-in constraints a spec needs, and shared helpers.
    Every metro of a design must carry a workload (primary or standby) or a cloud connection.
    No metro in constraints.excludedMetros may be used.
    No metro may be in a region of constraints.excludedRegions.
    Data sovereignty: every metro must belong to at least one of constraints.geoZones according to the live catalogue's geoScopes/geoZones for that metro (matched case-insensitively; CH, AU, BR, JP, CA, US also match the corresponding geo scope).
    Every site's round trip to its nearest portfolio metro must be within constraints.maxLatencyMs.
    constraints.minMetros and constraints.maxMetros.
    constraints.minimumRedundancy as an explicit rule on the metro set (see RedundancyTier): fewest metros, fewest distinct regions, and for N_PLUS_1 two metros sharing a region.
    Every workload with a pinnedMetro needs that metro in the design.
    Every required cloud must be reachable from at least one metro of the design, and every workload must reach each required cloud it names from the metro it is placed in (a workload runs in one metro).
    Every metro in constraints.requiredMetros must be part of the design.
    The design must have at least one metro in every region of constraints.requiredRegions.
    Each workload with a maxLatencyMs must be placed (by WorkloadPlacer) in a metro whose worst known round trip to any site is within the limit.