changes to update commands to leverage either node_net_cmd/net_cmd
This commit is contained in:
parent
bc58693339
commit
f6cdeb23de
13 changed files with 67 additions and 37 deletions
|
@ -26,7 +26,7 @@ _DIR = os.path.dirname(os.path.abspath(__file__))
|
|||
|
||||
def ping(from_node, to_node, ip_prefixes, count=3):
|
||||
address = ip_prefixes.ip4_address(to_node)
|
||||
return from_node.cmd(["ping", "-c", str(count), address])
|
||||
return from_node.node_net_cmd(["ping", "-c", str(count), address])
|
||||
|
||||
|
||||
class TestEmane:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue