Revision 179b00d4 ncclient/rpc/rpc.py
b/ncclient/rpc/rpc.py | ||
---|---|---|
54 | 54 |
spec = { |
55 | 55 |
'tag': _('rpc'), |
56 | 56 |
'attributes': {'message-id': self._id}, |
57 |
'children': opspec
|
|
57 |
'subtree': opspec
|
|
58 | 58 |
} |
59 | 59 |
return XMLConverter(spec).to_string(encoding) |
60 | 60 |
|
... | ... | |
71 | 71 |
else: |
72 | 72 |
raise ReplyTimeoutError |
73 | 73 |
|
74 |
def request(self): |
|
75 |
return self._request(self.SPEC) |
|
76 |
|
|
74 | 77 |
def _delivery_hook(self): |
75 | 78 |
'For subclasses' |
76 | 79 |
pass |
Also available in: Unified diff