Uploaded image for project: 'CORD'
  1. CORD
  2. CORD-1458

"cord generate" produces incorrect output

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Blocker
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 3.0, 4.0
    • Component/s: None
    • Labels:
      None

      Description

      The "cord generate" tool produces an incorrect "hosts" block, missing the "basic" level. This interferes with the ability to configure the fabric by following the directions in the quickstart_physical.md file.

      An example of what's produced now:

          "hosts": {
              "3C:FD:FE:A6:E4:59/-1": {
                  "ips": ["10.6.1.1"],
                  "location": "of:0000cc37abd937eb/1"
              },
              "3C:FD:FE:A6:E9:69/-1": {
                  "ips": ["10.6.1.3"],
                  "location": "of:0000cc37abd936e7/3"
              },
              "3C:FD:FE:A6:EF:08/-1": {
                  "ips": ["10.6.1.4"],
                  "location": "of:0000cc37abd936e7/4"
              }
          },
      

      This should actually look like:

        "hosts" : {
          "3C:FD:FE:A6:EF:08/-1" : {
            "basic" : {
              "ips" : [ "10.6.0.19" ],
              "location" : "of:0000cc37abd936e7/4"
            }
          },
          "3C:FD:FE:A6:EF:01/-1" : {
            "basic" : {
              "ips" : [ "10.6.0.36" ],
              "location" : "of:0000cc37abd937eb/2"
            }
          },
          "3C:FD:FE:A6:E4:59/-1" : {
            "basic" : {
              "ips" : [ "10.6.1.1" ],
              "location" : "of:0000cc37abd937eb/1"
            }
          },
          "3C:FD:FE:A6:E9:69/-1" : {
            "basic" : {
              "ips" : [ "10.6.0.18" ],
              "location" : "of:0000cc37abd936e7/3"
            }
          }
        }
      

        Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

            Assignee:
            dbainbri David Bainbridge
            Reporter:
            acb Andy Bavier
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes