added net_cmd to NodeBase for encapsulating network configuration commands
This commit is contained in:
parent
4079df9739
commit
0fe8bea25b
3 changed files with 24 additions and 10 deletions
|
@ -190,7 +190,7 @@ class DockerNode(CoreNode):
|
|||
raise CoreCommandError(status, args, output)
|
||||
return output
|
||||
|
||||
def network_cmd(self, args):
|
||||
def node_net_cmd(self, args):
|
||||
if not self.up:
|
||||
logging.debug("node down, not running network command: %s", args)
|
||||
return 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue