This commit consists of:
1) Parsing protobuf responses from Voltha into a dict which will also
include the yang proto annotations
2) Converting a protobuf response into a yang-compatible XML format
3) Support for GET (no request params) for Voltha, VolthaInstance and VolthaInstances
4) Minor bug fixes
5) Testing done using the MG-Soft Netconf client
Change-Id: Ibb7f62a391e19b0240cc739919fccc689a316005
diff --git a/netconf/session/nc_protocol_handler.py b/netconf/session/nc_protocol_handler.py
index c64c2c1..64005c4 100644
--- a/netconf/session/nc_protocol_handler.py
+++ b/netconf/session/nc_protocol_handler.py
@@ -180,8 +180,8 @@
rpc_handler=rpc_handler,
is_error=response.is_error,
response=response)
- # self.send_rpc_reply(response.node, rpc)
- self.send_rpc_reply(self.get_instance(), rpc)
+ self.send_rpc_reply(response.node, rpc)
+ # self.send_rpc_reply(self.get_instance(), rpc)
if response.close_session:
log.info('response-closing-session', response=response)