Uploaded image for project: 'ONOS'
  1. ONOS
  2. ONOS-3347

Host is not reattached to its new location after being moved

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.0
    • Component/s: None
    • Labels:
      None
    • Epic Link:
    • Sprint:
      Emu Sprint 3 (11/2 - 11/20)

      Description

      When a host is moved from one switch to another, the web UI does not reattach the host to its new location until I refresh the entire page.

      How to reproduce:

      1. Connect to
      http://localhost:8181/onos/v1/docs/#!/hosts/post_hosts

      2. Post a host information

      {
      	"id": "00:00:00:00:00:05/4093",
      	"mac": "00:00:00:00:00:05",
      	"vlan": "4093",
      	"ipAddresses": [
      		"10.0.1.3"
      	],
      	"location": {
          	"elementId": "of:0000000000000001",
          	"port": "5"
        	}
      }
      

      3. Post the host information again with different location. This will trigger the HOST_MOVED event

      {
      	"id": "00:00:00:00:00:05/4093",
      	"mac": "00:00:00:00:00:05",
      	"vlan": "4093",
      	"ipAddresses": [
      		"10.0.1.3"
      	],
      	"location": {
          	"elementId": "of:0000000000000002",
          	"port": "5"
        	}
      }
      

        Attachments

          Activity

            People

            • Assignee:
              charles Charles Chan
              Reporter:
              charles Charles Chan
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: