Revision b2d60e49 ncclient/operations/flowmon.py
b/ncclient/operations/flowmon.py | ||
---|---|---|
26 | 26 |
|
27 | 27 |
DEPENDS = ["urn:liberouter:params:netconf:capability:power-control:1.0"] |
28 | 28 |
|
29 |
def request(self, target):
|
|
29 |
def request(self): |
|
30 | 30 |
return self._request(new_ele(qualify("poweroff-machine", PC_URN))) |
31 | 31 |
|
32 | 32 |
class RebootMachine(RPC): |
... | ... | |
35 | 35 |
|
36 | 36 |
DEPENDS = ["urn:liberouter:params:netconf:capability:power-control:1.0"] |
37 | 37 |
|
38 |
def request(self, target):
|
|
38 |
def request(self): |
|
39 | 39 |
return self._request(new_ele(qualify("reboot-machine", PC_URN))) |
Also available in: Unified diff