Class ExecutionInputs

java.lang.Object
com.eqixiac.equinix.design.optimizer.wizard.model.ExecutionInputs

public class ExecutionInputs extends Object
The customer-supplied, per-connection authorization a DeploymentPlan.execute(ExecutionInputs) run needs to provision cloud provider connections: the cloud-specific authentication key, the DOT1Q VLAN tag, and (for Azure ExpressRoute) the peering type. A brand-new customer, who owns nothing at plan time, gathers these from each cloud console and supplies them here - the wizard never fabricates them, and enumerates exactly what to collect via ConnectionInputRequirement.

Every map is keyed by the planned connection's name - the same name that appears on the plan, in ConnectionInputRequirement (getConnectionName()), and in the plan's Terraform export. A value supplied here fills in the field the plan deliberately left null; a field the plan already carries (a lens-3b plan built with keys) wins and needs no entry here.

ExecutionInputs inputs = ExecutionInputs.builder()
    .authenticationKey("FCR-DC-to-aws", "123456789012")
    .vlanTag("FCR-DC-to-aws", 1001)
    .authenticationKey("FCR-DC-to-azure", "b2c3d4e5-....-guid")
    .peeringType("FCR-DC-to-azure", PeeringType.PRIVATE)
    .vlanTag("FCR-DC-to-azure", 1002)
    .build();

DeploymentOutcome outcome = plan.execute(inputs);
See Also:
  • Constructor Details

    • ExecutionInputs

      public ExecutionInputs()
  • Method Details

    • none

      public static ExecutionInputs none()
      An empty set of inputs - for a backbone-only plan, or a plan whose provider connections already carry their own authorization keys. DeploymentPlan.execute() uses this by default.
      Returns:
      empty execution inputs
    • authenticationKeyFor

      public String authenticationKeyFor(String connectionName)
      The authentication key supplied for the named connection.
      Parameters:
      connectionName - the planned connection name
      Returns:
      the key, or null if none was supplied
    • vlanTagFor

      public Integer vlanTagFor(String connectionName)
      The VLAN tag supplied for the named connection.
      Parameters:
      connectionName - the planned connection name
      Returns:
      the VLAN tag, or null if none was supplied
    • peeringTypeFor

      public PeeringType peeringTypeFor(String connectionName)
      The peering type supplied for the named connection.
      Parameters:
      connectionName - the planned connection name
      Returns:
      the peering type, or null if none was supplied