Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

SourceEvent TypeDescription of PayloadComments
UIrequestSummaryNo (no payload)Client requesting the server to send topology summary data. Invoked when the summary pane is brought into view.
ServershowSummaryHigh level summary properties: total number of devices, links, hosts, ...The summary data is displayed in a "fly-in" pane in the top right of the view. Note that the server will continue to send these events to keep the summary data up-to-date.
UIcancelSummary(no payload)Client requesting the server to stop sending summary data. Invoked when the summary pane is hidden.
ServeraddInstanceInstance ID, IP address, online status, ...An ONOS instance to be added to the model.
ServeraddDeviceDevice ID, type, online status, mastership, labels, properties, ...A device (switch, roadm, ...) to be added to the model.
ServeraddHostHost ID, type, connection point, labels, properties, ...A host (endstation, bgpSpeaker, router, ...) to be added to the model.
ServeraddLinkLink ID, type, source ID/port, destination ID/port, ...A link (direct, optical, tunnel, ...) to be added to the model.
ServerupdateInstance(same as addInstance)An ONOS instance with updated state.
ServerupdateDevice(same as addDevice)A device with updated state.
ServerupdateHost(same as addHost)A host with updated state.
ServerupdateLink(same as addLink)A link with updated state.
ServerremoveInstance(same as addInstance)**(1)An ONOS instance to be removed from the model.
ServerremoveDevice(same as addDevice)**(1)A device to be removed from the model.
ServerremoveHost(same as addHost)**(1)A host to be removed from the model.
ServerremoveLink(same as addLink)**(1)A link to be removed from the model..
UIupdateMetaitem ID, item class (device, host, ...) memento dataClient requesting the storage of data associated with a specific node (a memento), to be returned in the payload of events pertaining to that node. This is a mechanism whereby the location of the node (as dragged and pinned by the user) is persisted server-side.
UIrequestDetailsitem ID, item class (device, host, ...)Client requesting details for the specified item. Sent in response to the user selecting a node on the map.
ServershowDetailsitem ID, item type (switch, roadm, endstation, ...) and list of propertiesServer response to requestDetails.
UIrequestTrafficlist of IDs for selected items, ID of hovered-over itemClient requesting traffic data to display on the topology. Invoked when the user requests traffic data, and starts exploring the data by hovering the mouse over nodes.
ServershowTrafficlist of paths (sets of link IDs) and labels to apply to those links, as well as the styling classes to apply to those pathsServer response to requestTraffic. Note that the server will continue to send these events to keep updating the display.
UIcancelTraffic(no payload)Client requesting the server to stop sending traffic updates. Invoked by user gesture (typically the ESC key).
UIequalizeMasters(no payload)Client requesting server to rebalance mastership of devices across the cluster. Invoked by a keystroke: 'E'.
UIaddHostIntentIDs of two selected hostsClient requesting server to install a host-to-host intent. Invoked from action button on multi-select display pane.
UIaddMultiSourceIntentIDs of selected nodes (multi source, single destination)Client requesting server to install multiple intents. Invoked from action button on multi-select display pane.
UIrequestDeviceLinkFlowsIDs of selected nodes, ID of hovered-over nodeClient requesting traffic information for showing flow data of selected nodes.
UIrequestAllTraffic(no payload)Client requesting traffic information for whole network.    

**(1) Technically, only the ID field is required, but this simplifies the code on the server side.

...