From b5d5888b6e57fb08a784652e1a1e0daa6484d16b Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Mon, 16 Jan 2017 14:33:52 -0800 Subject: [PATCH] Add support for ios to ansible-test. --- test/runner/completion/network.txt | 1 + test/runner/lib/core_ci.py | 1 + test/runner/lib/manage_ci.py | 1 + 3 files changed, 3 insertions(+) diff --git a/test/runner/completion/network.txt b/test/runner/completion/network.txt index 5b60f3409e..6693ed71df 100644 --- a/test/runner/completion/network.txt +++ b/test/runner/completion/network.txt @@ -1,3 +1,4 @@ +ios/csr1000v junos/vmx junos/vsrx vyos/1.0.5 diff --git a/test/runner/lib/core_ci.py b/test/runner/lib/core_ci.py index 2f2798ad5c..71968e1e88 100644 --- a/test/runner/lib/core_ci.py +++ b/test/runner/lib/core_ci.py @@ -50,6 +50,7 @@ class AnsibleCoreCI(object): 'freebsd', 'vyos', 'junos', + 'ios', ) osx_platforms = ( diff --git a/test/runner/lib/manage_ci.py b/test/runner/lib/manage_ci.py index a2d952c64d..2d0bb5cf34 100644 --- a/test/runner/lib/manage_ci.py +++ b/test/runner/lib/manage_ci.py @@ -75,6 +75,7 @@ class ManageNetworkCI(object): 'ansible_port=%s' % self.core_ci.connection.port, 'ansible_connection=network_cli', 'ansible_ssh_private_key_file=%s' % self.core_ci.ssh_key.key, + 'ansible_network_os=%s' % self.core_ci.platform, ] name = '%s-%s' % (self.core_ci.platform, self.core_ci.version.replace('.', '_'))