Uploaded image for project: 'controller'
  1. controller
  2. CONTROLLER-47

Wrong example to add new static host

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved
    • Resolution: Done
    • 0.4.0
    • None
    • adsal
    • None
    • Operating System: All
      Platform: All

    • 137
    • Normal

    Description

      When adding a static host, the request body fields have some requirements.
      For example, the vlan id cannot be 0, and the staticHost flag must be true.
      So the current example in the java code comments actually does not work, i.e.,

      • Request body in JSON:
        *
      • { * "dataLayerAddress":"00:00:00:00:01:01", * "nodeType":"OF", * "nodeId":"00:00:00:00:00:00:00:01", * "nodeConnectorType":"OF", * "nodeConnectorId":"9", * "vlan":"0", * "staticHost":"false", * "networkAddress":"1.1.1.1" * }

      Attachments

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

        Activity

          People

            Unassigned Unassigned
            yangbaohua@gmail.com Baohua Yang
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: