Class CapacityRiskRule
java.lang.Object
com.eqixiac.equinix.design.estate.rules.CapacityRiskRule
- All Implemented Interfaces:
EstateRule
FindingCategory.CAPACITY_RISK.
- Ports: bandwidth allocated to virtual connections at or above
portCapacityWarnPercentof the port speed (HIGH atportCapacityCriticalPercent). The allocation is the API'susedBandwidthwhen reported, else the sum of the in-scope live connections on the port (which can only under-count). - Cloud Routers: connections at or above
routerLimitWarnPercentof the package's connection limit. The limit comes from the/routerPackagesAPI (vcCountMax) or fromEstateThresholds.routerPackageConnectionLimits(); with neither, the router is not assessed (the report lists that as not analysed). The impact is the price difference to the next package.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionevaluate(EstateInventory inv, UtilizationSnapshot util, RuleContext ctx) Evaluates the rule.name()A short, stable name, for exampleright-size.
-
Constructor Details
-
CapacityRiskRule
public CapacityRiskRule()
-
-
Method Details
-
name
Description copied from interface:EstateRuleA short, stable name, for exampleright-size.- Specified by:
namein interfaceEstateRule- Returns:
- the name
-
evaluate
Description copied from interface:EstateRuleEvaluates the rule.- Specified by:
evaluatein interfaceEstateRule- Parameters:
inv- the snapshotutil- the utilisation (UtilizationSnapshot.none()when not collected)ctx- pricing, thresholds and the reference time- Returns:
- the findings, possibly empty
-