[CONTROLLER-47] Wrong example to add new static host Created: 06/Nov/13  Updated: 19/Oct/17  Resolved: 05/May/15

Status: Resolved
Project: controller
Component/s: adsal
Affects Version/s: 0.4.0
Fix Version/s: None

Type: Bug
Reporter: Baohua Yang Assignee: Unassigned
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 137
Priority: 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" * }


 Comments   
Comment by Carol Sanders [ 05/May/15 ]

This bug is part of the project to Move all ADSAL associated component bugs to ADSAL.

Generated at Wed Feb 07 19:52:03 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.