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

localnet NAD example does not depict physicalNetworkName parameter

XMLWordPrintable

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

      None

      Show
      None
    • 3
    • Important
    • None
    • None
    • None
    • None
    • OSDOCS Sprint 269
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      On the OVN-Kubernetes secondary networks documentation, in the localnet network attachment definition example of Configuration for a localnet switched topology section, the example lacks physicalNetworkName field and doesn't explain it.

      In order to be consistent with the NodeNetworkConfigurationPolicy examples above, it must contain the physicalNetworkName field with localnet1 or localnet2 (depending on which example is the one we want to match).

      A correct example would be:

      {
        "cniVersion": "0.3.1",
        "name": "ns1-localnet-network",
        "type": "ovn-k8s-cni-overlay",
        "topology":"localnet",
        "physicalNetworkName": "localnet2",
        "subnets": "202.10.130.112/28",
        "vlanID": 33,
        "mtu": 1500,
        "netAttachDefName": "ns1/localnet-network",
        "excludeSubnets": "10.100.200.0/29"
      }
      

      Note that it also contains the missing comma reported at OCPBUGS-55015

              dfitzmau@redhat.com Darragh Fitzmaurice
              rhn-support-palonsor Pablo Alonso Rodriguez
              None
              None
              Zhanqi Zhao Zhanqi Zhao
              None
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: