Allow clients to implement VTN-to-VEN reports with poll callback handlers.
Add callback handlers for oadrRegisterReport and oadrUpdateReport Poll messages.
Notes:
oadrRegisterReport will still return an oadrRegisteredReport with no requested reports as before, so there is no change to that behavior unless a VEN client adds a handler.
oadrUpdateReport previously would crash the client since it would attempt to call an _on_report method that does not exist on the Client class. Now it will return an oadrUpdatedReport to the VTN and call a handler.
Allow clients to implement VTN-to-VEN reports with poll callback handlers.
Add callback handlers for
oadrRegisterReport
andoadrUpdateReport
Poll messages.Notes:
oadrRegisterReport
will still return anoadrRegisteredReport
with no requested reports as before, so there is no change to that behavior unless a VEN client adds a handler.oadrUpdateReport
previously would crash the client since it would attempt to call an_on_report
method that does not exist on the Client class. Now it will return anoadrUpdatedReport
to the VTN and call a handler.Many thanks for this excellent project!