added net_cmd to NodeBase for encapsulating network configuration commands

This commit is contained in:
bharnden 2019-10-01 21:06:11 -07:00
parent 4079df9739
commit 0fe8bea25b
3 changed files with 24 additions and 10 deletions

View file

@ -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