Versions Compared

Key

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

...

Through implementing the NetconfDeviceOutputEventListener.java and adding the listener to the session anybody who needs to obtain device notifications can listen on device generated messages that are picked up by the listeners implementations that is in the set of to be notified listeners in the StreamHandler implementation, right now NetconfStreamThread.java.

Supported NETCONF Operations

  • sendHello, sends opening hello message which exchanges device capabilities
  • get, requests information from specified configuration
  • getConfig, gets specified configuration
  • editConfig, edits specified configuration
  • copyConfig, copies specified configuration
  • deleteConfig, deletes specified configuration (except <running/>)
  • lock, locks specified configuration
  • unlock, unlocks specified configuration
  • startSubscription, starts a subscription to all notifications from specified device with interleave
  • endSubscription, ends subscription to notifications from specified device – keeps existing SSH session alive
  • closeSession/killSession, closes/kills SSH session

For more background on NETCONF operations, check this out.

Connect your own device to ONOS

...