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

localnet NAD example is not valid JSON doc

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
    • 5
    • Important
    • None
    • None
    • None
    • None
    • OSDOCS Sprint 270
    • 1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In Configuration for a localnet switched topology, the following example is wrong:

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

      It is missing a comma, it should be like this:

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

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

                Created:
                Updated:
                Resolved: