Class PlanSteps
java.lang.Object
com.eqixiac.equinix.design.plan.PlanSteps
Derives the dependency-ordered
PlanSteps of a plan: Cloud Routers, then provider
connections (a redundancy group's PRIMARY before its SECONDARY), then backbone links, then routing
protocols (DIRECT before BGP on the same connection, as Fabric requires), then the elements the SDK
does not create (Interconnects and native multicloud links).
A planned resource without a logical key (a hand-built plan) gets the fallback key
<kind>/<name>, so every step has a key.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringkeyOf(PlannedCloudRouter router) The router's logical key, orrouter/<name>when it has none.static StringkeyOf(PlannedConnection conn) The connection's logical key, orconnection/<name>when it has none.static StringThe Interconnect's logical key, orinterconnect/<name>when it has none.static StringThe routing protocol's logical key, orrp/<name>when it has none.of(DeploymentPlan plan) The steps of a plan, in creation order.
-
Method Details
-
of
The steps of a plan, in creation order.- Parameters:
plan- the plan- Returns:
- the steps; empty for an empty plan
-
keyOf
The router's logical key, orrouter/<name>when it has none.- Parameters:
router- the planned router- Returns:
- the key
-
keyOf
The connection's logical key, orconnection/<name>when it has none.- Parameters:
conn- the planned connection- Returns:
- the key
-
keyOf
The routing protocol's logical key, orrp/<name>when it has none.- Parameters:
rp- the planned routing protocol- Returns:
- the key
-
keyOf
The Interconnect's logical key, orinterconnect/<name>when it has none.- Parameters:
ic- the planned Interconnect- Returns:
- the key
-