Package com.eqixiac.equinix.design.export


package com.eqixiac.equinix.design.export
Exporters that render design-engine output into portable, version-controllable text formats. Both exporters are stateless, thread-safe, and side-effect free — they read a plan or result and return a string, provisioning nothing.

TerraformExporter renders a DeploymentPlan as HCL for the Equinix Terraform provider: equinix_fabric_cloud_router, equinix_fabric_connection (provider connections and backbone links, with the mandated notifications on every resource and redundancy blocks where planned), and equinix_fabric_routing_protocol (BGP emitted with depends_on its DIRECT sibling), plus sensitive input variables for the customer-supplied cloud authorization keys and VLAN tags. Its honest limits: the caller still supplies provider credentials and the variable values before terraform apply, and physical colocation (cabinets, cross-connects) cannot be expressed at all — the Equinix Terraform provider has no resources for it.

TopologyDiagram renders a DeploymentPlan (metro subgraphs, provider edges, backbone edges; graph LR) or an OptimizationResult (ranked metros and workload placements; graph TD) as Mermaid graph text, which GitHub, GitLab and most docs platforms render natively. Labels are HTML-escaped so real-world names cannot break the diagram.

See Also:
  • Classes
    Class
    Description
    Renders a DeploymentPlan produced by the Deployment Wizard into Infrastructure-as-Code (HCL) for the Equinix Terraform provider.
    Renders deployment topologies as Mermaid graph text.