From 189375c61155848e57e7de4c032ca7476acabaf9 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Wed, 30 Aug 2017 10:44:26 -0700 Subject: [PATCH] Revert "Remove network integration group_vars/host_vars (#28827)" This reverts commit 0a2df4cdaf67470410d0791dcd33b179c7cce507. --- test/integration/group_vars/asa.yaml | 8 ++++++++ test/integration/group_vars/dellos10.yaml | 6 ++++++ test/integration/group_vars/dellos6.yaml | 8 ++++++++ test/integration/group_vars/dellos9.yaml | 8 ++++++++ test/integration/group_vars/eos.yaml | 13 +++++++++++++ test/integration/group_vars/ios.yaml | 6 ++++++ test/integration/group_vars/iosxr.yaml | 6 ++++++ test/integration/group_vars/junos.yaml | 12 ++++++++++++ test/integration/group_vars/nxos.yaml | 14 ++++++++++++++ test/integration/group_vars/ops.yaml | 6 ++++++ test/integration/group_vars/vyos.yaml | 6 ++++++ 11 files changed, 93 insertions(+) create mode 100644 test/integration/group_vars/asa.yaml create mode 100644 test/integration/group_vars/dellos10.yaml create mode 100644 test/integration/group_vars/dellos6.yaml create mode 100644 test/integration/group_vars/dellos9.yaml create mode 100644 test/integration/group_vars/eos.yaml create mode 100644 test/integration/group_vars/ios.yaml create mode 100644 test/integration/group_vars/iosxr.yaml create mode 100644 test/integration/group_vars/junos.yaml create mode 100644 test/integration/group_vars/nxos.yaml create mode 100644 test/integration/group_vars/ops.yaml create mode 100644 test/integration/group_vars/vyos.yaml diff --git a/test/integration/group_vars/asa.yaml b/test/integration/group_vars/asa.yaml new file mode 100644 index 0000000000..b6316e57ac --- /dev/null +++ b/test/integration/group_vars/asa.yaml @@ -0,0 +1,8 @@ +--- +cli: + host: "{{ inventory_hostname }}" + username: "{{ asa_cli_user | default('cisco') }}" + password: "{{ asa_cli_pass | default('cisco') }}" + transport: cli + authorize: yes + auth_pass: "{{ asa_auth_pass | default('cisco') }}" diff --git a/test/integration/group_vars/dellos10.yaml b/test/integration/group_vars/dellos10.yaml new file mode 100644 index 0000000000..48a3d59a07 --- /dev/null +++ b/test/integration/group_vars/dellos10.yaml @@ -0,0 +1,6 @@ +--- +cli: + host: "{{ ansible_host }}" + username: "{{ dellos10_cli_user | default('admin') }}" + password: "{{ dellos10_cli_pass | default('admin') }}" + transport: cli diff --git a/test/integration/group_vars/dellos6.yaml b/test/integration/group_vars/dellos6.yaml new file mode 100644 index 0000000000..668f287c07 --- /dev/null +++ b/test/integration/group_vars/dellos6.yaml @@ -0,0 +1,8 @@ +--- +cli: + host: "{{ ansible_host }}" + username: "{{ dellos_cli_user | default('admin') }}" + password: "{{ dellos_cli_pass | default('admin') }}" + authorize: true + auth_pass: "{{ dellos_cli_auth_pass | default('calvin') }}" + transport: cli diff --git a/test/integration/group_vars/dellos9.yaml b/test/integration/group_vars/dellos9.yaml new file mode 100644 index 0000000000..3b3bb6bd39 --- /dev/null +++ b/test/integration/group_vars/dellos9.yaml @@ -0,0 +1,8 @@ +--- +cli: + host: "{{ ansible_host }}" + username: "{{ dellos9_cli_user | default('admin') }}" + password: "{{ dellos9_cli_pass | default('admin') }}" + authorize: true + auth_pass: "{{ dellos9_cli_en_pass | default('calvin') }}" + transport: cli diff --git a/test/integration/group_vars/eos.yaml b/test/integration/group_vars/eos.yaml new file mode 100644 index 0000000000..a301707165 --- /dev/null +++ b/test/integration/group_vars/eos.yaml @@ -0,0 +1,13 @@ +--- +cli: + host: "{{ ansible_host }}" + transport: cli + authorize: yes + +eapi: + host: "{{ ansible_host }}" + transport: eapi + timeout: 60 + use_ssl: no + port: 80 + authorize: yes diff --git a/test/integration/group_vars/ios.yaml b/test/integration/group_vars/ios.yaml new file mode 100644 index 0000000000..21b55f5621 --- /dev/null +++ b/test/integration/group_vars/ios.yaml @@ -0,0 +1,6 @@ +--- +cli: + host: "{{ inventory_hostname }}" + username: "{{ ios_cli_user | default('cisco') }}" + password: "{{ ios_cli_pass | default('cisco') }}" + transport: cli diff --git a/test/integration/group_vars/iosxr.yaml b/test/integration/group_vars/iosxr.yaml new file mode 100644 index 0000000000..878b47b366 --- /dev/null +++ b/test/integration/group_vars/iosxr.yaml @@ -0,0 +1,6 @@ +--- +cli: + host: "{{ inventory_hostname }}" + username: "{{ iosxr_cli_user | default('root') }}" + password: "{{ iosxr_cli_pass | default('root') }}" + transport: cli diff --git a/test/integration/group_vars/junos.yaml b/test/integration/group_vars/junos.yaml new file mode 100644 index 0000000000..4672197b7d --- /dev/null +++ b/test/integration/group_vars/junos.yaml @@ -0,0 +1,12 @@ +--- +netconf: + host: "{{ ansible_ssh_host }}" + #username: "{{ junos_cli_user | default('ansible') }}" + #password: "{{ junos_cli_pass | default('Ansible') }}" + transport: netconf + +cli: + host: "{{ ansible_ssh_host }}" + #username: "{{ junos_cli_user | default('ansible') }}" + #password: "{{ junos_cli_pass | default('Ansible') }}" + transport: cli diff --git a/test/integration/group_vars/nxos.yaml b/test/integration/group_vars/nxos.yaml new file mode 100644 index 0000000000..fb61562054 --- /dev/null +++ b/test/integration/group_vars/nxos.yaml @@ -0,0 +1,14 @@ +--- +cli: + host: "{{ ansible_ssh_host }}" + #username: "{{ nxos_cli_user | default('admin') }}" + #password: "{{ nxos_cli_pass | default('admin') }}" + transport: cli + +nxapi: + host: "{{ ansible_ssh_host }}" + #username: "{{ nxos_nxapi_user | default('admin') }}" + #password: "{{ nxos_nxapi_pass | default('admin') }}" + transport: nxapi + use_ssl: no + port: 8080 diff --git a/test/integration/group_vars/ops.yaml b/test/integration/group_vars/ops.yaml new file mode 100644 index 0000000000..d9580e8197 --- /dev/null +++ b/test/integration/group_vars/ops.yaml @@ -0,0 +1,6 @@ +--- +cli: + host: "{{ inventory_hostname }}" + username: "{{ ops_cli_user | default('netop') }}" + password: "{{ ops_cli_pass | default('netop') }}" + transport: cli diff --git a/test/integration/group_vars/vyos.yaml b/test/integration/group_vars/vyos.yaml new file mode 100644 index 0000000000..6a02c73cda --- /dev/null +++ b/test/integration/group_vars/vyos.yaml @@ -0,0 +1,6 @@ +--- +cli: + host: "{{ ansible_ssh_host }}" +# username: "{{ vyos_cli_user | default('ansible-admin') }}" +# password: "{{ vyos_cli_pass | default('adminpw') }}" + transport: cli