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/nc_rpc/base/copy_config.py b/netconf/nc_rpc/base/copy_config.py
index e287770..a59081d 100644
--- a/netconf/nc_rpc/base/copy_config.py
+++ b/netconf/nc_rpc/base/copy_config.py
@@ -23,9 +23,8 @@
class CopyConfig(Rpc):
- def __init__(self, rpc_request, rpc_method, grpc_client, session):
- super(CopyConfig, self).__init__(rpc_request, rpc_method,
- grpc_client, session)
+ def __init__(self, request, grpc_client, session):
+ super(CopyConfig, self).__init__(request, grpc_client, session)
self._validate_parameters()
def execute(self):