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

NetworkAttachementDefinition looks incorrect in SR-IOV docs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • None
    • 4.14, 4.15, 4.16, 4.17, 4.18, 4.19, 4.20
    • Documentation / CNF
    • None
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Description of problem:

       

      In https://docs.redhat.com/en/documentation/openshift_container_platform/4.16/html/networking/hardware-networks#nw-multus-configure-dualstack-ip-address_configuring-sriov-ib-attach the NetworkAttachementDefintion looks incorrect:

      kind: Network
      =metadata:

      I don't believe there should be = in here. 

      cniVersion: operator.openshift.io/v1
      kind: Network
      =metadata:
        name: cluster
      spec:
        additionalNetworks:
        - name: whereabouts-shim
          namespace: default
          type: Raw
          rawCNIConfig: |-
            {
             "name": "whereabouts-dual-stack",
             "cniVersion": "0.3.1,
             "type": "bridge",
             "ipam":

      {          "type": "whereabouts",          "ipRanges": [                   \{"range": "192.168.10.0/24"}

      ,
                        {"range": "2001:db8::/64"}
                    ]
             }
            }

       

      should be 

      kind: Network
      metadata:
        name: cluster
      spec:

      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              ctomasko Catherine Tomasko
              rhn-support-kquinn Kevin Quinn
              None
              None
              Evgeny Levin Evgeny Levin
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: