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 5b60f3409ec..6693ed71df6 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 2f2798ad5c9..71968e1e880 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 a2d952c64d7..2d0bb5cf343 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('.', '_'))