Uploaded image for project: 'OpenShift Edge Enablement'
  1. OpenShift Edge Enablement
  2. OCPEDGE-2284

Rename two-node directory on origin/test/extended to edge_topologies

XMLWordPrintable

    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • False
    • 1
    • None
    • OCPEDGE Sprint 281
    • 1

      Description

      Node team has requested that we rename the two-node directory to avoid confusion.

      Execute the change while avoiding as much disruption as possible

      Acceptance criteria

      1. Rename the directory

      test/extended/two_node/ → test/extended/edge_topologies/

      2. Update package registration (include.go:59)

      {{// From:
      _ "github.com/openshift/origin/test/extended/two_node"
      // To:
      _ "github.com/openshift/origin/test/extended/edge_topologies"}}

      3. Update package declaration (all .go files in the directory)

      {{// From:
      package two_node
      // To:
      package edge_topologies // }}

      4. Update internal imports (12 files)

      Files that import from utils/:

      • tnf_recovery.gotnf_topology.gotnf_degraded.gotnf_node_replacement.go
      • tna_recovery.goarbiter_topology.go
      • utils/services/etcd.goutils/services/hypervisor.goutils/services/libvirt.goutils/services/pacemaker.go
      • utils/apis/baremetalhost.go

       

      {{// From:
      "github.com/openshift/origin/test/extended/two_node/utils"
      // To:
      "github.com/openshift/origin/test/extended/edge-topologies/utils"}}

      Additional note

      In addition, the impact on sippy and openshift/release needs to be evaluated before applying the changes -> When only updating the directory name, no impact is expected

              rh-ee-pfontani Pablo Fontanilla
              rh-ee-pfontani Pablo Fontanilla
              None
              None
              None
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: