Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-48418

Dual-card WPC example has confusing example in source-crs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.17.z
    • 4.14.z, 4.15.z, 4.17.z, 4.16.z, 4.18
    • GitOps ZTP
    • Moderate
    • None
    • Telco kube-compare Sprint 265, Telco kube-compare Sprint 266
    • 2
    • Proposed
    • False
    • Hide

      None

      Show
      None
    • Release Note Not Required
    • In Progress

      This is a clone of issue OCPBUGS-48398. The following is the description of the original issue:

      This is a clone of issue OCPBUGS-48343. The following is the description of the original issue:

      I introduced this misleading formatting quirk when synchronizing the source-crs and cluster-compare reference which hides the proper syntax for the e810 `pins` section.

      Old version:

       

              pins: $e810_pins
              #  "$iface_master":
              #    "U.FL2": "0 2"
              #    "U.FL1": "0 1"
              #    "SMA2": "0 2"
              #    "SMA1": "0 1" 

      Current version:

       

       

                pins:
                  e810_pins: {}
                #  "(?<iface_timeTx1>[[:alnum:]]+)":
                #    "U.FL2": "0 2"
                #    "U.FL1": "0 1"
                #    "SMA2": "0 2"
                #    "SMA1": "2 1"
                #  "(?<iface_timeTx2>[[:alnum:]]+)":
                #    "U.FL2": "0 2"
                #    "U.FL1": "0 1"
                #    "SMA2": "0 2"
                #    "SMA1": "1 1" 

      What it should probably be:

       

       

              pins:
                "$iface_timeTx1":
                  "U.FL2": "0 2"
                  "U.FL1": "0 1"
                  "SMA2": "0 2"
                  "SMA1": "2 1"
                "$iface_timeTx2":
                  "U.FL2": "0 2"
                  "U.FL1": "0 1"
                  "SMA2": "0 2"
                  "SMA1": "1 1"

      The cluster-compare template should of course allow any valid interface name, and any values for any of the pins.

       

              jramsay1@redhat.com Jim Ramsay
              openshift-crt-jira-prow OpenShift Prow Bot
              Dwaine Gonyier Dwaine Gonyier
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: