Package com.eqixiac.equinix.design.optimizer.context
package com.eqixiac.equinix.design.optimizer.context
The facts of a Metro Optimizer run:
CatalogDesignContext
(an in-memory DesignContext with a builder),
FabricCatalogLoader (builds one from live Fabric
data, read-only) and ProviderCatalog (which metros
each cloud is reachable from). Latencies carry their basis as a
LatencyFigure.-
ClassDescriptionThe
DesignContextof one Metro Optimizer run: the metro catalogue, Fabric's measured metro-to-metro round trips, cloud reachability per metro and the cost model, held in memory and never changed afterCatalogDesignContext.Builder.build().Assembles aCatalogDesignContext.Builds aCatalogDesignContextfrom live Fabric data, read-only, once per run: every page ofGET /fabric/v4/metros(coordinates, region, country, geo scopes and zones, measuredconnectedMetros.avgLatency) and, when the spec names clouds, every page of the service profile search (which metros each cloud is reachable from).One round-trip latency with where it came from.How a latency figure was obtained.Resolves eachCloudIntentof a spec to the Fabric service profiles that serve it and the metros those profiles publish: the source ofreachableCloudsper metro.