Skip to content

Commit

Permalink
Merge 75b334f into 6cec9b9
Browse files Browse the repository at this point in the history
  • Loading branch information
peipeiguo committed Mar 20, 2016
2 parents 6cec9b9 + 75b334f commit ab7324f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ncclient/operations/third_party/huawei/rpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,14 @@ def request(self, command=None):
Configuration system view exec
"""
# node = new_ele("execute-cli")
node = new_ele('execute-cli', attrs={"xmlns":HW_PRIVATE_NS})
node = new_ele("execute-cli", attrs={"xmlns":HW_PRIVATE_NS})
node.append(validated_element(command))
return self._request(node)


class Action(RPC):
"`execute-action` RPC"
def request(self, action=None):
node = new_ele("action")
node = new_ele("execute-action", attrs={"xmlns":HW_PRIVATE_NS})
node.append(validated_element(action))
return self._request(node)

0 comments on commit ab7324f

Please sign in to comment.