From 3b58a787dd0f453b3e541ff3e7b4ed602ee2ffed Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 15 Jun 2018 12:29:07 +0000 Subject: Update Ansible with new Skylake machines Change-Id: Ia5d0b680deaf7da60696bf2d0260cf7fbea78322 Signed-off-by: Peter Mikus --- .../ansible/host_vars/10.30.51.44.yaml | 2 +- .../ansible/host_vars/10.30.51.45.yaml | 2 +- .../ansible/host_vars/10.30.51.46.yaml | 2 +- .../ansible/host_vars/10.30.51.47.yaml | 2 +- .../ansible/host_vars/10.30.51.48.yaml | 2 +- .../ansible/host_vars/10.30.51.50.yaml | 4 ++++ .../ansible/host_vars/10.30.51.51.yaml | 4 ++++ .../ansible/host_vars/10.30.51.52.yaml | 4 ++++ .../ansible/host_vars/10.30.51.53.yaml | 4 ++++ .../ansible/host_vars/10.30.51.54.yaml | 4 ++++ .../ansible/host_vars/10.30.51.55.yaml | 4 ++++ .../ansible/host_vars/10.30.51.56.yaml | 4 ++++ .../ansible/host_vars/10.30.51.57.yaml | 4 ++++ .../ansible/host_vars/10.30.51.58.yaml | 4 ++++ .../ansible/host_vars/10.30.51.59.yaml | 4 ++++ .../ansible/host_vars/10.30.51.60.yaml | 4 ++++ resources/tools/testbed-setup/ansible/production | 23 +++++++++++++++++----- .../ansible/roles/tg_sut/tasks/main.yaml | 2 +- resources/tools/testbed-setup/ansible/site.yaml | 3 +++ .../tools/testbed-setup/ansible/vppdevice.yaml | 10 ++++++++++ 20 files changed, 81 insertions(+), 11 deletions(-) create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.50.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.51.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.52.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.53.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.54.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.55.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.56.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.57.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.58.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.59.yaml create mode 100644 resources/tools/testbed-setup/ansible/host_vars/10.30.51.60.yaml create mode 100644 resources/tools/testbed-setup/ansible/vppdevice.yaml (limited to 'resources/tools/testbed-setup/ansible') diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.44.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.44.yaml index 4a3df38b9f..e79304fd45 100644 --- a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.44.yaml +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.44.yaml @@ -1,4 +1,4 @@ --- # file: host_vars/10.30.51.44.yaml -hostname: "s1-t21-sut1" +hostname: "s3-t21-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.45.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.45.yaml index 77e69b39d3..1c3c83f1e2 100644 --- a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.45.yaml +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.45.yaml @@ -1,4 +1,4 @@ --- # file: host_vars/10.30.51.45.yaml -hostname: "s2-t21-tg1" +hostname: "s4-t21-tg1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.46.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.46.yaml index e63e1a1c7e..b401af4683 100644 --- a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.46.yaml +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.46.yaml @@ -1,4 +1,4 @@ --- # file: host_vars/10.30.51.46.yaml -hostname: "s9-t31-sut1" +hostname: "s11-t31-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.47.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.47.yaml index d3f198ae8e..78a4619fdd 100644 --- a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.47.yaml +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.47.yaml @@ -1,4 +1,4 @@ --- # file: host_vars/10.30.51.47.yaml -hostname: "s10-t31-sut2" +hostname: "s12-t31-sut2" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.48.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.48.yaml index 2ec7289aed..153904582b 100644 --- a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.48.yaml +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.48.yaml @@ -1,4 +1,4 @@ --- # file: host_vars/10.30.51.48.yaml -hostname: "s11-t31-tg1" +hostname: "s13-t31-tg1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.50.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.50.yaml new file mode 100644 index 0000000000..964dfd2344 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.50.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.50.yaml + +hostname: "s1-t11-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.51.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.51.yaml new file mode 100644 index 0000000000..041cb574e3 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.51.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.51.yaml + +hostname: "s2-t12-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.52.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.52.yaml new file mode 100644 index 0000000000..3e4010445f --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.52.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.52.yaml + +hostname: "s5-t22-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.53.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.53.yaml new file mode 100644 index 0000000000..7de97b5ae5 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.53.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.53.yaml + +hostname: "s6-t22-tg1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.54.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.54.yaml new file mode 100644 index 0000000000..fd1314d8fc --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.54.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.54.yaml + +hostname: "s7-t23-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.55.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.55.yaml new file mode 100644 index 0000000000..93a86f3bd4 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.55.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.55.yaml + +hostname: "s8-t23-tg1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.56.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.56.yaml new file mode 100644 index 0000000000..6c0906317c --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.56.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.56.yaml + +hostname: "s9-t24-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.57.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.57.yaml new file mode 100644 index 0000000000..dfacea836b --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.57.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.57.yaml + +hostname: "s10-t24-tg1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.58.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.58.yaml new file mode 100644 index 0000000000..cab744a12c --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.58.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.58.yaml + +hostname: "s14-t32-sut1" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.59.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.59.yaml new file mode 100644 index 0000000000..867e955423 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.59.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.59.yaml + +hostname: "s15-t32-sut2" diff --git a/resources/tools/testbed-setup/ansible/host_vars/10.30.51.60.yaml b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.60.yaml new file mode 100644 index 0000000000..0b591cfc4b --- /dev/null +++ b/resources/tools/testbed-setup/ansible/host_vars/10.30.51.60.yaml @@ -0,0 +1,4 @@ +--- +# file: host_vars/10.30.51.60.yaml + +hostname: "s16-t32-tg1" diff --git a/resources/tools/testbed-setup/ansible/production b/resources/tools/testbed-setup/ansible/production index ee25c46326..e1703afbcc 100644 --- a/resources/tools/testbed-setup/ansible/production +++ b/resources/tools/testbed-setup/ansible/production @@ -24,14 +24,27 @@ all: children: tg: hosts: - 10.30.51.45: null #s2-t21-tg1 - 10.30.51.48: null #s11-t31-tg1 + 10.30.51.45: null #s4-t21-tg1 + 10.30.51.48: null #s13-t31-tg1 10.30.51.49: null #s17-t33-tg1 + 10.30.51.53: null #s6-t22-tg1 + 10.30.51.55: null #s8-t23-tg1 + 10.30.51.57: null #s10-t24-tg1 + 10.30.51.60: null #s16-t32-tg1 sut: hosts: - 10.30.51.44: null #s1-t21-sut1 - 10.30.51.46: null #s9-t31-sut1 - 10.30.51.47: null #s10-t31-sut2 + 10.30.51.44: null #s3-t21-sut1 + 10.30.51.46: null #s11-t31-sut1 + 10.30.51.47: null #s12-t31-sut2 + 10.30.51.52: null #s5-t22-sut1 + 10.30.51.54: null #s7-t23-sut1 + 10.30.51.56: null #s9-t24-sut1 + 10.30.51.58: null #s14-t32-sut1 + 10.30.51.59: null #s15-t32-sut2 + vppdevice: + hosts: + 10.30.51.50: null #s1-t11-sut1 + 10.30.51.51: null #s2-t12-sut1 # arm: # children: # tg: diff --git a/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/main.yaml index c8454f58c6..cacae7507b 100644 --- a/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/main.yaml +++ b/resources/tools/testbed-setup/ansible/roles/tg_sut/tasks/main.yaml @@ -52,7 +52,7 @@ path: '/etc/default/grub' state: 'present' regexp: '^GRUB_CMDLINE_LINUX=' - line: 'GRUB_CMDLINE_LINUX="isolcpus={{ isolcpus }} nohz_full={{ isolcpus }} rcu_nocbs={{ isolcpus }} intel_pstate=disable"' + line: 'GRUB_CMDLINE_LINUX="isolcpus={{ isolcpus }} nohz_full={{ isolcpus }} rcu_nocbs={{ isolcpus }} numa_balancing=disable intel_pstate=disable"' notify: ['Update GRUB'] tags: set-grub diff --git a/resources/tools/testbed-setup/ansible/site.yaml b/resources/tools/testbed-setup/ansible/site.yaml index b48ce0fa63..45808e53b0 100644 --- a/resources/tools/testbed-setup/ansible/site.yaml +++ b/resources/tools/testbed-setup/ansible/site.yaml @@ -7,5 +7,8 @@ - import_playbook: sut.yaml tags: sut +- import_playbook: vppdevice.yaml + tags: vppdevice + - import_playbook: virl.yaml tags: virl diff --git a/resources/tools/testbed-setup/ansible/vppdevice.yaml b/resources/tools/testbed-setup/ansible/vppdevice.yaml new file mode 100644 index 0000000000..03e61d3cb9 --- /dev/null +++ b/resources/tools/testbed-setup/ansible/vppdevice.yaml @@ -0,0 +1,10 @@ +--- +# file: vppdevice.yaml + +- hosts: vppdevice + remote_user: testuser + become: yes + become_user: root + roles: + - common + - vppdevice -- cgit 1.2.3-korg