Class ProviderConnectivityMap
java.lang.Object
com.eqixiac.equinix.design.optimizer.model.ProviderConnectivityMap
Maps each recommended metro to the providers available there.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe availability entries for one metro.booleanisAvailable(MetroId metro, String providerLabel) Whether the named provider is available at the metro.
-
Constructor Details
-
ProviderConnectivityMap
public ProviderConnectivityMap()
-
-
Method Details
-
forMetro
The availability entries for one metro.- Parameters:
metro- the metro to look up- Returns:
- the metro's provider entries, or an empty list for a metro not in the map
-
isAvailable
Whether the named provider is available at the metro.The label is matched by exact, case-sensitive equality against each entry's provider label, which is the requirement's
displayLabel()- the custom label if one was set, else theCloudProviderTypeprovider name, else the service profile name/uuid. Pass that same label; a lowercase or partial name matches nothing.- Parameters:
metro- the metro to checkproviderLabel- the requirement's display label- Returns:
truewhen an available entry with exactly that label exists at the metro
-