diff options
Diffstat (limited to 'resources/tools/testbed-setup')
182 files changed, 0 insertions, 7083 deletions
diff --git a/resources/tools/testbed-setup/README.rst b/resources/tools/testbed-setup/README.rst deleted file mode 100644 index 9059e28500..0000000000 --- a/resources/tools/testbed-setup/README.rst +++ /dev/null @@ -1,152 +0,0 @@ -Testbed Setup -============= - -Introduction ------------- - -This directory contains the *high-level* process to set up a hardware machine -as a CSIT testbed, either for use as a physical performance testbed host or as -a vpp_device host. - -Code in this directory is NOT executed as part of a regular CSIT test case -but is stored here for ad-hoc installation of HW, archiving and documentation -purposes. - -Documentation below is step by step tutorial and assumes an understanding of PXE -boot and `Ansible <https://www.ansible.com/>`_ and managing physical hardware -via CIMC or IPMI. - -This process is not specific for Linux Foundation lab, but associated files and -code, is based on the assumption that it runs in Linux Foundation environment. -If run elsewhere, changes will be required in following files: - -#. Inventory directory: `ansible/inventories/sample_inventory/` -#. Inventory files: `ansible/inventories/sample_inventory/hosts` - -The process below assumes that there is a host used for bootstrapping (referred -to as a "Cobbler provision host" below), with reachable DHCP service. - -Ansible host ------------- - -Prerequisities for running Ansible -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -- CIMC/IPMI address, username, password are set in BIOS. -- Ansible can be invoked on any host that has direct SSH connectivity to - the remote hosts that will be provisioned (does not need to be Cobbler - provision host). This may require installed ssh_keys `ssh-copy-id` on remote - host or disabled StrictHostChecking on host running Ansible: - - :: - - Host <host_ip or host subnet_ip> - StrictHostKeyChecking no - UserKnownHostsFile=/dev/null - -- Ansible version 2.7+ is installed via PIP or via standard package - distribution (apt, yum, dnf). -- User `testuser` with password `Csit1234` is created with home folder - initialized on all remote machines that will be provisioned. -- Inventory directory is created with same or similar content as - `inventories/lf_inventory` in `inventories/` directory (`sample_inventory` - can be used). -- Group variables in `ansible/inventories/<inventory>/group_vars/all.yaml` are - adjusted per environment with special attention to `proxy_env` variable. -- Host variables in `ansible/inventories/<inventory>/host_vars/x.x.x.x.yaml` are - defined. - -Ansible structure -~~~~~~~~~~~~~~~~~ - -Ansible is defining roles `tg` (Traffic Generator), `sut` (System Under Test), -`vpp_device` (vpp_device host for functional device testing), `common` -(Applicable for all hosts in inventory) and `cobbler` (Cobbler provision host). - -Each host has corresponding Ansible role mapped and is applied only if a host -with that role is present in inventory file. As a part of optimization the role -`common` contains Ansible tasks applied for all hosts. - -.. note:: - - You may see `[WARNING]: Could not match supplied host pattern, ignoring: - <role>` in case you have not define hosts for that particular role. - -Ansible structure is described below: - -.. code-block:: bash - - . - ├── inventories # Contains all inventories. - │  ├── sample_inventory # Sample, free for edits outside of LF. - │  │  ├── group_vars # Variables applied for all hosts. - │  │  │  └── all.yaml - │  │  ├── hosts # Inventory list with sample hosts. - │  │  └── host_vars # Variables applied for single host only. - │  │  └── 1.1.1.1.yaml # Sample host with IP 1.1.1.1 - │  └── lf_inventory # Linux Foundation inventory. - │  ├── group_vars - │  │  └── all.yaml - │  ├── hosts - │  └── host_vars - ├── roles # CSIT roles. - │  ├── cobbler # Role applied for Cobbler host only. - │  ├── common # Role applied for all hosts. - │  ├── sut # Role applied for all SUTs only. - │  ├── tg # Role applied for all TGs only. - │  ├── tg_sut # Role applied for TGs and SUTs only. - │  └── vpp_device # Role applied for vpp_device only. - ├── site.yaml # Main playbook. - ├── sut.yaml # SUT playbook. - ├── tg.yaml # TG playbook. - ├── vault_pass # Main password for vault. - ├── vault.yml # Ansible vault storage. - └── vpp_device.yaml # vpp_device playbook. - -Tagging -~~~~~~~ - -Every task, handler, role or playbook is tagged with self-explanatory tag(s) -that could be used to limit which Ansible objects are applied to target systems. - -You can see what tags are applied to tasks, roles, and static imports by -running `ansible-playbook` with the `--list-tasks` option. You can display all -tags applied to the tasks with the `--list-tags` option. - -Running Ansible -~~~~~~~~~~~~~~~ - -#. Go to ansible directory: `$ cd csit/resources/tools/testbed-setup/ansible` -#. Run ansible on selected hosts: - `$ ansible-playbook --vault-password-file=vault_pass --extra-vars - '@vault.yml' --inventory <inventory_file> site.yaml --limit <host_ip>` -#. (Optional) Run ansible on selected hosts with selected tags: - `$ ansible-playbook --vault-password-file=vault_pass --extra-vars - '@vault.yml' --inventory <inventory_file> site.yaml --limit <host_ip> - --tags 'copy-90-csit'` - -.. note:: - - In case you want to provision only particular role. You can use tags: `tg`, - `sut`, `vpp_device`. - -Baremetal provisioning of host via Ansible Cobbler module -~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ - -Baremetal provisioning of the host with Ansible is done via `Cobbler -<https://cobbler.github.io/>`_. Ansible contains a role `cobbler` that includes -a set of tasks for deploying Cobbler in a container on dedicated host. -Container is built during Ansible run of `cobbler` role and it provides DHCPD, -TFTPD, HTTTP and Cobbler services. - -There is a special set of tasks and handlers in `common` role that does include -a system into Cobbler and reboots provisioned host. - -#. Go to Ansible directory: `$ cd csit/resources/tools/testbed-setup/ansible` -#. Prepare Cobbler provision host via Ansible on dedicated hosts: - `$ ansible-playbook --vault-password-file=vault_pass --extra-vars - '@vault.yml' --inventory <inventory_file> site.yaml --limit <cobbler_ip>` -#. Run Ansible on selected hosts with selected tags: - `$ ansible-playbook --vault-password-file=vault_pass --extra-vars - '@vault.yml' --inventory <inventory_file> site.yaml --limit <host_ip> - --tags 'provision'` diff --git a/resources/tools/testbed-setup/ansible/.gitignore b/resources/tools/testbed-setup/ansible/.gitignore deleted file mode 100644 index bed1e33b88..0000000000 --- a/resources/tools/testbed-setup/ansible/.gitignore +++ /dev/null @@ -1 +0,0 @@ -site.retry
\ No newline at end of file diff --git a/resources/tools/testbed-setup/ansible/cloud_topology.yaml b/resources/tools/testbed-setup/ansible/cloud_topology.yaml deleted file mode 100644 index 083a3bd368..0000000000 --- a/resources/tools/testbed-setup/ansible/cloud_topology.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# file: cloud_topology.yaml - -- hosts: localhost - gather_facts: false - roles: - - role: topology - tags: topology - diff --git a/resources/tools/testbed-setup/ansible/dev.yaml b/resources/tools/testbed-setup/ansible/dev.yaml deleted file mode 100644 index 48ec6b21c5..0000000000 --- a/resources/tools/testbed-setup/ansible/dev.yaml +++ /dev/null @@ -1,12 +0,0 @@ ---- -# file: dev.yaml - -- hosts: dev - remote_user: testuser - become: yes - become_user: root - roles: - - role: user_add - tags: user_add - - role: docker - tags: docker diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml deleted file mode 100644 index 0756621eef..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/group_vars/all.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# file: lf_inventory/group_vars/all.yaml - -# Ansible interpreter (for PIP) -ansible_python_interpreter: "/usr/bin/python3" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.13.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.13.yaml deleted file mode 100644 index 443f7255f8..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.13.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# file: host_vars/10.30.51.13.yaml - -hostname: "s44-nomad" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "server" -nomad_retry_servers: [ "10.30.51.32", "10.30.51.33", "10.30.51.14" ] -nomad_servers: [ "10.30.51.13:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.14.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.14.yaml deleted file mode 100644 index 4da927ebd4..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.14.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# file: host_vars/10.30.51.14.yaml - -hostname: "s45-nomad" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "server" -nomad_retry_servers: [ "10.30.51.32", "10.30.51.33", "10.30.51.13" ] -nomad_servers: [ "10.30.51.13:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.16.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.16.yaml deleted file mode 100644 index 660e33ee53..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.16.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.16.yaml - -hostname: "t1-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.16' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.17.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.17.yaml deleted file mode 100644 index 48e5083332..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.17.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.17.yaml - -hostname: "t1-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.17' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.18.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.18.yaml deleted file mode 100644 index f823ed6406..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.18.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.18.yaml - -hostname: "t1-sut2" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.18' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.20.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.20.yaml deleted file mode 100644 index 68af6e81f7..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.20.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.20.yaml - -hostname: "t2-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.20' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.21.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.21.yaml deleted file mode 100644 index 0d43874ae3..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.21.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.21.yaml - -hostname: "t2-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.21' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml deleted file mode 100644 index 797606a353..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.22.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.22.yaml - -hostname: "t2-sut2" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.22' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml deleted file mode 100644 index 25bb536f81..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.24.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.24.yaml - -hostname: "t3-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.24' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml deleted file mode 100644 index db02aa7816..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.25.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.25.yaml - -hostname: "t3-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.25' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml deleted file mode 100644 index 0e97bd0fd2..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.26.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.26.yaml - -hostname: "t3-sut2" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-17,19-35" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-17,19-35" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-17,19-35" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,18" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_cimc_hostname: '10.30.50.26' -cpu_microarchitecture: "haswell" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml deleted file mode 100644 index 34e03fec7b..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.28.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -# file: host_vars/10.30.51.28.yaml - -hostname: "s41-nomad" -inventory_cimc_hostname: "10.30.50.28" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" - fingerprint.network.disallow_link_local: true -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml deleted file mode 100644 index 53eea0d12d..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.29.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -# file: host_vars/10.30.51.29.yaml - -hostname: "s39-nomad" -inventory_cimc_hostname: "10.30.50.29" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml deleted file mode 100644 index 5b8133ef84..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.30.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -# file: host_vars/10.30.51.30.yaml - -hostname: "s40-nomad" -inventory_cimc_hostname: "10.30.50.30" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "both" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" - fingerprint.network.disallow_link_local: true -nomad_retry_servers: [ "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.32.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.32.yaml deleted file mode 100644 index fe5c37935e..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.32.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -# file: host_vars/10.30.51.32.yaml - -hostname: "s42-nomad" -inventory_cimc_hostname: "10.30.50.32" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "both" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_retry_servers: [ "10.30.51.33", "10.30.51.30" ] -nomad_servers: [ "10.30.51.32:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.33.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.33.yaml deleted file mode 100644 index ef8ced7262..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.33.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -# file: host_vars/10.30.51.33.yaml - -hostname: "s43-nomad" -inventory_cimc_hostname: "10.30.50.33" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "both" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_retry_servers: [ "10.30.51.32", "10.30.51.30" ] -nomad_servers: [ "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.34.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.34.yaml deleted file mode 100644 index d0afca9164..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.34.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -# file: host_vars/10.30.51.34.yaml - -hostname: "s44-nomad" -inventory_cimc_hostname: "10.30.50.34" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_retry_servers: [ "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.35.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.35.yaml deleted file mode 100644 index 75980daf86..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.35.yaml +++ /dev/null @@ -1,39 +0,0 @@ ---- -# file: host_vars/10.30.51.35.yaml - -hostname: "s45-nomad" -inventory_cimc_hostname: "10.30.50.35" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v2_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v2_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v2_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_retry_servers: [ "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml deleted file mode 100644 index cb15cadfa3..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.36.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -# file: host_vars/10.30.51.36.yaml - -hostname: "s17-t33-sut1" -grub: - audit: "0" - intel_iommu: "on" - isolcpus: "1-15,17-31,33-47,49-63" - nmi_watchdog: "0" - nohz_full: "1-15,17-31,33-47,49-63" - nosoftlockup: True - processor.max_cstate: "1" - rcu_nocbs: "1-15,17-31,33-47,49-63" -sysctl: - kernel: - watchdog_cpumask: "0,16,32,48" - vm: - nr_hugepages: 4096 - max_map_count: 20000 -cpu_microarchitecture: "taishan" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml deleted file mode 100644 index 90a3d4ffc3..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.37.yaml +++ /dev/null @@ -1,20 +0,0 @@ ---- -# file: host_vars/10.30.51.37.yaml - -hostname: "s18-t33-sut2" -grub: - audit: "0" - intel_iommu: "on" - isolcpus: "1-15,17-31,33-47,49-63" - nmi_watchdog: "0" - nohz_full: "1-15,17-31,33-47,49-63" - nosoftlockup: True - processor.max_cstate: "1" - rcu_nocbs: "1-15,17-31,33-47,49-63" -sysctl: - kernel: - watchdog_cpumask: "0,16,32,48" - vm: - nr_hugepages: 4096 - max_map_count: 20000 -cpu_microarchitecture: "taishan" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.38.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.38.yaml deleted file mode 100644 index 77fee7377b..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.38.yaml +++ /dev/null @@ -1,24 +0,0 @@ ---- -# file: host_vars/10.30.51.38.yaml - -hostname: "fdio-marvell-dev" -inventory_ipmi_hostname: "10.30.50.38" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: vppdev - groups: [adm, sudo] - password: "$6$C5R6nFQlJ9Vu$l.Q6BDOMSgUFQv5OQw4viZVz8LCHziubXAwThaJXo/xVaAkqTGupPTvdMlK5r4ArDvDMPgD0AeO8/L.ciPl.g." diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml deleted file mode 100644 index 41b3ed2238..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.39.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# file: host_vars/10.30.51.39.yaml - -hostname: "s53-nomad" -inventory_ipmi_hostname: "10.30.50.39" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 0 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml deleted file mode 100644 index a91ed66a33..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.40.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# file: host_vars/10.30.51.40.yaml - -hostname: "s54-nomad" -inventory_ipmi_hostname: "10.30.50.40" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 0 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml deleted file mode 100644 index 2b06831186..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.44.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.44.yaml - -hostname: "s3-t21-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.41' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml deleted file mode 100644 index 9818f826c9..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.45.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.45.yaml - -hostname: "s4-t21-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.42' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml deleted file mode 100644 index 24be5e2e54..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.46.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.46.yaml - -hostname: "s11-t31-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.43' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml deleted file mode 100644 index 7b59ff1606..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.47.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.47.yaml - -hostname: "s12-t31-sut2" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.44' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml deleted file mode 100644 index d69fd03edc..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.48.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.48.yaml - -hostname: "s13-t31-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.45' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml deleted file mode 100644 index 62ef6da2ce..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.49.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.49.yaml - -hostname: "s19-t33t34-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.46' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml deleted file mode 100644 index 20dc7a5880..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.50.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.50.yaml - -hostname: "s1-t11-sut1" -grub: - hugepagesz: "2M" - nr_hugepages: 65536 -inventory_ipmi_hostname: "10.30.50.47" -cpu_microarchitecture: "skylake" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "csit" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - docker.volumes.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml deleted file mode 100644 index f518fa5704..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.51.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.51.yaml - -hostname: "s2-t12-sut1" -grub: - hugepagesz: "2M" - nr_hugepages: 65536 -inventory_ipmi_hostname: "10.30.50.48" -cpu_microarchitecture: "skylake" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "csit" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - docker.volumes.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml deleted file mode 100644 index 4a4ccc0d91..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.52.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.52.yaml - -hostname: "s5-t22-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.49' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml deleted file mode 100644 index f0a50bfb71..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.53.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.53.yaml - -hostname: "s6-t22-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.50' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml deleted file mode 100644 index b51eed468f..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.54.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.54.yaml - -hostname: "s7-t23-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.51' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml deleted file mode 100644 index 4b144fa69b..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.55.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.55.yaml - -hostname: "s8-t23-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.52' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml deleted file mode 100644 index 613c9b110c..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.56.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.56.yaml - -hostname: "s9-t24-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.53' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml deleted file mode 100644 index 52ec3d9911..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.57.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.57.yaml - -hostname: "s10-t24-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.54' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml deleted file mode 100644 index 8971b4a7bb..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.58.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.58.yaml - -hostname: "s14-t32-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.55' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml deleted file mode 100644 index ed39581e30..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.59.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.59.yaml - -hostname: "s15-t32-sut2" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 36864 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.56' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml deleted file mode 100644 index 1e3a49cf1d..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.60.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.30.51.60.yaml - -hostname: "s16-t32-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.50.57' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml deleted file mode 100644 index 30a8bc0525..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.65.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# file: host_vars/10.30.51.65.yaml - -hostname: "s52-nomad" -inventory_ipmi_hostname: "10.30.50.65" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 0 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml deleted file mode 100644 index 3bb4c32a41..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.66.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# file: host_vars/10.30.51.66.yaml - -hostname: "s51-nomad" -inventory_ipmi_hostname: "10.30.50.66" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 0 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml deleted file mode 100644 index b65abe4638..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.67.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# file: host_vars/10.30.51.67.yaml - -hostname: "s49-nomad" -inventory_ipmi_hostname: "10.30.50.67" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 0 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml deleted file mode 100644 index a5410850a3..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.68.yaml +++ /dev/null @@ -1,41 +0,0 @@ ---- -# file: host_vars/10.30.51.68.yaml - -hostname: "s50-nomad" -inventory_ipmi_hostname: "10.30.50.68" -cpu_microarchitecture: "thunderx" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml deleted file mode 100644 index 221bc3afb5..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.69.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -# file: host_vars/10.30.51.69.yaml - -hostname: "s27-t13-sut1" -grub: - audit: "0" - intel_iommu: "on" - isolcpus: "1-111,113-223" - nmi_watchdog: "0" - nohz_full: "1-111,113-223" - nosoftlockup: True - processor.max_cstate: "1" - rcu_nocbs: "1-111,113-223" -sysctl: - kernel: - watchdog_cpumask: "0,112" - vm: - nr_hugepages: 57344 - max_map_count: 20000 - -inventory_ipmi_hostname: "10.30.50.69" -cpu_microarchitecture: "thunderx2" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml deleted file mode 100644 index b7d2d15cf8..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.70.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -# file: host_vars/10.30.51.70.yaml - -hostname: "s55-t36-sut1" -inventory_ipmi_hostname: "10.30.50.70" -vfs_data_file: "csit-initialize-vfs-tx2.sh" -grub: - hugepagesz: "2M" - nr_hugepages: 65536 -cpu_microarchitecture: "thunderx2" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "csitarm" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - docker.volumes.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml deleted file mode 100644 index a6cc611d73..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.30.51.71.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -# file: host_vars/10.30.51.71.yaml - -hostname: "s56-t37-sut1" -inventory_ipmi_hostname: "10.30.50.71" -vfs_data_file: "csit-initialize-vfs-tx2.sh" -grub: - hugepagesz: "2M" - nr_hugepages: 65536 -cpu_microarchitecture: "thunderx2" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCXUbbhesOpvPF+KI8nq4TXvEO/Un1aU/ehZ9clCyw9C40xjDkX2BlcX8WeHxFHe7fjFaCd07Vg73rn/3M9uNDnDxvjH1GQ0twvi3iBTO4PkHBBfGF9qnE8MYzno6FvlsVKLuUuPbfm8kbOQ+ZDfdXq6gdtXh0hSYYkqC1heNPCNsqaakkB99Edyle+Ot0V7cpW+Yo2wo98KuX/cgUEhVoA8QnNVE7zaWcjSXBZEteoA4gLpAbV6p67/d6H/2ykHTidBViYTEsHco56tJoA4nTPuAupDOLBcWXgF5TAN6z1aCn2JA1DDfniLakgrZ5oVj2qHhUmbxQAtnKQfHADjqzV jlinkes@jlinkes" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v1_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v1_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v1_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "client" -nomad_node_class: "csitarm" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: false - docker.privileged.enabled: true - docker.volumes.enabled: true - driver.whitelist: "docker,raw_exec,exec" -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] -nomad_cpu_total_compute: "40000" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml deleted file mode 100644 index 05f1a19576..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.10.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -# file: host_vars/10.32.8.10.yaml - -hostname: "s28-t26t35-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 16384 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.10' -cpu_microarchitecture: "skylake" -docker_tg: true diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml deleted file mode 100644 index c6cb68cb5d..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.11.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.11.yaml - -hostname: "s29-t26-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-5" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-5" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-5" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.11' -cpu_microarchitecture: "denverton" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml deleted file mode 100644 index 5d350647a9..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.12.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.12.yaml - -hostname: "s30-t35-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-5" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-5" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-5" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.12' -cpu_microarchitecture: "denverton" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml deleted file mode 100644 index aff600265c..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.13.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.13.yaml - -hostname: "s31-t35-sut2" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-5" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-5" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-5" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.13' -cpu_microarchitecture: "denverton" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml deleted file mode 100644 index 3f426b79ec..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.14.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -# file: host_vars/10.32.8.14.yaml - -hostname: "s46-nomad" -inventory_ipmi_hostname: "10.30.55.14" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v3_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v3_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v3_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "both" -nomad_node_class: "s5ci" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: true - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" - fingerprint.network.disallow_link_local: true -nomad_retry_servers: [ "10.30.51.30", "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml deleted file mode 100644 index e91dcda023..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.15.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -# file: host_vars/10.32.8.15.yaml - -hostname: "s47-nomad" -inventory_ipmi_hostname: "10.30.55.15" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v3_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v3_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v3_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "both" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: true - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" - fingerprint.network.disallow_link_local: true -nomad_retry_servers: [ "10.30.51.30", "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml deleted file mode 100644 index d7aac45a66..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.16.yaml +++ /dev/null @@ -1,40 +0,0 @@ ---- -# file: host_vars/10.32.8.16.yaml - -hostname: "s48-nomad" -inventory_ipmi_hostname: "10.30.55.16" - -# User management. -users: - - username: localadmin - groups: [adm, sudo] - password: "$6$FIsbVDQR$5D0wgufOd2FtnmOiRNsGlgg6Loh.0x3dWSj72DSQnqisSyE9DROfgSgA6s0yxDwz4Jd5SRTXiTKuRYuSQ5POI1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - - username: testuser - groups: [adm, sudo] - password: "$6$zpBUdQ4q$P2zKclumvCndWujgP/qQ8eMk3YZk7ESAom04Fqp26hJH2jWkMXEX..jqxzMdDLJKiDaDHIaSkQMVjHzd3cRLs1" - ssh_key: - - "ssh-rsa AAAAB3NzaC1yc2EAAAABJQAAAQEAgObJFDIMmPwQhhkjAynvlbwpM5yeSewyaE7vTLaFf4uFz4vmsE2hFf6B2xXHUGLVwoVfk91UeK7LOGrdDpoDDHzvPZXj5NmZI+WiWax5y2pQZNkcSZws0ENCeEc4hPwc4veJ1JmhokF4Bsmu14HyFMaFUhM8897jtJwsh+9fLA/no0iPGaQqEtRUQhkV+P4jCEPoY0qdRZAzVw/rY4EGAMhsJe3EJmyj63OfrrkG3+hvSLFo5pDxHQr3pZd/c6ukI7xMef48PosAvGCm3oxzb/Gu9PZIGuHLczY+tCnzCkY7MO7E+IWgjXrUAfYwSWz8XmFmA9LLe26DT5jkcK8hGQ== pmikus@cisco.com" - -# Nomad settings. -nomad_certificates: - - src: "{{ vault_nomad_v3_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_v3_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_v3_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_datacenter: "yul1" -nomad_encrypt: "Y4T+5JGx1C3l2NFBBvkTWQ==" -nomad_name: "{{ hostname }}-{{ ansible_architecture }}" -nomad_node_role: "both" -nomad_node_class: "builder" -nomad_options: - driver.raw_exec.enable: 1 - docker.cleanup.image: true - docker.privileged.enabled: true - driver.whitelist: "docker,raw_exec,exec" - fingerprint.network.disallow_link_local: true -nomad_retry_servers: [ "10.30.51.30", "10.30.51.32", "10.30.51.33" ] -nomad_servers: [ "10.30.51.32:4647", "10.30.51.33:4647", "10.30.51.30:4647" ] diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml deleted file mode 100644 index 6fe0dbc14d..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.18.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.18.yaml - -hostname: "s33-t27-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-23,25-47,49-71,73-95" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-23,25-47,49-71,73-95" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-23,25-47,49-71,73-95" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,24,48,72" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.18' -cpu_microarchitecture: "cascadelake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml deleted file mode 100644 index f963d4b888..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.19.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.19.yaml - -hostname: "s34-t27-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.19' -cpu_microarchitecture: "cascadelake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml deleted file mode 100644 index 6913550686..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.20.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.20.yaml - -hostname: "s35-t28-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-23,25-47,49-71,73-95" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-23,25-47,49-71,73-95" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-23,25-47,49-71,73-95" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,24,48,72" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.20' -cpu_microarchitecture: "cascadelake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml deleted file mode 100644 index 98cffb3392..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.21.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.21.yaml - -hostname: "s36-t28-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.21' -cpu_microarchitecture: "cascadelake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml deleted file mode 100644 index f58b2ce07d..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.22.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.22.yaml - -hostname: "s37-t29-sut1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-23,25-47,49-71,73-95" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-23,25-47,49-71,73-95" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-23,25-47,49-71,73-95" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,24,48,72" - vm: - nr_hugepages: 65536 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.22' -cpu_microarchitecture: "cascadelake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml deleted file mode 100644 index 364ab8b295..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.23.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: host_vars/10.32.8.23.yaml - -hostname: "s38-t29-tg1" -grub: - audit: "0" - hpet: "disable" - intel_idle.max_cstate: "1" - intel_iommu: "on" - intel_pstate: "disable" - iommu: "pt" - isolcpus: "1-27,29-55,57-83,85-111" - mce: "off" - nmi_watchdog: "0" - nohz_full: "1-27,29-55,57-83,85-111" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "1" - rcu_nocbs: "1-27,29-55,57-83,85-111" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,28,56,84" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: '10.30.55.23' -cpu_microarchitecture: "cascadelake" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml deleted file mode 100644 index dc8a060cc0..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.24.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -# file: host_vars/10.32.8.24.yaml - -hostname: "s60-t210-sut1" -grub: - amd_iommu: "on" - audit: "0" - hpet: "disable" - iommu: "pt" - isolcpus: "1-15,17-31,33-47,49-63" - nmi_watchdog: "0" - nohz_full: "off" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "0" - rcu_nocbs: "1-15,17-31,33-47,49-63" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,16,32,48" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: "10.30.55.24" -cpu_microarchitecture: "epyc" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml deleted file mode 100644 index 8c99bf3cae..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/host_vars/10.32.8.25.yaml +++ /dev/null @@ -1,26 +0,0 @@ ---- -# file: host_vars/10.32.8.25.yaml - -hostname: "s61-t210-tg1" -grub: - amd_iommu: "on" - audit: "0" - hpet: "disable" - iommu: "pt" - isolcpus: "1-15,17-31,33-47,49-63" - nmi_watchdog: "0" - nohz_full: "off" - nosoftlockup: True - numa_balancing: "disable" - processor.max_cstate: "0" - rcu_nocbs: "1-15,17-31,33-47,49-63" - tsc: "reliable" -sysctl: - kernel: - watchdog_cpumask: "0,16,32,48" - vm: - nr_hugepages: 8192 - max_map_count: 20000 - -inventory_ipmi_hostname: "10.30.55.25" -cpu_microarchitecture: "epyc" diff --git a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts b/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts deleted file mode 100644 index 4f13457dd7..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/lf_inventory/hosts +++ /dev/null @@ -1,72 +0,0 @@ -all: - children: - tg: - hosts: - 10.30.51.16: #t1-tg1 - haswell - 10.30.51.20: #t2-tg1 - haswell - 10.30.51.24: #t3-tg1 - haswell - 10.30.51.45: #s4-t21-tg1 - skylake - 10.30.51.48: #s13-t31-tg1 - skylake - 10.30.51.49: #s19-t33t34-tg1 - skylake - 10.30.51.53: #s6-t22-tg1 - skylake - 10.30.51.55: #s8-t23-tg1 - skylake - 10.30.51.57: #s10-t24-tg1 - skylake - 10.30.51.60: #s16-t32-tg1 - skylake - 10.32.8.10: #s28-t26t35-tg1 - skylake - 10.32.8.19: #s34-t27-tg1 - cascadelake - 10.32.8.21: #s36-t28-tg1 - cascadelake - 10.32.8.23: #s38-t29-tg1 - cascadelake - 10.32.8.25: #s61-t210-tg1 - epyc - sut: - hosts: - 10.30.51.17: #t1-sut1 - haswell - 10.30.51.18: #t1-sut2 - haswell - 10.30.51.21: #t2-sut1 - haswell - 10.30.51.22: #t2-sut2 - haswell - 10.30.51.25: #t3-sut1 - haswell - 10.30.51.26: #t3-sut2 - haswell - 10.30.51.36: #s17-t33-sut1 - taishan - 10.30.51.37: #s18-t33-sut2 - taishan - 10.30.51.44: #s3-t21-sut1 - skylake - 10.30.51.46: #s11-t31-sut1 - skylake - 10.30.51.47: #s12-t31-sut2 - skylake - 10.30.51.52: #s5-t22-sut1 - skylake - 10.30.51.54: #s7-t23-sut1 - skylake - 10.30.51.56: #s9-t24-sut1 - skylake - 10.30.51.58: #s14-t32-sut1 - skylake - 10.30.51.59: #s15-t32-sut2 - skylake - 10.32.8.11: #s29-t26-sut1 - denverton - 10.32.8.12: #s30-t35-sut1 - denverton - 10.32.8.13: #s31-t35-sut2 - denverton - 10.32.8.18: #s33-t27-sut1 - cascadelake - 10.32.8.20: #s35-t28-sut1 - cascadelake - 10.32.8.22: #s37-t29-sut1 - cascadelake - 10.32.8.24: #s60-t210-sut1 - epyc - 10.30.51.69: #s27-t13-sut1 - thunderx2 9975 - vpp_device: - hosts: - 10.30.51.50: #s1-t11-sut1 - skylake - 10.30.51.51: #s2-t12-sut1 - skylake - 10.30.51.70: #s55-t36-sut1 - thunderx2 9980 - 10.30.51.71: #s56-t37-sut1 - thunderx2 9980 - nomad: - hosts: - 10.30.51.28: #s41-nomad - haswell - 10.30.51.29: #s39-nomad - haswell - 10.30.51.30: #s40-nomad - haswell - 10.30.51.32: #s42-nomad - ivy bridge - 10.30.51.33: #s43-nomad - ivy bridge - 10.30.51.34: #s44-nomad - ivy bridge - 10.30.51.35: #s45-nomad - ivy bridge - 10.32.8.14: #s46-nomad - skylake - 10.32.8.15: #s47-nomad - skylake - 10.32.8.16: #s48-nomad - skylake - 10.30.51.39: #s53-nomad - thunderx 88xx - 10.30.51.40: #s54-nomad - thunderx 88xx - 10.30.51.65: #s52-nomad - thunderx 88xx - 10.30.51.66: #s51-nomad - thunderx 88xx - 10.30.51.67: #s49-nomad - thunderx 88xx - 10.30.51.68: #s50-nomad - thunderx 88xx - dev: - hosts: - 10.30.51.38: #fdio-marvell-dev - thunderx 88xx diff --git a/resources/tools/testbed-setup/ansible/inventories/sample_inventory/group_vars/all.yaml b/resources/tools/testbed-setup/ansible/inventories/sample_inventory/group_vars/all.yaml deleted file mode 100644 index f9938d20da..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/sample_inventory/group_vars/all.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# file: sample_inventory/group_vars/all.yaml - -# Ansible interpreter (for PIP) -ansible_python_interpreter: "python3" diff --git a/resources/tools/testbed-setup/ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml b/resources/tools/testbed-setup/ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml deleted file mode 100644 index fc4a8af1a8..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/sample_inventory/host_vars/1.1.1.1.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# file: host_vars/x.x.x.x.yaml - -hostname: 't1-tg1' -grub: - - isolcpus: '1-27,29-55,57-83,85-111' - - nohz_full: '1-27,29-55,57-83,85-111' - - rcu_nocbs: '1-27,29-55,57-83,85-111' -sysctl: - - kernel: - - watchdog_cpumask: '0,28,56,84' - - vm: - - nr_hugepages: 4096 - - max_map_count: 20000 - -inventory_ipmi_hostname: 'x.x.x.x' -cpu_microarchitecture: "skylake" diff --git a/resources/tools/testbed-setup/ansible/inventories/sample_inventory/hosts b/resources/tools/testbed-setup/ansible/inventories/sample_inventory/hosts deleted file mode 100644 index e8e1439db4..0000000000 --- a/resources/tools/testbed-setup/ansible/inventories/sample_inventory/hosts +++ /dev/null @@ -1,9 +0,0 @@ -all: - children: - tg: - hosts: - 1.1.1.1: #t1-tg - sut: - hosts: - 2.2.2.2: #t1-sut1 - 3.3.3.3: #t1-sut2 diff --git a/resources/tools/testbed-setup/ansible/nomad.yaml b/resources/tools/testbed-setup/ansible/nomad.yaml deleted file mode 100644 index b09245cfdb..0000000000 --- a/resources/tools/testbed-setup/ansible/nomad.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# file: nomad.yaml - -- hosts: nomad - remote_user: testuser - become: yes - become_user: root - roles: - - role: user_add - tags: user_add - - role: docker - tags: docker - - role: nomad - tags: nomad diff --git a/resources/tools/testbed-setup/ansible/roles/ab/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/ab/defaults/main.yaml deleted file mode 100644 index 0609b06855..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/ab/defaults/main.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# file: roles/wrk/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - [] - -packages_by_distro: - ubuntu: - - "apache2-utils" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] diff --git a/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml deleted file mode 100644 index 9153198cfb..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/ab/tasks/main.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# file: roles/ab/tasks/main.yaml - -- name: Install Apache ab tools - package: - name: "{{ packages | flatten(levels=1) }}" - state: present - update_cache: true - tags: install-ab diff --git a/resources/tools/testbed-setup/ansible/roles/aws/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/aws/defaults/main.yaml deleted file mode 100644 index 706e552f96..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/aws/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -# file: roles/aws/defaults/main.yaml - diff --git a/resources/tools/testbed-setup/ansible/roles/aws/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/aws/handlers/main.yaml deleted file mode 100644 index 7363dc2c34..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/aws/handlers/main.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# file: roles/aws/handlers/main.yaml - -- name: Reboot server - reboot: - reboot_timeout: 3600 - tags: - - reboot-server - -- name: AWS - Reload systemd-modules - systemd: - name: "systemd-modules-load" - state: "restarted" - tags: - - reload-systemd-modules diff --git a/resources/tools/testbed-setup/ansible/roles/aws/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/aws/tasks/main.yaml deleted file mode 100644 index 7b7a7fbb1a..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/aws/tasks/main.yaml +++ /dev/null @@ -1,64 +0,0 @@ ---- -# file: roles/aws/tasks/main.yaml - -- name: AWS - Edit repositories - include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml' - tags: edit-repo - -- name: AWS - Get vfio-pci Patcher Script - get_url: - url: "https://github.com/amzn/amzn-drivers/raw/master/userspace/dpdk/enav2-vfio-patch/vfio-wc-patch.sh" - dest: "/opt/vfio-wc-patch.sh" - mode: "744" - register: "vfio_patch_downloaded" - tags: - - vfio-aws-patch - -- name: AWS - Patch vfio-pci - shell: "/bin/bash /opt/vfio-wc-patch.sh" - when: "vfio_patch_downloaded" - tags: - - vfio-aws-patch - -- name: AWS - Load Kernel Modules By Default - lineinfile: - path: "/etc/modules" - state: "present" - line: "{{ item }}" - with_items: - - "vfio-pci" - - "igb_uio" - register: "modules_added" - tags: - - load-kernel-modules - -- name: AWS - Add Kernel Modules Options - lineinfile: - path: "/etc/modprobe.d/igb_uio.conf" - state: "present" - line: "{{ item }}" - create: "yes" - with_items: - - "options igb_uio wc_activate=1" - when: "modules_added" - register: "modules_added" - tags: - - load-kernel-modules - -- name: AWS - Reload systemd-modules - systemd: - name: "systemd-modules-load" - state: "restarted" - when: "modules_added" - tags: - - reload-systemd-modules - -- name: AWS - Performance Tuning - Adjust nr_hugepages - sysctl: - name: "vm.nr_hugepages" - value: "8192" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl diff --git a/resources/tools/testbed-setup/ansible/roles/aws/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/aws/tasks/ubuntu_bionic.yaml deleted file mode 100644 index 75e4a3ae57..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/aws/tasks/ubuntu_bionic.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -# file: roles/aws/tasks/ubuntu_bionic.yaml - -- name: AWS - Enable deb-src APT Repositories - replace: - path: "/etc/apt/sources.list" - regexp: "^# deb-src " - replace: "deb-src " - tags: - - enable-src-repo diff --git a/resources/tools/testbed-setup/ansible/roles/azure/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/azure/defaults/main.yaml deleted file mode 100644 index 8c48c307bc..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/azure/defaults/main.yaml +++ /dev/null @@ -1,3 +0,0 @@ ---- -# file: roles/azure/defaults/main.yaml - diff --git a/resources/tools/testbed-setup/ansible/roles/azure/files/10-dtap.link b/resources/tools/testbed-setup/ansible/roles/azure/files/10-dtap.link deleted file mode 100644 index a8e0aa10f3..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/azure/files/10-dtap.link +++ /dev/null @@ -1,4 +0,0 @@ -[Match] -OriginalName=dtap* -[Link] -NamePolicy=kernel diff --git a/resources/tools/testbed-setup/ansible/roles/azure/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/azure/handlers/main.yaml deleted file mode 100644 index f0d46062d9..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/azure/handlers/main.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# file: roles/azure/handlers/main.yaml - -- name: Reboot server - reboot: - reboot_timeout: 3600 - tags: - - reboot-server - -- name: Azure - Reload systemd-modules - systemd: - name: "systemd-modules-load" - state: "restarted" - tags: - - reload-systemd-modules diff --git a/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml deleted file mode 100644 index c8d72475d8..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/azure/tasks/main.yaml +++ /dev/null @@ -1,38 +0,0 @@ ---- -# file: roles/azure/tasks/main.yaml - -- name: Azure - Load Kernel Modules By Default - lineinfile: - path: "/etc/modules" - state: "present" - line: "{{ item }}" - with_items: - - "vfio-pci" - - "ib_uverbs" - - "mlx4_ib" - - "mlx5_ib" - notify: "Azure - Reload systemd-modules" - tags: - - load-kernel-modules - -- name: Azure - Performance Tuning - Adjust nr_hugepages - sysctl: - name: "vm.nr_hugepages" - value: "8192" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Azure - prevent interface renaming - copy: - src: "files/10-dtap.link" - dest: "/etc/systemd/network/" - owner: "root" - group: "root" - mode: "0644" - notify: - - "Reboot server" - tags: - - prevent-interface-renaming diff --git a/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/cimc.yaml b/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/cimc.yaml deleted file mode 100644 index 0048d19032..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/cimc.yaml +++ /dev/null @@ -1,74 +0,0 @@ ---- -# file: roles/baremeatal/handlers/cimc.yaml - -- name: Boot from network - imc_rest: - hostname: "{{ inventory_cimc_hostname }}" - username: "{{ inventory_cimc_username }}" - password: "{{ inventory_cimc_password }}" - validate_certs: no - content: | - <!-- Configure PXE boot --> - <configConfMo><inConfig> - <lsbootLan dn="sys/rack-unit-1/boot-policy/lan-read-only" access="read-only" order="1" prot="pxe" type="lan"/> - </inConfig></configConfMo> - delegate_to: localhost - tags: - - boot-network - -- name: Boot from storage - imc_rest: - hostname: "{{ inventory_cimc_hostname }}" - username: "{{ inventory_cimc_username }}" - password: "{{ inventory_cimc_password }}" - validate_certs: no - content: | - <configConfMo><inConfig> - <lsbootStorage dn="sys/rack-unit-1/boot-policy/storage-read-write" access="read-write" order="1" type="storage"/> - </inConfig></configConfMo> - delegate_to: localhost - tags: - - boot-storage - -- name: Power up server - imc_rest: - hostname: "{{ inventory_cimc_hostname }}" - username: "{{ inventory_cimc_username }}" - password: "{{ inventory_cimc_password }}" - validate_certs: no - content: | - <configConfMo><inConfig> - <computeRackUnit dn="sys/rack-unit-1" adminPower="up"/> - </inConfig></configConfMo> - delegate_to: localhost - tags: - - power-up - -- name: Power down server - imc_rest: - hostname: "{{ inventory_cimc_hostname }}" - username: "{{ inventory_cimc_username }}" - password: "{{ inventory_cimc_password }}" - validate_certs: no - content: | - <configConfMo><inConfig> - <computeRackUnit dn="sys/rack-unit-1" adminPower="down"/> - </inConfig></configConfMo> - delegate_to: localhost - tags: - - power-down - -- name: Power cycle server - imc_rest: - hostname: "{{ inventory_cimc_hostname }}" - username: "{{ inventory_cimc_username }}" - password: "{{ inventory_cimc_password }}" - validate_certs: no - content: | - <!-- Power cycle server --> - <configConfMo><inConfig> - <computeRackUnit dn="sys/rack-unit-1" adminPower="cycle-immediate"/> - </inConfig></configConfMo> - delegate_to: localhost - tags: - - power-cycle diff --git a/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/ipmi.yaml b/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/ipmi.yaml deleted file mode 100644 index 239b8973f7..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/ipmi.yaml +++ /dev/null @@ -1,52 +0,0 @@ ---- -# file: roles/baremetal/handlers/ipmi.yaml - -- name: Boot from network - ipmi_boot: - name: "{{ inventory_ipmi_hostname }}" - user: "{{ inventory_ipmi_username }}" - password: "{{ inventory_ipmi_password }}" - bootdev: network - delegate_to: localhost - tags: - - boot-network - -- name: Boot from storage - ipmi_boot: - name: "{{ inventory_ipmi_hostname }}" - user: "{{ inventory_ipmi_username }}" - password: "{{ inventory_ipmi_password }}" - bootdev: hd - delegate_to: localhost - tags: - - boot-storage - -- name: Power up server - ipmi_power: - name: "{{ inventory_ipmi_hostname }}" - user: "{{ inventory_ipmi_username }}" - password: "{{ inventory_ipmi_password }}" - state: on - delegate_to: localhost - tags: - - power-up - -- name: Power down server - ipmi_power: - name: "{{ inventory_ipmi_hostname }}" - user: "{{ inventory_ipmi_username }}" - password: "{{ inventory_ipmi_password }}" - state: off - delegate_to: localhost - tags: - - power-down - -- name: Power cycle server - ipmi_power: - name: "{{ inventory_ipmi_hostname }}" - user: "{{ inventory_ipmi_username }}" - password: "{{ inventory_ipmi_password }}" - state: boot - delegate_to: localhost - tags: - - power-cycle diff --git a/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/main.yaml deleted file mode 100644 index d8dabeb222..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/baremetal/handlers/main.yaml +++ /dev/null @@ -1,30 +0,0 @@ ---- -# file: roles/baremetal/handlers/main.yaml - -- name: IPMI specific - import_tasks: ipmi.yaml - when: inventory_ipmi_hostname is defined - tags: - - ipmi-handlers - -- name: CIMC specific - import_tasks: cimc.yaml - when: inventory_cimc_hostname is defined - tags: - - cimc-handlers - -- name: Reboot server - reboot: - reboot_timeout: 3600 - tags: - - reboot-server - -- name: Wait for server to restart - wait_for: - host: "{{ inventory_hostname }}" - search_regex: OpenSSH - port: 22 - delay: 60 - timeout: 3600 - tags: - - reboot-server diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml deleted file mode 100644 index c639f11088..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/calibration/defaults/main.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -# file: roles/calibration/defaults/main.yaml - -# Packages to install. -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - [] - -packages_by_distro: - ubuntu: - - "build-essential" - - "dmidecode" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] - -# Kernel version to check. -kernel_version: "{{ kernel_version_by_distro_by_arch[ansible_distribution | lower][ansible_machine] }}" - -kernel_version_by_distro_by_arch: - ubuntu: - x86_64: - - "4.15.0-72-generic" - - "5.3.0-1020-azure" - - "5.3.0-1017-aws" - aarch64: - - "4.15.0-54-generic" - -pma_directory: "/tmp/pma_tools" -jitter_core: 7 -jitter_iterations: 20 diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/aarch64.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/aarch64.yaml deleted file mode 100644 index ca4e75d268..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/aarch64.yaml +++ /dev/null @@ -1,2 +0,0 @@ ---- -# file: roles/calibration/tasks/aarch64.yaml diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml deleted file mode 100644 index a6e8898f9d..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/main.yaml +++ /dev/null @@ -1,79 +0,0 @@ ---- -# file: roles/calibration/tasks/main.yaml - -- name: Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: Check CPU Power States - shell: "lscpu" - register: current_lscpu - changed_when: false - tags: - - check-cpu-frequency - -- name: Check CPU Power States - assert: - that: - - "'CPU min MHz' not in current_lscpu.stdout or 'Intel(R) Xeon(R)' not in ansible_processor" - fail_msg: "CPU configuration!" - success_msg: "CPU configuration match." - tags: - - check-cpu-frequency - -- name: Check Kernel Parameters - assert: - that: - - item in ansible_cmdline and grub[item] == ansible_cmdline[item] - fail_msg: "Kernel parameters!" - success_msg: "Kernel parameters match." - loop: "{{ grub.keys()|sort }}" - tags: - - check-kernel-params - -- name: Check Kernel Version - assert: - that: - - ansible_kernel not in kernel_version_by_distro_by_arch - fail_msg: "Kernel version!" - success_msg: "Kernel version match." - tags: - - check-kernel-version - -- name: Get Spectre Meltdown Checker - get_url: - url: "https://meltdown.ovh" - dest: "/opt/spectre-meltdown-checker.sh" - mode: "744" - tags: - - check-spectre-meltdown - -- name: Run Spectre Meltdown Checker - shell: "/opt/spectre-meltdown-checker.sh --no-color || true" - async: 60 - poll: 0 - ignore_errors: true - register: spectre_meltdown_async - tags: - - check-spectre-meltdown - -- name: "{{ ansible_machine }} Specific" - include_tasks: "{{ ansible_machine }}.yaml" - tags: - - check-machine-specific - - check-jitter-tool - -- name: Check Sync Status - async_status: - jid: "{{ spectre_meltdown_async.ansible_job_id }}" - register: "spectre_meltdown_poll_results" - until: spectre_meltdown_poll_results.finished - retries: 30 - -- debug: var=spectre_meltdown_poll_results.stdout_lines - tags: - - check-spectre-meltdown diff --git a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml b/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml deleted file mode 100644 index 90b1c954b5..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/calibration/tasks/x86_64.yaml +++ /dev/null @@ -1,35 +0,0 @@ ---- -# file: roles/calibration/tasks/x86_64.yaml - -- name: Calibration - Clone PMA Tool - git: - repo: "https://gerrit.fd.io/r/pma_tools" - dest: "{{ pma_directory }}" - tags: - - check-jitter-tool - -- name: Calibration - Compile PMA Tool - raw: "cd {{ pma_directory }}/jitter && make" - tags: - - check-jitter-tool - -- name: Calibration - Run Jitter Tool - shell: "{{ pma_directory }}/jitter/jitter -c {{ jitter_core }} -i {{ jitter_iterations }} -f" - become: yes - async: 60 - poll: 0 - ignore_errors: yes - register: jitter_async - tags: - - check-jitter-tool - -- name: Check sync status - async_status: - jid: "{{ jitter_async.ansible_job_id }}" - register: "jitter_poll_results" - until: jitter_poll_results.finished - retries: 30 - -- debug: var=jitter_poll_results.stdout_lines - tags: - - check-jitter-tool diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/files/reset_vppdevice.sh b/resources/tools/testbed-setup/ansible/roles/cleanup/files/reset_vppdevice.sh deleted file mode 100644 index ede2db1273..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/files/reset_vppdevice.sh +++ /dev/null @@ -1,113 +0,0 @@ -#!/usr/bin/env bash - -set -euo pipefail - -function die () { - # Print the message to standard error end exit with error code specified - # by the second argument. - # - # Hardcoded values: - # - The default error message. - # Arguments: - # - ${1} - The whole error message, be sure to quote. Optional - # - ${2} - the code to exit with, default: 1. - - set +eu - warn "${1:-Unspecified run-time error occurred!}" - exit "${2:-1}" -} - - -function set_eligibility_off { - # Set Nomad eligibility to ineligible for scheduling. Fail otherwise. - - set -euo pipefail - - node_id="$(nomad node status | grep $(hostname) | cut -d ' ' -f 1)" || die - node_status="$(nomad node status | grep $(hostname))" || die - - if [[ "${node_status}" != *"ineligible"* ]]; then - nomad node eligibility -disable "${node_id}" || die - node_status="$(nomad node status | grep $(hostname))" || die - if [[ "${node_status}" != *"ineligible"* ]]; then - die "Set eligibility off failed!" - fi - fi -} - - -function set_eligibility_on { - # Set Nomad eligibility to eligible for scheduling. Fail otherwise. - - set -euo pipefail - - node_id="$(nomad node status | grep $(hostname) | cut -d ' ' -f 1)" || die - node_status="$(nomad node status | grep $(hostname))" || die - - if [[ "${node_status}" == *"ineligible"* ]]; then - nomad node eligibility -enable "${node_id}" || die - node_status="$(nomad node status | grep $(hostname))" || die - if [[ "${node_status}" == *"ineligible"* ]]; then - die "Set eligibility on failed!" - fi - fi -} - - -function restart_vfs_service { - # Stop and start VF serice. This will reinitialize VFs and driver mappings. - - set -euo pipefail - - warn "Restarting VFs service (this may take few minutes)..." - sudo service csit-initialize-vfs stop || die "Failed to stop VFs service!" - sudo service csit-initialize-vfs start || die "Failed to start VFs service!" -} - - -function wait_for_pending_containers { - # Wait in loop for defined amount of time for pending containers to - # gracefully quit them. If parameter force is specified. Force kill them. - - # Arguments: - # - ${@} - Script parameters. - - set -euo pipefail - - retries=60 - wait_time=60 - containers=(docker ps --quiet --filter name=csit*) - - for i in $(seq 1 ${retries}); do - mapfile -t pending_containers < <( ${containers[@]} ) || die - warn "Waiting for pending containers [${pending_containers[@]}] ..." - if [ ${#pending_containers[@]} -eq 0 ]; then - break - fi - sleep "${wait_time}" || die - done - if [ ${#pending_containers[@]} -ne 0 ]; then - if [[ "${1-}" == "force" ]]; then - warn "Force killing [${pending_containers[@]}] ..." - docker rm --force ${pending_containers[@]} || die - else - die "Still few containers running!" - fi - fi -} - - -function warn () { - # Print the message to standard error. - # - # Arguments: - # - ${@} - The text of the message. - - echo "$@" >&2 -} - - -set_eligibility_off || die -wait_for_pending_containers "${@}" || die -restart_vfs_service || die -set_eligibility_on || die diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml deleted file mode 100644 index 1cd64351a8..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_containers.yaml +++ /dev/null @@ -1,29 +0,0 @@ ---- -# file: roles/cleanup/tasks/kill_containers.yaml - -- name: Kill containers - block: - - name: Kill container - Get running Docker containers - shell: "docker ps -aq" - register: running_containers - changed_when: no - tags: kill-containers - - - name: Kill container - Remove all Docker containers - shell: "docker rm --force {{ item }}" - with_items: "{{ running_containers.stdout_lines }}" - tags: kill-containers - - - name: Kill container - Get running LXC containers - shell: "lxc-ls" - register: running_containers - changed_when: no - tags: kill-containers - - - name: Kill container - Remove all LXC containers - shell: "lxc-destroy --force -n {{ item }}" - with_items: "{{ running_containers.stdout_lines }}" - tags: kill-containers - rescue: - - fail: - msg: "Kill containers failed!" diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml deleted file mode 100644 index a593fc7616..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/kill_process.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# file: roles/cleanup/tasks/kill_process.yaml - -- name: Kill process - {{ process }} - block: - - name: Kill process - Get pid of {{ process }} - shell: "ps -ef | grep -v grep | grep -w {{ process }} | awk '{print $2}'" - when: > - process is defined and process != "" - register: running_processes - tags: kill-process - - - name: Kill process - Safe kill {{ process }} - shell: "kill {{ item }}" - with_items: "{{ running_processes.stdout_lines }}" - tags: kill-process - - - wait_for: - path: "/proc/{{ item }}/status" - state: absent - with_items: "{{ running_processes.stdout_lines }}" - ignore_errors: yes - register: killed_processes - tags: kill-process - - - name: Kill process - Force kill {{ process }} - shell: "kill -9 {{ item }}" - with_items: "{{ killed_processes.results | select('failed') | map(attribute='item') | list }}" - tags: kill-process - rescue: - - fail: - msg: "Kill process {{ process }} failed!" diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/main.yaml deleted file mode 100644 index 64a55c4672..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/main.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# file: roles/cleanup/tasks/main.yaml -# purpose: Structured per server cleanup tasks. -# - main: -# - tg: -# - Run tasks on TG servers only. -# - Cleanup processes (T-Rex). -# - sut: -# - Run tasks on SUT servers only. -# - Cleanup file leftovers (logs). -# - Cleanup packages (VPP, Honeycomb). -# - Cleanup processes (qemu, l3fwd, testpmd, docker, kubernetes) -# - Cleanup interfaces. -# - vpp_device -# - Run tasks on vpp_device servers only. -# - Reset SRIOV - -- name: tg specific - include_tasks: tg.yaml - when: "'tg' in group_names" - tags: cleanup - -- name: sut specific - include_tasks: sut.yaml - when: "'sut' in group_names" - tags: cleanup - -- name: vpp_device specific - include_tasks: vpp_device.yaml - when: "'vpp_device' in group_names" - tags: cleanup diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/remove_package.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/remove_package.yaml deleted file mode 100644 index 0c8816fe29..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/remove_package.yaml +++ /dev/null @@ -1,19 +0,0 @@ ---- -# file: roles/cleanup/tasks/remove_package.yaml - -- name: Remove package - Fix corrupted apt - shell: 'dpkg --configure -a' - when: > - ansible_distribution == 'Ubuntu' - tags: remove-package - -- name: Remove package - {{ package }} - apt: - name: '{{ package }}' - force: yes - purge: yes - state: absent - failed_when: no - when: > - ansible_distribution == 'Ubuntu' - tags: remove-package diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/sut.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/sut.yaml deleted file mode 100644 index c24b5e6a7f..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/sut.yaml +++ /dev/null @@ -1,60 +0,0 @@ ---- -# file: roles/cleanup/tasks/sut.yaml - -- name: Host cleanup - block: - - name: Kill processes - qemu - import_tasks: kill_process.yaml - vars: - process: "qemu" - tags: kill-process - - - name: Kill processes - l3fwd - import_tasks: kill_process.yaml - vars: - process: "l3fwd" - tags: kill-process - - - name: Kill processes - testpmd - import_tasks: kill_process.yaml - vars: - process: "testpmd" - tags: kill-process - - - name: Kill processes - iperf3 - import_tasks: kill_process.yaml - vars: - process: "iperf3" - tags: kill-process - - - name: Kill processes - vpp_echo - import_tasks: kill_process.yaml - vars: - process: "vpp_echo" - tags: kill-process - - - name: Remove file or dir - Core zip file - file: - state: absent - path: "/tmp/*tar.lzo.lrz.xz*" - tags: remove-file-dir - - - name: Remove file or dir - Core dump file - file: - state: absent - path: "/tmp/*core*" - tags: remove-file-dir - - - name: Kill containers - Remove all containers - import_tasks: kill_containers.yaml - tags: kill-containers - - - name: Kubernetes - Reset - raw: 'kubeadm reset --force' - tags: kill-kubernetes - - - name: Remove packages - Remove VPP - import_tasks: remove_package.yaml - vars: - package: "*vpp*" - tags: remove-package diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml deleted file mode 100644 index 9ac83bc9fc..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/tg.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# file: roles/cleanup/tasks/tg.yaml - -- name: Kill processes - TRex - import_tasks: kill_process.yaml - vars: - process: "_t-rex" - when: docker_tg is undefined - tags: kill-process diff --git a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/vpp_device.yaml b/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/vpp_device.yaml deleted file mode 100644 index f5e6ea5488..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/cleanup/tasks/vpp_device.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# file: roles/cleanup/tasks/vpp_device.yaml - -- name: Reset vpp_device binary - copy: - src: 'files/reset_vppdevice.sh' - dest: '/usr/local/bin' - owner: 'root' - group: 'root' - mode: '744' - tags: reset-sriov - -- name: Reset vpp_device - raw: 'reset_vppdevice.sh --force' - tags: reset-sriov diff --git a/resources/tools/testbed-setup/ansible/roles/common/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/common/defaults/main.yaml deleted file mode 100644 index 5517b20e1f..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/common/defaults/main.yaml +++ /dev/null @@ -1,59 +0,0 @@ ---- -# file: roles/common/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - "autoconf" - - "cgroup-tools" - - "dkms" - - "iperf3" - - "linux-tools-common" - - "ninja-build" - - "qemu-system" - - "socat" - - "unzip" - - "virtualenv" - -packages_by_distro: - ubuntu: - - "build-essential" - - "libpcap-dev" - - "net-tools" - - "python-all" - - "python-apt" - - "python-cffi" - - "python-cffi-backend" - - "python-dev" - - "python-pip" - - "python-setuptools" - - "python3-all" - - "python3-apt" - - "python3-cffi" - - "python3-cffi-backend" - - "python3-dev" - - "python3-pip" - - "python3-setuptools" - -packages_by_arch: - aarch64: - - "gfortran" - - "libblas-dev" - - "libffi-dev" - - "liblapack-dev" - - "libssl-dev" - x86_64: - - [] - -# Proxy settings: Uncomment and fill the proper values. These variables will be -# set globally by writing into /etc/environment file on target machine. -#proxy_env: -# http_proxy: http://proxy.com:80 -# HTTP_PROXY: http://proxy.com:80 -# https_proxy: http://proxy.com:80 -# HTTPS_PROXY: http://proxy.com:80 -# ftp_proxy: http://proxy.com:80 -# FTP_PROXY: http://proxy.com:80 -# no_proxy: localhost,127.0.0.1,{{ ansible_default_ipv4.address }} -# NO_PROXY: localhost,127.0.0.1,{{ ansible_default_ipv4.address }} - diff --git a/resources/tools/testbed-setup/ansible/roles/common/files/grub_aarch64 b/resources/tools/testbed-setup/ansible/roles/common/files/grub_aarch64 deleted file mode 100644 index 38a2cc38e0..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/common/files/grub_aarch64 +++ /dev/null @@ -1,34 +0,0 @@ -# If you change this file, run 'update-grub' afterwards to update -# /boot/grub/grub.cfg. -# For full documentation of the options in this file, see: -# info -f grub -n 'Simple configuration' - -GRUB_DEFAULT=0 -GRUB_TIMEOUT=10 -GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` -GRUB_CMDLINE_LINUX_DEFAULT="console=ttyAMA0,115200n8" -GRUB_CMDLINE_LINUX="" - -# Uncomment to enable BadRAM filtering, modify to suit your needs -# This works with Linux (no patch required) and with any kernel that obtains -# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) -#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" - -# Uncomment to disable graphical terminal (grub-pc only) -#GRUB_TERMINAL=console -GRUB_TERMINAL=serial -GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" - -# The resolution used on graphical terminal -# note that you can use only modes which your graphic card supports via VBE -# you can see them in real GRUB with the command `vbeinfo' -#GRUB_GFXMODE=640x480 - -# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux -#GRUB_DISABLE_LINUX_UUID=true - -# Uncomment to disable generation of recovery mode menu entries -#GRUB_DISABLE_RECOVERY="true" - -# Uncomment to get a beep at grub start -#GRUB_INIT_TUNE="480 440 1" diff --git a/resources/tools/testbed-setup/ansible/roles/common/files/grub_x86_64 b/resources/tools/testbed-setup/ansible/roles/common/files/grub_x86_64 deleted file mode 100644 index d4e27b3f0f..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/common/files/grub_x86_64 +++ /dev/null @@ -1,34 +0,0 @@ -# If you change this file, run 'update-grub' afterwards to update -# /boot/grub/grub.cfg. -# For full documentation of the options in this file, see: -# info -f grub -n 'Simple configuration' - -GRUB_DEFAULT=0 -GRUB_TIMEOUT=10 -GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian` -GRUB_CMDLINE_LINUX_DEFAULT="console=tty0 console=ttyS0,115200n8" -GRUB_CMDLINE_LINUX="" - -# Uncomment to enable BadRAM filtering, modify to suit your needs -# This works with Linux (no patch required) and with any kernel that obtains -# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...) -#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef" - -# Uncomment to disable graphical terminal (grub-pc only) -#GRUB_TERMINAL=console -GRUB_TERMINAL=serial -GRUB_SERIAL_COMMAND="serial --speed=115200 --unit=0 --word=8 --parity=no --stop=1" - -# The resolution used on graphical terminal -# note that you can use only modes which your graphic card supports via VBE -# you can see them in real GRUB with the command `vbeinfo' -#GRUB_GFXMODE=640x480 - -# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux -#GRUB_DISABLE_LINUX_UUID=true - -# Uncomment to disable generation of recovery mode menu entries -#GRUB_DISABLE_RECOVERY="true" - -# Uncomment to get a beep at grub start -#GRUB_INIT_TUNE="480 440 1" diff --git a/resources/tools/testbed-setup/ansible/roles/common/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/common/handlers/main.yaml deleted file mode 100644 index e7327d3944..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/common/handlers/main.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -# file: roles/common/handlers/main.yaml - -- name: Reboot server - reboot: - reboot_timeout: 3600 - tags: - - reboot-server diff --git a/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml deleted file mode 100644 index e60b32ae2a..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/common/tasks/main.yaml +++ /dev/null @@ -1,113 +0,0 @@ ---- -# file: roles/common/tasks/main.yaml - -- name: Add permanent proxy settings - lineinfile: - path: "/etc/environment" - state: "present" - line: "{{ item.key }}={{ item.value }}" - with_dict: "{{ proxy_env }}" - when: proxy_env is defined - tags: - - set-proxy - -- name: Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: Install CSIT PIP requirements - pip: - name: - - "ecdsa==0.13.3" - - "paramiko==2.6.0" - - "pycrypto==2.6.1" - - "pypcap==1.2.3" - - "PyYAML==5.1.1" - - "requests==2.22.0" - - "robotframework==3.1.2" - - "scapy==2.4.3" - - "scp==0.13.2" - - "ansible==2.7.8" - - "dill==0.2.8.2" - - "numpy==1.17.3" - - "hdrhistogram==0.6.1" - - "plotly==4.1.1" - - "PTable==0.9.2" - - "Sphinx==2.2.1" - - "sphinx-rtd-theme==0.4.0" - - "sphinxcontrib-programoutput==0.15" - - "sphinxcontrib-robotdoc==0.11.0" - - "alabaster==0.7.12" - - "Babel==2.7.0" - - "bcrypt==3.1.7" - - "certifi==2019.9.11" - - "cffi==1.13.2" - - "chardet==3.0.4" - - "cryptography==2.8" - - "docutils==0.15.2" - - "future==0.18.2" - - "idna==2.8" - - "imagesize==1.1.0" - - "Jinja2==2.10.3" - - "MarkupSafe==1.1.1" - - "packaging==19.2" - - "pbr==5.4.3" - - "pycparser==2.19" - - "Pygments==2.4.2" - - "PyNaCl==1.3.0" - - "pyparsing==2.4.4" - - "python-dateutil==2.8.1" - - "pytz==2019.3" - - "retrying==1.3.3" - - "six==1.13.0" - - "snowballstemmer==2.0.0" - - "sphinxcontrib-applehelp==1.0.1" - - "sphinxcontrib-devhelp==1.0.1" - - "sphinxcontrib-htmlhelp==1.0.2" - - "sphinxcontrib-jsmath==1.0.1" - - "sphinxcontrib-qthelp==1.0.2" - - "sphinxcontrib-serializinghtml==1.1.3" - - "urllib3==1.25.6" - tags: - - install-pip - -- name: Install CSIT PIP requirements - Pandas and SciPy workaround - pip: - name: - - "pandas==0.25.3" - - "scipy==1.1.0" - tags: - - install-pip - -- name: Install Meson (repository version is too old) - pip: - name: - - "meson==0.47.1" - tags: - - install-meson - -- name: Set sudoers admin - lineinfile: - path: "/etc/sudoers" - state: "present" - regexp: "^%admin ALL=" - line: "%admin ALL=(ALL) ALL" - validate: "/usr/sbin/visudo -cf %s" - tags: - - set-sudoers - -- name: Set sudoers sudo - lineinfile: - path: "/etc/sudoers" - state: "present" - regexp: "^%sudo" - line: "%sudo ALL=(ALL:ALL) NOPASSWD: ALL" - validate: "/usr/sbin/visudo -cf %s" - tags: - - set-sudoers - -- meta: flush_handlers diff --git a/resources/tools/testbed-setup/ansible/roles/docker/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/docker/defaults/main.yaml deleted file mode 100644 index 6c445aa42a..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/defaults/main.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# file: roles/docker/defaults/main.yaml - -# Version options. -docker_edition: "ce" -docker_package: "docker-{{ docker_edition }}" -docker_package_state: present - -# Service options. -docker_service_state: started -docker_service_enabled: true -docker_restart_handler_state: restarted - -# Used only for Debian/Ubuntu. -docker_apt_release_channel: "stable" -docker_apt_key: "https://download.docker.com/linux/{{ ansible_distribution | lower }}/gpg" -docker_apt_key_state: present -docker_apt_repository: "deb https://download.docker.com/linux/{{ ansible_distribution|lower }} {{ ansible_distribution_release }} {{ docker_apt_release_channel }}" -docker_apt_repository_state: present - -# A list of users who will be added to the docker group. -docker_users: - - "testuser" - -# Proxy settings. -docker_daemon_environment_http: - - "HTTP_PROXY={{ proxy_env.http_proxy }}" - - "NO_PROXY={{ proxy_env.no_proxy }}" -docker_daemon_environment_https: - - "HTTPS_PROXY={{ proxy_env.https_proxy }}" - - "NO_PROXY={{ proxy_env.no_proxy }}" diff --git a/resources/tools/testbed-setup/ansible/roles/docker/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/docker/handlers/main.yaml deleted file mode 100644 index 4dfcd0b867..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/handlers/main.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# file roles/docker/handlers/main.yaml - -- name: Restart Docker - service: - name: "docker" - state: "{{ docker_restart_handler_state }}" diff --git a/resources/tools/testbed-setup/ansible/roles/docker/meta/main.yaml b/resources/tools/testbed-setup/ansible/roles/docker/meta/main.yaml deleted file mode 100644 index 0dc7d19507..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/meta/main.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -# file: roles/docker/meta/main.yaml - -dependencies: [] - - diff --git a/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml deleted file mode 100644 index f0cb0d19cf..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/tasks/main.yaml +++ /dev/null @@ -1,68 +0,0 @@ ---- -# file: roles/docker/tasks/main.yaml - -- include_tasks: "{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml" - tags: - - docker-inst-dependencies - -- name: Inst - Docker - package: - name: "{{ docker_package }}" - state: "{{ docker_package_state }}" - tags: - - docker-inst-package - -- name: Conf - Docker Service - service: - name: docker - state: "{{ docker_service_state }}" - enabled: "{{ docker_service_enabled }}" - tags: - - docker-conf-service - -- name: Conf - Docker Service Directory - file: - path: "/etc/systemd/system/docker.service.d" - state: "directory" - tags: - - docker-conf-service - -- name: Conf - Docker HTTP Proxy - template: - src: "templates/docker.service.proxy.http" - dest: "/etc/systemd/system/docker.service.d/http-proxy.conf" - owner: "root" - group: "root" - mode: "0644" - notify: - - "Restart Docker" - when: > - proxy_env is defined and - proxy_env.http_proxy is defined - tags: - - docker-conf-service - -- name: Conf - Docker HTTPS Proxy - template: - src: "templates/docker.service.proxy.https" - dest: "/etc/systemd/system/docker.service.d/https-proxy.conf" - owner: "root" - group: "root" - mode: "0644" - notify: - - "Restart Docker" - when: > - proxy_env is defined and - proxy_env.https_proxy is defined - tags: - - docker-conf-service - -- name: Conf - Users to Docker Group - user: - name: "{{ item }}" - groups: "docker" - append: True - loop: "{{ docker_users }}" - when: docker_users - tags: - - docker-conf-user diff --git a/resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_bionic.yaml deleted file mode 100644 index a38a0af110..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/tasks/ubuntu_bionic.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# file: roles/docker/tasks/ubuntu_bionic.yaml - -- name: Inst - Dependencies - apt: - name: - - "apt-transport-https" - - "ca-certificates" - - "gpg-agent" - - "software-properties-common" - state: "present" - cache_valid_time: 3600 - install_recommends: False - tags: docker-inst-dependencies - -- name: Conf - Add APT Key - apt_key: - url: "{{ docker_apt_key }}" - state: "{{ docker_apt_key_state }}" - tags: docker-conf-apt - -- name: Conf - Install APT Repository - apt_repository: - repo: "{{ docker_apt_repository }}" - state: "{{ docker_apt_repository_state }}" - update_cache: True - tags: docker-conf-apt diff --git a/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http b/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http deleted file mode 100644 index 73ceba3870..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.http +++ /dev/null @@ -1,4 +0,0 @@ -# {{ ansible_managed }} - -[Service] -Environment="{{ docker_daemon_environment_http | join('" "') }}" diff --git a/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https b/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https deleted file mode 100644 index 1c2097eb9d..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/docker/templates/docker.service.proxy.https +++ /dev/null @@ -1,4 +0,0 @@ -# {{ ansible_managed }} - -[Service] -Environment="{{ docker_daemon_environment_https | join('" "') }}" diff --git a/resources/tools/testbed-setup/ansible/roles/dpdk/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/dpdk/defaults/main.yaml deleted file mode 100644 index e43c28403b..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/dpdk/defaults/main.yaml +++ /dev/null @@ -1,31 +0,0 @@ ---- -# file: roles/dpdk/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - [] - -packages_by_distro: - ubuntu: - - "build-essential" - - "libnuma-dev" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] - -dpdk_target_dir: "/opt" -dpdk_version: - - "19.02" - - "20.02" -dpdk_url: "https://fast.dpdk.org/rel" -dpdk_build_targets: - "19.02": - aarch64: "arm64-armv8a-linuxapp-gcc" - x86_64: "x86_64-native-linuxapp-gcc" - "20.02": - aarch64: "arm64-armv8a-linux-gcc" - x86_64: "x86_64-native-linux-gcc" diff --git a/resources/tools/testbed-setup/ansible/roles/dpdk/files/dpdk-mlx5.patch b/resources/tools/testbed-setup/ansible/roles/dpdk/files/dpdk-mlx5.patch deleted file mode 100644 index a3928d70f7..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/dpdk/files/dpdk-mlx5.patch +++ /dev/null @@ -1,19 +0,0 @@ -diff --git a/drivers/net/mlx5/mlx5_ethdev.c b/drivers/net/mlx5/mlx5_ethdev.c -index d7d3bc73c..c21c38485 100644 ---- a/drivers/net/mlx5/mlx5_ethdev.c -+++ b/drivers/net/mlx5/mlx5_ethdev.c -@@ -1032,11 +1032,14 @@ mlx5_link_update_unlocked_gs(struct rte_eth_dev *dev, - ETH_LINK_HALF_DUPLEX : ETH_LINK_FULL_DUPLEX); - dev_link.link_autoneg = !(dev->data->dev_conf.link_speeds & - ETH_LINK_SPEED_FIXED); -+#if 0 -+ /* FIXME: this does not work on Azure w/ CX4-LX */ - if (((dev_link.link_speed && !dev_link.link_status) || - (!dev_link.link_speed && dev_link.link_status))) { - rte_errno = EAGAIN; - return -rte_errno; - } -+#endif - *link = dev_link; - return 0; - } diff --git a/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml deleted file mode 100644 index 1b4e398e26..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/dpdk/tasks/main.yaml +++ /dev/null @@ -1,60 +0,0 @@ ---- -# file: roles/dpdk/tasks/main.yaml - -- name: DPDK - Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: DPDK - Download Release Archive - get_url: - url: "{{ dpdk_url }}/dpdk-{{ item }}.tar.xz" - dest: "{{ dpdk_target_dir }}/dpdk-{{ item }}.tar.xz" - mode: 0644 - loop: "{{ dpdk_version }}" - register: "dpdk_downloaded" - tags: - - install-dpdk - -- name: DPDK - Extract Release Archive - unarchive: - remote_src: true - src: "{{ dpdk_target_dir }}/dpdk-{{ item }}.tar.xz" - dest: "{{ dpdk_target_dir }}/" - creates: "{{ dpdk_target_dir }}/dpdk-{{ item }}" - loop: "{{ dpdk_version }}" - when: "dpdk_downloaded" - register: "dpdk_extracted" - tags: - - install-dpdk - -- name: DPDK - Build igb_uio by default - lineinfile: - dest: "{{ dpdk_target_dir }}/dpdk-{{ item }}/config/common_base" - regexp: "^CONFIG_RTE_EAL_IGB_UIO" - line: "CONFIG_RTE_EAL_IGB_UIO=y" - loop: "{{ dpdk_version }}" - when: "dpdk_extracted" - register: "dpdk_configured" - tags: - - install-dpdk - -- name: DPDK - Compile Release I - become: yes - command: "make install T={{ dpdk_build_targets[item][ansible_machine] }} DESTDIR={{ dpdk_target_dir }}/dpdk-{{ item }} chdir={{ dpdk_target_dir }}/dpdk-{{ item }}" - loop: "{{ dpdk_version }}" - when: "dpdk_configured" - register: "dpdk_compiled" - tags: - - install-dpdk - -- name: DPDK - Link igb_uio Module - shell: "ln -fs {{ dpdk_target_dir }}/dpdk-{{ item }}/{{ dpdk_build_targets[item][ansible_machine] }}/kmod/igb_uio.ko /lib/modules/`uname -r`/igb_uio.ko && depmod -a" - ignore_errors: "yes" - loop: "{{ dpdk_version }}" - when: "dpdk_compiled" - tags: - - install-dpdk diff --git a/resources/tools/testbed-setup/ansible/roles/iperf/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/iperf/defaults/main.yaml deleted file mode 100644 index 50210660f4..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/iperf/defaults/main.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -# file: roles/iperf/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - [] - -packages_by_distro: - ubuntu: - - "build-essential" - - "lib32z1" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] - -iperf_target_dir: "/opt" -iperf_version: - - "3.7" diff --git a/resources/tools/testbed-setup/ansible/roles/iperf/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/iperf/tasks/main.yaml deleted file mode 100644 index 8233ba7113..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/iperf/tasks/main.yaml +++ /dev/null @@ -1,54 +0,0 @@ ---- -# file: roles/iperf/tasks/main.yaml - -- name: iPerf - Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: iPerf - Get Release Archive - get_url: - url: "https://downloads.es.net/pub/iperf/iperf-{{ item }}.tar.gz" - dest: "{{ iperf_target_dir }}/iperf-{{ item }}.tar.gz" - validate_certs: false - mode: 0644 - loop: "{{ iperf_version }}" - tags: - - install-iperf - -- name: iPerf - Extract Release Archive - unarchive: - remote_src: true - src: "{{ iperf_target_dir }}/iperf-{{ item }}.tar.gz" - dest: "{{ iperf_target_dir }}/" - creates: "{{ iperf_target_dir }}/iperf-{{ item }}/src" - loop: "{{ iperf_version }}" - tags: - - install-iperf - -- name: iPerf - Compile Release I - command: "./configure" - args: - chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/" - loop: "{{ iperf_version }}" - tags: - - install-iperf - -- name: iPerf - Compile Release II - command: "make" - args: - chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/" - loop: "{{ iperf_version }}" - tags: - - install-iperf - -- name: iPerf - Compile Release III - command: "make install" - args: - chdir: "{{ iperf_target_dir }}/iperf-{{ item }}/" - loop: "{{ iperf_version }}" - tags: - - install-iperf diff --git a/resources/tools/testbed-setup/ansible/roles/kernel/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/kernel/defaults/main.yaml deleted file mode 100644 index d84a163487..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel/defaults/main.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -# file: roles/kernel/defaults/main.yaml - -# Kernel version to install (Default to any version). -kernel_version: "{{ kernel_version_by_distro[ansible_distribution | lower] | join(' ') }}" - -kernel_version_by_distro: - ubuntu: - - "4.15.0-72" - -kernel_packages: "{{ kernel_packages_by_distro[ansible_distribution | lower] | flatten(levels=1) }}" - -kernel_packages_by_distro: - ubuntu: - - "linux-image" - - "linux-headers" - - "linux-modules" - - "linux-modules-extra" - - "linux-tools" - -# Packages to remove in relation to kernel upgrade. -absent_packages: "{{ absent_packages_by_distro[ansible_distribution | lower] | flatten(levels=1) }}" - -absent_packages_by_distro: - ubuntu: - - "amd64-microcode" - - "intel-microcode" - - "iucode-tool" diff --git a/resources/tools/testbed-setup/ansible/roles/kernel/filter_plugins/main.py b/resources/tools/testbed-setup/ansible/roles/kernel/filter_plugins/main.py deleted file mode 100644 index 7d909b90e8..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel/filter_plugins/main.py +++ /dev/null @@ -1,143 +0,0 @@ - -"""Extra Ansible filters""" - -def deb_kernel(packages, kernel_version, current_version): - """ - Return best matching kernel version. - Args: - packages (dict): apt-cache showpkg output. - kernel_version (str): Kernel version to install. - current_version (str): Current kernel version. - Returns: - str: kernel version. - """ - kernels = set() - - # List all available kernel version and associated repository - for line in packages['stdout'].splitlines(): - line = line.strip() - if line.startswith('Package: ') and ( - line.endswith('-common') or # Debian - line.endswith('-generic')): # Ubuntu - kernel = line.split()[1] - - for string in ('linux-headers-', 'common', 'generic'): - kernel = kernel.replace(string, '') - kernel = kernel.strip('-') - - if kernel: - kernels.add(kernel) - - # Sort Kernel versions - versions = {} - for kernel in kernels: - try: - version, build = kernel.split('-', 1) - except ValueError: - version = kernel - build = '' - versions[kernel] = list( - int(ver) for ver in version.split('.')) + [build] - kernels = sorted(versions.keys(), key=versions.get, reverse=True) - - # Return more recent kernel package that match version requirement - for kernel in kernels: - if kernel.startswith(kernel_version): - return kernel - - raise RuntimeError( - 'No kernel matching to "%s". Available kernel versions: %s' % ( - kernel_version, ', '.join(reversed(kernels)))) - - -def _deb_kernel_package(kernel, dist, arch, name): - """ - Return kernel package name. - Args: - kernel (str): Kernel version. - dist (str): Distribution. - arch (str): Architecture. - name (str): Package name. - Returns: - str: kernel package. - """ - # Define package suffix - if dist == 'Ubuntu': - suffix = 'generic' - elif name == 'linux-image': - suffix = arch.replace('x86_64', 'amd64') - else: - suffix = 'common' - - return '-'.join((name, kernel, suffix)) - - -def deb_kernel_pkg(packages, kernel_version, current_version, dist, arch, name): - """ - Return kernel package to install. - Args: - packages (dict): apt-cache showpkg output. - kernel_version (str): Kernel version to install. - current_version (str): Current kernel version. - dist (str): Distribution. - arch (str): Architecture. - name (str): Package name. - Returns: - str: kernel package to install. - """ - return _deb_kernel_package( - deb_kernel(packages, kernel_version, current_version), dist, arch, name) - - -def deb_installed_kernel(installed, packages, kernel_version, current_version): - """ - Return old kernel packages to remove. - Args: - installed (dict): dpkg -l output. - packages (dict): apt-cache showpkg output. - kernel_version (str): Kernel version to install. - current_version (str): Current kernel version. - Returns: - list of str: Kernel packages to remove. - """ - # Filter installed package to keep - to_keep = deb_kernel(packages, kernel_version, current_version) - - # Return installed package to remove - to_remove = [] - for line in installed['stdout'].splitlines(): - if ' linux-' not in line: - continue - - package = line.split()[1] - if ((package.startswith('linux-image-') or - package.startswith('linux-headers-')) and not ( - package.startswith('linux-image-' + to_keep) or - package.startswith('linux-headers-' + to_keep))): - to_remove.append(package) - - return to_remove - - -def kernel_match(kernel, kernel_spec): - """ - Check if kernel version match. - Args: - kernel (str): Kernel - kernel_spec (str): Kernel to match. - Returns: - bool: True if Kernel match. - """ - return kernel.startswith(kernel_spec) - - -class FilterModule(object): - """Return filter plugin""" - - @staticmethod - def filters(): - """Return filter""" - return {'deb_kernel': deb_kernel, - 'deb_kernel_pkg': deb_kernel_pkg, - 'deb_installed_kernel': deb_installed_kernel, - 'kernel_match': kernel_match} diff --git a/resources/tools/testbed-setup/ansible/roles/kernel/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/kernel/handlers/main.yaml deleted file mode 100644 index 3d30a0973c..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel/handlers/main.yaml +++ /dev/null @@ -1,6 +0,0 @@ ---- -# file roles/kernel/handlers/main.yaml - -- name: Reboot Server - reboot: - reboot_timeout: 3600 diff --git a/resources/tools/testbed-setup/ansible/roles/kernel/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/kernel/tasks/main.yaml deleted file mode 100644 index 4c63c709a6..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel/tasks/main.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -# file: roles/kernel/tasks/main.yaml - -- name: Kernel - Install distribution - release - include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml' - tags: install-kernel - -- meta: flush_handlers diff --git a/resources/tools/testbed-setup/ansible/roles/kernel/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/kernel/tasks/ubuntu_bionic.yaml deleted file mode 100644 index 3cb79352ee..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel/tasks/ubuntu_bionic.yaml +++ /dev/null @@ -1,46 +0,0 @@ ---- -# file: roles/kernel/tasks/ubuntu_bionic.yaml - -- name: Kernel - Get Available Kernel Versions - command: "apt-cache showpkg linux-headers-*" - changed_when: false - register: apt_kernel_list - tags: install-kernel - -- name: Kernel - Get installed packages with APT - command: "dpkg -l" - changed_when: false - register: apt_packages_list - tags: install-kernel - -- name: Kernel - Set target APT kernel version - set_fact: - _kernel: "{{ apt_kernel_list | deb_kernel( - kernel_version, ansible_kernel) }}" - tags: install-kernel - -- name: Kernel - Ensure Packages Versions - apt: - name: "{{ apt_kernel_list | deb_kernel_pkg( - kernel_version, ansible_kernel, ansible_distribution, - ansible_architecture, item) }}" - loop: "{{ kernel_packages }}" - tags: install-kernel - -- name: Kernel - Ensure Any Other Kernel Packages Are Removed - apt: - name: "{{ apt_packages_list | deb_installed_kernel( - apt_kernel_list, kernel_version, ansible_kernel) }}" - state: absent - purge: true - notify: - - "Reboot Server" - tags: install-kernel - -- name: Kernel - Ensure Any Microcode Is Absent - apt: - name: "{{ absent_packages }}" - state: absent - purge: true - tags: install-kernel - diff --git a/resources/tools/testbed-setup/ansible/roles/kernel_vm/files/initramfs_modules b/resources/tools/testbed-setup/ansible/roles/kernel_vm/files/initramfs_modules deleted file mode 100644 index 00ae8e03e7..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel_vm/files/initramfs_modules +++ /dev/null @@ -1,4 +0,0 @@ -9p -9pnet -9pnet_virtio -vfio-pci
\ No newline at end of file diff --git a/resources/tools/testbed-setup/ansible/roles/kernel_vm/files/initramfs_resume b/resources/tools/testbed-setup/ansible/roles/kernel_vm/files/initramfs_resume deleted file mode 100644 index 820819823b..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel_vm/files/initramfs_resume +++ /dev/null @@ -1 +0,0 @@ -RESUME=none
\ No newline at end of file diff --git a/resources/tools/testbed-setup/ansible/roles/kernel_vm/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/kernel_vm/tasks/main.yaml deleted file mode 100644 index ba9426a55f..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kernel_vm/tasks/main.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# file: roles/kernel_vm/tasks/main.yaml - -- name: Kernel VM - Backup remote initramfs modules - copy: - src: "/etc/initramfs-tools/modules" - dest: "/tmp/initramfs_modules.bkp" - remote_src: yes - ignore_errors: yes - register: __initramfs_modules_backuped - tags: - - install-kernel-image - -- name: Kernel VM - Backup remote initramfs resume config - copy: - src: "/etc/initramfs-tools/conf.d/resume" - dest: "/tmp/initramfs-resume.bkp" - remote_src: yes - ignore_errors: yes - register: __initramfs_resume_backuped - tags: - - install-kernel-image - -- name: Kernel VM - Update remote initramfs modules - copy: - src: "../files/initramfs_modules" - dest: "/etc/initramfs-tools/modules" - tags: - - install-kernel-image - -- name: Kernel VM - Update remote initramfs resume config - copy: - src: "../files/initramfs_resume" - dest: "/etc/initramfs-tools/conf.d/resume" - tags: - - install-kernel-image - -- name: Kernel VM - Create target kernel dir - file: - path: "/opt/boot" - state: "directory" - tags: - - install-kernel-image - -- name: Kernel VM - Build initrd image - shell: "update-initramfs -k {{ ansible_kernel }} -c -b /opt/boot" - tags: - - install-kernel-image - -- name: Kernel VM - Copy corresponding kernel img - copy: - src: "/boot/vmlinuz-{{ ansible_kernel }}" - dest: "/opt/boot/vmlinuz-{{ ansible_kernel }}" - remote_src: yes - tags: - - install-kernel-image - -- name: Kernel VM - Restore remote initramfs modules - copy: - src: "/tmp/initramfs_modules.bkp" - dest: "/etc/initramfs-tools/modules" - remote_src: yes - ignore_errors: yes - when: __initramfs_modules_backuped - tags: - - install-kernel-image - -- name: Kernel VM - Remove remote backup initramfs modules - file: - path: "/tmp/initramfs_modules.bkp" - state: "absent" - when: __initramfs_modules_backuped - tags: - - install-kernel-image - -- name: Kernel VM - Restore remote initramfs resume config - copy: - src: "/tmp/initramfs-resume.bkp" - dest: "/etc/initramfs-tools/conf.d/resume" - remote_src: yes - ignore_errors: yes - when: __initramfs_resume_backuped - tags: - - install-kernel-image - -- name: Kernel VM - Remove remote backup initramfs resume config - file: - path: "/tmp/initramfs-resume.bkp" - state: "absent" - when: __initramfs_resume_backuped - tags: - - install-kernel-image diff --git a/resources/tools/testbed-setup/ansible/roles/kubernetes/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/kubernetes/defaults/main.yaml deleted file mode 100644 index 1a2f773950..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kubernetes/defaults/main.yaml +++ /dev/null @@ -1,15 +0,0 @@ ---- -# file: roles/kubernetes/defaults/main.yaml - -# Version options. -kubernetes_version: "1.11.0-00" -kubernetes_apt_package_state: present - -# Service options. -kubernetes_service_state: started -kubernetes_service_enabled: true -kubernetes_restart_handler_state: restarted - -# APT options. -kubernetes_apt_repository: "deb http://apt.kubernetes.io/ kubernetes-xenial main" -kubernetes_apt_repository_state: present diff --git a/resources/tools/testbed-setup/ansible/roles/kubernetes/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/kubernetes/tasks/main.yaml deleted file mode 100644 index 160ffb8c06..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kubernetes/tasks/main.yaml +++ /dev/null @@ -1,14 +0,0 @@ ---- -# file: roles/kubernetes/tasks/main.yaml - -- name: Kubernetes - Install distribution - release - machine prerequisites - include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml' - tags: install-kubernetes - -- name: Kubernetes - Apply kubelet parameter - lineinfile: - path: '/etc/default/kubelet' - state: 'present' - regexp: '^KUBELET_EXTRA_ARGS=*' - line: 'KUBELET_EXTRA_ARGS=--feature-gates HugePages=false' - tags: install-kubernetes diff --git a/resources/tools/testbed-setup/ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml deleted file mode 100644 index ddb885f6ee..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/kubernetes/tasks/ubuntu_bionic.yaml +++ /dev/null @@ -1,37 +0,0 @@ ---- -# file: roles/kubernetes/tasks/ubuntu_bionic.yaml - -- name: Kubernetes repository - Dependencies - apt: - name: - - 'apt-transport-https' - - 'ca-certificates' - - 'software-properties-common' - state: 'present' - cache_valid_time: 3600 - install_recommends: False - tags: install-kubernetes - -- name: Kubernetes repository - Add an Apt signing key - apt_key: - url: 'https://packages.cloud.google.com/apt/doc/apt-key.gpg' - state: 'present' - tags: install-kubernetes - -- name: Kubernetes repository - Install APT repository - apt_repository: - repo: '{{ kubernetes_apt_repository }}' - state: '{{ kubernetes_apt_repository_state }}' - update_cache: True - tags: install-kubernetes - -- name: Kubernetes - Install - apt: - name: - - 'kubernetes-cni=0.6.0-00' - - 'kubeadm={{ kubernetes_version }}' - - 'kubectl={{ kubernetes_version }}' - - 'kubelet={{ kubernetes_version }}' - state: '{{ kubernetes_apt_package_state }}' - force: True - tags: install-kubernetes diff --git a/resources/tools/testbed-setup/ansible/roles/mellanox/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/mellanox/defaults/main.yaml deleted file mode 100644 index a77bc67ec7..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/mellanox/defaults/main.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -# file: roles/mellanox/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - [] - -packages_by_distro: - ubuntu: - - "build-essential" - - "libnl-3-dev" - - "libnl-route-3-dev" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] - -mellanox_version: "4.6-1.0.1.1" diff --git a/resources/tools/testbed-setup/ansible/roles/mellanox/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/mellanox/tasks/main.yaml deleted file mode 100644 index 2fb6e2e213..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/mellanox/tasks/main.yaml +++ /dev/null @@ -1,60 +0,0 @@ ---- -# file: roles/mellanox/tasks/main.yaml - -- name: Mellanox Install - Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: Mellanox Install - Check Presence of Mellanox Hardware - shell: "lspci | grep Mellanox | awk '{print $1}'" - register: mellanox_pcis - failed_when: no - changed_when: no - tags: - - install-mellanox - -- name: Mellanox Install - Get OFED - get_url: - url: "http://content.mellanox.com/ofed/MLNX_OFED-{{ mellanox_version }}/MLNX_OFED_LINUX-{{ mellanox_version }}-{{ ansible_distribution|lower }}{{ ansible_distribution_version }}-{{ ansible_machine }}.tgz" - dest: "/opt/MLNX_OFED_LINUX-{{ mellanox_version }}-{{ ansible_distribution|lower }}{{ ansible_distribution_version }}-{{ ansible_machine }}.tgz" - mode: 0644 - when: mellanox_pcis.stdout_lines | length > 0 - tags: - - install-mellanox - -- name: Mellanox Install - Extract OFED - unarchive: - remote_src: true - src: "/opt/MLNX_OFED_LINUX-{{ mellanox_version }}-{{ ansible_distribution|lower }}{{ ansible_distribution_version }}-{{ ansible_machine }}.tgz" - dest: "/opt/" - creates: "/opt/MLNX_OFED_LINUX-{{ mellanox_version }}-{{ ansible_distribution|lower }}{{ ansible_distribution_version }}-{{ ansible_machine }}" - register: mellanox_firmware_extracted - when: mellanox_pcis.stdout_lines | length > 0 - tags: - - install-mellanox - -- name: Mellanox Install - Install OFED - command: "./mlnxofedinstall --with-mft --dpdk --force --upstream-libs" - args: - chdir: "/opt/MLNX_OFED_LINUX-{{ mellanox_version }}-{{ ansible_distribution|lower }}{{ ansible_distribution_version }}-{{ ansible_machine }}" - when: mellanox_pcis.stdout_lines | length > 0 and mellanox_firmware_extracted - tags: - - install-mellanox - -- name: Mellanox Install - Switch Infiniband to Ethernet - command: "mlxconfig --yes --dev {{ item }} set LINK_TYPE_P1=2 LINK_TYPE_P2=2" - with_items: "{{ mellanox_pcis.stdout_lines }}" - tags: - - install-mellanox - -- name: Mellanox Install - FIX qemu-system removal - package: - name: "qemu-system" - state: latest - update_cache: true - tags: - - install-mellanox diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml deleted file mode 100644 index f88e882fce..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/defaults/main.yaml +++ /dev/null @@ -1,104 +0,0 @@ ---- -# file: roles/nomad/defaults/main.yaml - -# Inst - Prerequisites. -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - "cgroup-bin" - - "curl" - - "git" - - "libcgroup1" - - "unzip" - - "htop" -packages_by_distro: - ubuntu: - - [] -packages_by_arch: - aarch64: - - [] - x86_64: - - [] - -# Inst - Download Nomad. -nomad_architecture_map: - amd64: "amd64" - x86_64: "amd64" - armv7l: "arm" - aarch64: "arm64" - 32-bit: "386" - 64-bit: "amd64" -nomad_architecture: "{{ nomad_architecture_map[ansible_architecture] }}" -nomad_version: "0.12.0" -nomad_pkg: "nomad_{{ nomad_version }}_linux_{{ nomad_architecture }}.zip" -nomad_zip_url: "https://releases.hashicorp.com/nomad/{{ nomad_version }}/{{ nomad_pkg }}" - -# Inst - System paths. -nomad_bin_dir: "/usr/local/bin" -nomad_config_dir: "/etc/nomad.d" -nomad_data_dir: "/var/nomad" -nomad_inst_dir: "/opt" -nomad_lockfile: "/var/lock/subsys/nomad" -nomad_run_dir: "/var/run/nomad" -nomad_ssl_dir: "/etc/nomad.d/ssl" - -# Conf - Service. -nomad_node_role: "both" -nomad_restart_handler_state: "restarted" - -# Conf - User and group. -nomad_group: "nomad" -nomad_group_state: "present" -nomad_manage_group: true -nomad_manage_user: true -nomad_user: "nomad" -nomad_user_groups: [ docker, nomad, root ] -nomad_user_state: "present" - -# Conf - base.hcl -nomad_bind_addr: "0.0.0.0" -nomad_datacenter: "dc1" -nomad_disable_update_check: true -nomad_enable_debug: false -nomad_log_level: "INFO" -nomad_name: "{{ inventory_hostname }}" -nomad_region: "global" -nomad_syslog_enable: true - -# Conf - tls.hcl -nomad_ca_file: "{{ nomad_ssl_dir }}/ca.pem" -nomad_cert_file: "{{ nomad_ssl_dir }}/nomad.pem" -nomad_http: false -nomad_key_file: "{{ nomad_ssl_dir }}/nomad-key.pem" -nomad_rpc: false - -# Conf - client.hcl -nomad_certificates: - - src: "{{ vault_nomad_ca_file }}" - dest: "{{ nomad_ca_file }}" - - src: "{{ vault_nomad_cert_file }}" - dest: "{{ nomad_cert_file }}" - - src: "{{ vault_nomad_key_file }}" - dest: "{{ nomad_key_file }}" -nomad_node_class: "" -nomad_no_host_uuid: true -nomad_options: {} -nomad_servers: [] - -# Conf - server.hcl -nomad_bootstrap_expect: 2 -nomad_encrypt: "" -nomad_retry_join: true - -# Conf - telemetry.hcl -nomad_disable_hostname: false -nomad_collection_interval: 60s -nomad_use_node_name: false -nomad_publish_allocation_metrics: true -nomad_publish_node_metrics: true -nomad_backwards_compatible_metrics: false -nomad_telemetry_provider_parameters: - prometheus_metrics: true - -# Conf - custom.hcl -# empty diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/handlers/main.yaml deleted file mode 100644 index f0bcee9142..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/handlers/main.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -# file roles/nomad/handlers/main.yaml - -- name: Restart Nomad - systemd: - daemon_reload: true - enabled: true - name: "nomad" - state: "{{ nomad_restart_handler_state }}" - diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/meta/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/meta/main.yaml deleted file mode 100644 index 9fc40d9ae1..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/meta/main.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# file: roles/nomad/meta/main.yaml - -# desc: Install nomad from stable branch and configure service. -# inst: Nomad -# conf: ? -# info: 1.0 - added role - -dependencies: [ docker ] diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml deleted file mode 100644 index e1341b3361..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/tasks/main.yaml +++ /dev/null @@ -1,184 +0,0 @@ ---- -# file: roles/nomad/tasks/main.yaml - -- name: Inst - Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - nomad-inst-prerequisites - -- name: Conf - Add Nomad Group - group: - name: "{{ nomad_group }}" - state: "{{ nomad_group_state }}" - when: - - nomad_manage_group | bool - tags: - - nomad-conf-user - -- name: Conf - Add Nomad user - user: - name: "{{ nomad_user }}" - group: "{{ nomad_group }}" - groups: "{{ nomad_user_groups }}" - state: "{{ nomad_user_state }}" - system: true - when: - - nomad_manage_user | bool - tags: - - nomad-conf-user - -- name: Inst - Clean Nomad - file: - path: "{{ nomad_inst_dir }}/nomad" - state: "absent" - tags: - - nomad-inst-package - -- name: Inst - Download Nomad - get_url: - url: "{{ nomad_zip_url }}" - dest: "{{ nomad_inst_dir }}/{{ nomad_pkg }}" - tags: - - nomad-inst-package - -- name: Inst - Unarchive Nomad - unarchive: - src: "{{ nomad_inst_dir }}/{{ nomad_pkg }}" - dest: "{{ nomad_inst_dir }}/" - creates: "{{ nomad_inst_dir }}/nomad" - remote_src: true - tags: - - nomad-inst-package - -- name: Inst - Nomad - copy: - src: "{{ nomad_inst_dir }}/nomad" - dest: "{{ nomad_bin_dir }}" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - force: true - mode: 0755 - remote_src: true - tags: - - nomad-inst-package - -- name: Conf - Create Directories "{{ nomad_data_dir }}" - file: - dest: "{{ nomad_data_dir }}" - state: directory - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - tags: - - nomad-conf - -- name: Conf - Create Directories "{{ nomad_ssl_dir }}" - file: - dest: "{{ nomad_ssl_dir }}" - state: directory - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - tags: - - nomad-conf - -- name: Conf - Create Config Directory - file: - dest: "{{ nomad_config_dir }}" - state: directory - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0755 - tags: - - nomad-conf - -- name: Conf - Base Configuration - template: - src: base.hcl.j2 - dest: "{{ nomad_config_dir }}/base.hcl" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0644 - tags: - - nomad-conf - -- name: Conf - Server Configuration - template: - src: server.hcl.j2 - dest: "{{ nomad_config_dir }}/server.hcl" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0644 - when: - - nomad_node_server | bool - tags: - - nomad-conf - -- name: Conf - Client Configuration - template: - src: client.hcl.j2 - dest: "{{ nomad_config_dir }}/client.hcl" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0644 - when: - - nomad_node_client | bool - tags: - - nomad-conf - -- name: Conf - TLS Configuration - template: - src: tls.hcl.j2 - dest: "{{ nomad_config_dir }}/tls.hcl" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0644 - tags: - - nomad-conf - -- name: Conf - Telemetry Configuration - template: - src: telemetry.hcl.j2 - dest: "{{ nomad_config_dir }}/telemetry.hcl" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0644 - tags: - - nomad-conf - -- name: Conf - Custom Configuration - template: - src: custom.json.j2 - dest: "{{ nomad_config_dir }}/custom.json" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0644 - when: - - nomad_config_custom is defined - tags: - - nomad-conf - -- name: Conf - Copy Certificates And Keys - copy: - content: "{{ item.src }}" - dest: "{{ item.dest }}" - owner: "{{ nomad_user }}" - group: "{{ nomad_group }}" - mode: 0600 - no_log: true - loop: "{{ nomad_certificates | flatten(levels=1) }}" - tags: - - nomad-conf - -- name: Conf - System.d Script - template: - src: "nomad_systemd.service.j2" - dest: "/lib/systemd/system/nomad.service" - owner: "root" - group: "root" - mode: 0644 -# notify: -# - "Restart Nomad" - tags: - - nomad-conf diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/base.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/base.hcl.j2 deleted file mode 100644 index 7badecf9e0..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/base.hcl.j2 +++ /dev/null @@ -1,11 +0,0 @@ -name = "{{ nomad_name }}" -region = "{{ nomad_region }}" -datacenter = "{{ nomad_datacenter }}" - -bind_addr = "{{ nomad_bind_addr }}" -data_dir = "{{ nomad_data_dir }}" - -enable_syslog = {{ nomad_syslog_enable | bool | lower }} -enable_debug = {{ nomad_enable_debug | bool | lower }} -disable_update_check = {{ nomad_disable_update_check | bool | lower }} -log_level = "{{ nomad_log_level }}" diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2 deleted file mode 100644 index f15616144f..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/client.hcl.j2 +++ /dev/null @@ -1,22 +0,0 @@ -client { - enabled = {{ nomad_node_client | bool | lower }} - no_host_uuid = {{ nomad_no_host_uuid | bool | lower }} - node_class = "{{ nomad_node_class }}" - - {% if nomad_cpu_total_compute is defined -%} - cpu_total_compute = {{ nomad_cpu_total_compute }} - {% endif -%} - - {% if nomad_servers -%} - servers = [ {% for ip_port in nomad_servers -%} "{{ ip_port }}" {% if not loop.last %},{% endif %}{%- endfor -%} ] - {% endif %} - - {% if nomad_options -%} - options = { - {% for key, value in nomad_options.items() %} - "{{ key }}" = "{{ value }}" - {% endfor -%} - } - {% endif %} - -} diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/custom.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/custom.hcl.j2 deleted file mode 100644 index 37ff6f3496..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/custom.hcl.j2 +++ /dev/null @@ -1,5 +0,0 @@ -{% if nomad_config_custom -%} -{{ nomad_config_custom | to_nice_json }} -{% else %} -{} -{% endif %} diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/nomad_systemd.service.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/nomad_systemd.service.j2 deleted file mode 100644 index efe2e30bd6..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/nomad_systemd.service.j2 +++ /dev/null @@ -1,21 +0,0 @@ -[Unit] -Description=Nomad Service -Documentation=https://www.nomadproject.io/docs/ -Wants=network-online.target -After=network-online.target - -[Service] -# TODO: Decrease privilege -ExecReload=/bin/kill -SIGKILL $MAINPID -ExecStart={{ nomad_bin_dir }}/nomad agent -config={{ nomad_config_dir }} -KillSignal=SIGTERM -LimitNOFILE=infinity -LimitNPROC=infinity -Restart=on-failure -RestartSec=1 -User=root -Group=root -Environment="GOMAXPROCS=2" - -[Install] -WantedBy=multi-user.target diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/server.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/server.hcl.j2 deleted file mode 100644 index b581de9ad0..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/server.hcl.j2 +++ /dev/null @@ -1,16 +0,0 @@ -server { - enabled = {{ nomad_node_server | bool | lower }} - - {% if nomad_node_server | bool -%} - bootstrap_expect = {{ nomad_bootstrap_expect }} - {%- endif %} - - encrypt = "{{ nomad_encrypt }}" - - {% if nomad_retry_join | bool -%} - server_join { - retry_join = [ {% for ip_port in nomad_retry_servers -%} "{{ ip_port }}" {% if not loop.last %},{% endif %}{%- endfor -%} ] - } - {%- endif %} - -} diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/telemetry.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/telemetry.hcl.j2 deleted file mode 100644 index 256c6999e9..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/telemetry.hcl.j2 +++ /dev/null @@ -1,20 +0,0 @@ -telemetry { - # Telemetry provider parameters - {% for key, value in nomad_telemetry_provider_parameters.items() -%} - {% if value|bool -%} - {{ key }} = {{ value | bool | lower }} - {% elif value|string or value == "" -%} - {{ key }} = "{{ value }}" - {% else %} - {{ key }} = {{ value }} - {% endif -%} - {% endfor -%} - - # Common parameters - disable_hostname = {{ nomad_disable_hostname | bool | lower }} - collection_interval = "{{ nomad_collection_interval }}" - use_node_name = {{ nomad_use_node_name | bool | lower }} - publish_allocation_metrics = {{ nomad_publish_allocation_metrics | bool | lower }} - publish_node_metrics = {{ nomad_publish_node_metrics | bool | lower }} - backwards_compatible_metrics = {{ nomad_backwards_compatible_metrics | bool | lower }} -} diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/templates/tls.hcl.j2 b/resources/tools/testbed-setup/ansible/roles/nomad/templates/tls.hcl.j2 deleted file mode 100644 index 650765f1b1..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/templates/tls.hcl.j2 +++ /dev/null @@ -1,12 +0,0 @@ -{% if ( nomad_ca_file ) and - ( nomad_cert_file ) and - ( nomad_key_file ) -%} -tls { - http = {{ nomad_http | bool | lower }} - rpc = {{ nomad_rpc | bool | lower }} - ca_file = "{{ nomad_ca_file }}" - cert_file = "{{ nomad_cert_file }}" - key_file = "{{ nomad_key_file }}" -} -{% endif %} diff --git a/resources/tools/testbed-setup/ansible/roles/nomad/vars/main.yaml b/resources/tools/testbed-setup/ansible/roles/nomad/vars/main.yaml deleted file mode 100644 index a72222c992..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/nomad/vars/main.yaml +++ /dev/null @@ -1,5 +0,0 @@ ---- -# file: roles/nomad/vars/main.yaml - -nomad_node_client: "{{ (nomad_node_role == 'client') or (nomad_node_role == 'both') }}" -nomad_node_server: "{{ (nomad_node_role == 'server') or (nomad_node_role == 'both') }}" diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/defaults/main.yaml deleted file mode 100644 index 612bc5a946..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/defaults/main.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# file: roles/performance_tuning/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - "cpufrequtils" - -packages_by_distro: - ubuntu: - - [] - -packages_by_arch: - aarch64: - - [] - x86_64: - - []
\ No newline at end of file diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/cpufrequtils b/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/cpufrequtils deleted file mode 100644 index 03070fefe1..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/cpufrequtils +++ /dev/null @@ -1 +0,0 @@ -GOVERNOR="performance" diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/disable-turbo-boost.service b/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/disable-turbo-boost.service deleted file mode 100644 index e04729de50..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/disable-turbo-boost.service +++ /dev/null @@ -1,10 +0,0 @@ -[Unit] -Description=Disable Turbo Boost on Intel CPU - -[Service] -ExecStart=/bin/sh -c 'for core in `cat /proc/cpuinfo | grep processor | awk \'{print $3}\'`; do sudo wrmsr -p$core 0x1a0 0x4000850089; done' -ExecStop=/bin/sh -c 'for core in `cat /proc/cpuinfo | grep processor | awk \'{print $3}\'`; do sudo wrmsr -p$core 0x1a0 0x850089; done' -RemainAfterExit=yes - -[Install] -WantedBy=sysinit.target diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance b/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance deleted file mode 100644 index 861be02fb3..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/files/irqbalance +++ /dev/null @@ -1,25 +0,0 @@ -# irqbalance is a daemon process that distributes interrupts across -# CPUS on SMP systems. The default is to rebalance once every 10 -# seconds. This is the environment file that is specified to systemd via the -# EnvironmentFile key in the service unit file (or via whatever method the init -# system you're using has. -# -# ONESHOT=yes -# after starting, wait for a minute, then look at the interrupt -# load and balance it once; after balancing exit and do not change -# it again. -#IRQBALANCE_ONESHOT= - -# -# IRQBALANCE_BANNED_CPUS -# 64 bit bitmask which allows you to indicate which cpu's should -# be skipped when reblancing irqs. Cpu numbers which have their -# corresponding bits set to one in this mask will not have any -# irq's assigned to them on rebalance -# -IRQBALANCE_BANNED_CPUS="{{ ansible_processor_cores | irqbalance_banned_cpu_mask(ansible_processor_count, ansible_processor_threads_per_core) }}" -# -# IRQBALANCE_ARGS -# append any args here to the irqbalance daemon as documented in the man page -# -#IRQBALANCE_ARGS= diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/filter_plugins/main.py b/resources/tools/testbed-setup/ansible/roles/performance_tuning/filter_plugins/main.py deleted file mode 100644 index d76f6fe166..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/filter_plugins/main.py +++ /dev/null @@ -1,29 +0,0 @@ -"""Extra Ansible filters""" - -def irqbalance_banned_cpu_mask( - processor_cores, processor_count, processor_threads_per_core): - """ - Return irqbalance CPU mask. - Args: - processor_cores (int): Physical processor unit. - processor_counts (int): Processors per physical unit. - processor_threads_per_core (int): Threads per physical unit. - Returns: - str: irqbalance_banned_cpus. - """ - mask = int("1" * 128, 2) - - for i in range(processor_count * processor_threads_per_core): - mask &= ~(1 << i * processor_cores) - - import re - return ",".join(re.findall('.{1,8}', str(hex(mask))[2:])) - - -class FilterModule(object): - """Return filter plugin""" - - @staticmethod - def filters(): - """Return filter""" - return {'irqbalance_banned_cpu_mask': irqbalance_banned_cpu_mask} diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/handlers/main.yaml deleted file mode 100644 index fa2876b7ac..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/handlers/main.yaml +++ /dev/null @@ -1,13 +0,0 @@ ---- -# file roles/performance_tuning/handlers/main.yaml - -- name: Update GRUB - command: update-grub - tags: - - update-grub - -- name: Reboot server - reboot: - reboot_timeout: 3600 - tags: - - reboot-server diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml deleted file mode 100644 index c437b40f86..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/main.yaml +++ /dev/null @@ -1,186 +0,0 @@ ---- -# file: roles/performance_tuning/tasks/main.yaml - -- name: Performance Tuning - Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: Performance Tuning - Distribution - release - machine optimizations - include_tasks: '{{ ansible_distribution|lower }}_{{ ansible_distribution_release }}.yaml' - tags: - - machine-optimizations - -- name: Performance Tuning - Configure {{ ansible_machine }} Kernel Parameters - lineinfile: - path: "/etc/default/grub" - state: "present" - regexp: "^GRUB_CMDLINE_LINUX=" - line: "GRUB_CMDLINE_LINUX=\"{% for key, value in grub.items() %}{% if value %}{{key}}={{value}} {% else %}{{key}} {% endif %}{% endfor %}\"" - notify: - - "Update GRUB" - tags: - - set-grub - -- meta: flush_handlers - -- name: Performance Tuning - Turbo Boost - import_tasks: turbo_boost.yaml - when: > - cpu_microarchitecture == "skylake" or - cpu_microarchitecture == "cascadelake" - tags: - - turbo-boost - -- name: Performance Tuning - Adjust nr_hugepages - # change the minimum size of the hugepage pool. - # 2G VPP, 4GB per VNF/CNF, 2G reserve - sysctl: - name: "vm.nr_hugepages" - value: "{{ sysctl.vm.nr_hugepages }}" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Adjust max_map_count - # this file contains the maximum number of memory map areas a process - # may have. memory map areas are used as a side-effect of calling - # malloc, directly by mmap and mprotect, and also when loading shared - # libraries. - # - # while most applications need less than a thousand maps, certain - # programs, particularly malloc debuggers, may consume lots of them, - # e.g., up to one or two maps per allocation. - # must be greater than or equal to (2 * vm.nr_hugepages). - sysctl: - name: "vm.max_map_count" - value: "{{ sysctl.vm.nr_hugepages * 4 }}" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Adjust hugetlb_shm_group - # hugetlb_shm_group contains group id that is allowed to create sysv - # shared memory segment using hugetlb page. - sysctl: - name: "vm.hugetlb_shm_group" - value: "1000" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Adjust swappiness - # this control is used to define how aggressive the kernel will swap - # memory pages. higher values will increase agressiveness, lower values - # decrease the amount of swap. a value of 0 instructs the kernel not to - # initiate swap until the amount of free and file-backed pages is less - # than the high water mark in a zone. - sysctl: - name: "vm.swappiness" - value: "0" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Adjust shmmax - # shared memory max must be greator or equal to the total size of hugepages. - # for 2mb pages, totalhugepagesize = vm.nr_hugepages * 2 * 1024 * 1024 - # if the existing kernel.shmmax setting (cat /sys/proc/kernel/shmmax) - # is greater than the calculated totalhugepagesize then set this parameter - # to current shmmax value. - sysctl: - name: "kernel.shmmax" - value: "{{ sysctl.vm.nr_hugepages * 2 * 1024 * 1024 }}" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Adjust watchdog_cpumask - # this value can be used to control on which cpus the watchdog may run. - # the default cpumask is all possible cores, but if no_hz_full is - # enabled in the kernel config, and cores are specified with the - # nohz_full= boot argument, those cores are excluded by default. - # offline cores can be included in this mask, and if the core is later - # brought online, the watchdog will be started based on the mask value. - # - # typically this value would only be touched in the nohz_full case - # to re-enable cores that by default were not running the watchdog, - # if a kernel lockup was suspected on those cores. - sysctl: - name: "kernel.watchdog_cpumask" - value: "{{ sysctl.kernel.watchdog_cpumask }}" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Adjust randomize_va_space - # this option can be used to select the type of process address - # space randomization that is used in the system, for architectures - # that support this feature. - # 0 - turn the process address space randomization off. this is the - # default for architectures that do not support this feature anyways, - # and kernels that are booted with the "norandmaps" parameter. - sysctl: - name: "kernel.randomize_va_space" - value: "0" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: Performance Tuning - Copy Cpufrequtils File - copy: - src: "files/cpufrequtils" - dest: "/etc/default/cpufrequtils" - owner: "root" - group: "root" - mode: "0644" - tags: - - copy-cpufrequtils - -- name: Performance Tuning - Copy Irqbalance File - template: - src: "files/irqbalance" - dest: "/etc/default/irqbalance" - owner: "root" - group: "root" - mode: "0644" - notify: - - "Update GRUB" - tags: - - copy-irqbalance - -- name: Performance Tuning - Set Ondemand Service To Disable - service: - name: "ondemand" - enabled: "no" - tags: - - set-ondemand - -- name: Performance Tuning - Load Kernel Modules By Default - lineinfile: - path: "/etc/modules" - state: "present" - line: "{{ item }}" - with_items: - - "vfio-pci" - tags: - - load-kernel-modules - -- meta: flush_handlers diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml deleted file mode 100644 index 310803ca5b..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/turbo_boost.yaml +++ /dev/null @@ -1,36 +0,0 @@ ---- -# file: roles/performance_tuning/tasks/turbo_boost.yaml - -- name: Turbo Boost - Install msr-tools - package: - name: - - "msr-tools" - state: latest - update_cache: true - tags: - - turbo-boost - -- name: Turbo Boost - Load msr By Default - lineinfile: - path: "/etc/modules" - state: "present" - line: "msr" - tags: - - turbo-boost - -- name: Turbo Boost - Custom Startup Service Hook - copy: - src: "files/disable-turbo-boost.service" - dest: "/etc/systemd/system/disable-turbo-boost.service" - owner: "root" - group: "root" - mode: "0644" - tags: - - turbo-boost - -- name: Turbo Boost - Custom Startup Service Hook Enable - service: - name: "disable-turbo-boost" - enabled: yes - tags: - - turbo-boost diff --git a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/ubuntu_bionic.yaml b/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/ubuntu_bionic.yaml deleted file mode 100644 index 273ad53f25..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/performance_tuning/tasks/ubuntu_bionic.yaml +++ /dev/null @@ -1,18 +0,0 @@ ---- -# file: roles/performance_tuning/tasks/ubuntu_bionic.yaml - -- name: Ubuntu Bionic - Mount /tmp as tmpfs I - copy: - src: "/usr/share/systemd/tmp.mount" - dest: "/etc/systemd/system/tmp.mount" - remote_src: yes - tags: - - machine-optimizations - -- name: Ubuntu Bionic - Mount /tmp as tmpfs II - systemd: - name: "tmp.mount" - daemon_reload: yes - enabled: yes - tags: - - machine-optimizations diff --git a/resources/tools/testbed-setup/ansible/roles/tg/files/csit-initialize-docker-tg.service b/resources/tools/testbed-setup/ansible/roles/tg/files/csit-initialize-docker-tg.service deleted file mode 100644 index 11911201d5..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/tg/files/csit-initialize-docker-tg.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=CSIT Initialize Docker TG -After=network.target - -[Service] -Type=oneshot -RemainAfterExit=True -ExecStart=/usr/local/bin/csit-initialize-docker-tg.sh start 2 -ExecStop=/usr/local/bin/csit-initialize-docker-tg.sh stop - -[Install] -WantedBy=default.target diff --git a/resources/tools/testbed-setup/ansible/roles/tg/files/csit-initialize-docker-tg.sh b/resources/tools/testbed-setup/ansible/roles/tg/files/csit-initialize-docker-tg.sh deleted file mode 100755 index 7b90d20bda..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/tg/files/csit-initialize-docker-tg.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2020 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# CSIT SRIOV VF initialization and isolation. - -set -euo pipefail - -case "${1:-start}" in - "start" ) - # Run TG - for cnt in $(seq 1 ${2:-1}); do - docker network create --driver bridge csit-nw-tg${cnt} || true - # If the IMAGE is not already loaded then docker run will pull the - # IMAGE, and all image dependencies, before it starts the container. - dcr_image="snergster/csit-sut:latest" - # Run the container in the background and print the new container - # ID. - dcr_stc_params="--detach=true " - # Give extended privileges to this container. A "privileged" - # container is given access to all devices and able to run nested - # containers. - dcr_stc_params+="--privileged " - # Publish all exposed ports to random ports on the host interfaces. - dcr_stc_params+="--publish 600${cnt}:22 " - # Automatically remove the container when it exits. - dcr_stc_params+="--rm " - # Size of /dev/shm. - dcr_stc_params+="--shm-size 4G " - # Mount vfio to be able to bind to see binded interfaces. We cannot - # use --device=/dev/vfio as this does not see newly binded - # interfaces. - dcr_stc_params+="--volume /dev:/dev " - # Mount /opt/boot/ where VM kernel and initrd are located. - dcr_stc_params+="--volume /opt:/opt " - # Mount host hugepages for VMs. - dcr_stc_params+="--volume /dev/hugepages:/dev/hugepages " - - params=(${dcr_stc_params} --name csit-tg-"${cnt}" "${dcr_image}") - docker run --network=csit-nw-tg${cnt} "${params[@]}" - done - ;; - "stop" ) - docker rm --force $(docker ps --all --quiet --filter name=csit) - docker network rm $(docker network ls --filter name=csit --quiet) - ;; -esac diff --git a/resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml deleted file mode 100644 index e13e67b2c1..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml +++ /dev/null @@ -1,10 +0,0 @@ ---- -# file: roles/tg/handlers/main.yaml - -- name: Start csit-initialize-docker-tg.service - systemd: - enabled: yes - state: "started" - name: "csit-initialize-docker-tg.service" - tags: - - docker-tg diff --git a/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml deleted file mode 100644 index d7a9ed882d..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/tg/tasks/main.yaml +++ /dev/null @@ -1,28 +0,0 @@ ---- -# file: roles/tg/tasks/main.yaml - -- name: TG - Copy csit-initialize-docker-tg.sh - copy: - src: "files/csit-initialize-docker-tg.sh" - dest: "/usr/local/bin/csit-initialize-docker-tg.sh" - owner: "root" - group: "root" - mode: "744" - when: docker_tg is defined - tags: - - docker-tg - -- name: TG - Start csit-initialize-docker-tg.service - copy: - src: "files/csit-initialize-docker-tg.service" - dest: "/etc/systemd/system/" - owner: "root" - group: "root" - mode: "644" - notify: - - "Start csit-initialize-docker-tg.service" - when: docker_tg is defined - tags: - - docker-tg - -- meta: flush_handlers diff --git a/resources/tools/testbed-setup/ansible/roles/topology/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/topology/tasks/main.yaml deleted file mode 100644 index 9efdc71759..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/topology/tasks/main.yaml +++ /dev/null @@ -1,9 +0,0 @@ ---- -# file: roles/topology/tasks/main.yaml - -- name: Create topology file - template: - src: 'templates/topology_{{ cloud_topology }}.j2' - dest: '../../../../topologies/available/{{ cloud_topology }}_testbed.yaml' - tags: - - create-topology-file diff --git a/resources/tools/testbed-setup/ansible/roles/trex/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/trex/defaults/main.yaml deleted file mode 100644 index 77d0aaa08a..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/trex/defaults/main.yaml +++ /dev/null @@ -1,33 +0,0 @@ ---- -# file: roles/trex/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - [] - -packages_by_distro: - ubuntu: - - "build-essential" - - "libmnl-dev" - - "libnuma-dev" - - "libpcap-dev" - - "librdmacm-dev" - - "librdmacm1" - - "libssl-dev" - - "pciutils" - - "python3-pip" - - "zlib1g-dev" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] - -trex_target_dir: "/opt" -trex_url: "https://github.com/cisco-system-traffic-generator/trex-core/archive/" -trex_version: - - "2.54" - - "2.73" - - "2.82" diff --git a/resources/tools/testbed-setup/ansible/roles/trex/files/t-rex.patch b/resources/tools/testbed-setup/ansible/roles/trex/files/t-rex.patch deleted file mode 100644 index e7db647779..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/trex/files/t-rex.patch +++ /dev/null @@ -1,548 +0,0 @@ -diff --git a/linux_dpdk/ws_main.py b/linux_dpdk/ws_main.py -index e8d0cd51..a0c01adb 100755 ---- a/linux_dpdk/ws_main.py -+++ b/linux_dpdk/ws_main.py -@@ -209,7 +209,7 @@ def check_ofed(ctx): - - ofed_ver= 42 - ofed_ver_show= '4.2' -- -+ return True - if not os.path.isfile(ofed_info): - ctx.end_msg('not found', 'YELLOW') - return False -@@ -1552,8 +1552,6 @@ class build_option: - flags += ['-DNDEBUG']; - else: - flags += ['-UNDEBUG']; -- if bld.env.OFED_OK: -- flags += ['-DHAVE_IBV_MLX4_WQE_LSO_SEG=1'] - return (flags) - - def get_bnxt_flags(self): -diff --git a/src/dpdk/drivers/net/mlx4/mlx4_autoconf.h b/src/dpdk/drivers/net/mlx4/mlx4_autoconf.h -index b3d68683..35474409 100644 ---- a/src/dpdk/drivers/net/mlx4/mlx4_autoconf.h -+++ b/src/dpdk/drivers/net/mlx4/mlx4_autoconf.h -@@ -1,3 +1,6 @@ --#ifndef HAVE_IBV_MLX4_WQE_LSO_SEG --#define HAVE_IBV_MLX4_WQE_LSO_SEG --#endif -+/* HAVE_IBV_MLX4_BUF_ALLOCATORS is not defined. */ -+ -+/* HAVE_IBV_MLX4_UAR_MMAP_OFFSET is not defined. */ -+ -+/* HAVE_IBV_MLX4_WQE_LSO_SEG is not defined. */ -+ -diff --git a/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h b/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h -index 8770fdde..75db5ae8 100644 ---- a/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h -+++ b/src/dpdk/drivers/net/mlx5/mlx5_autoconf.h -@@ -1,54 +1,362 @@ --#ifndef HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT --#define HAVE_IBV_DEVICE_COUNTERS_SET_SUPPORT --#endif -+/* HAVE_IBV_DEVICE_STRIDING_RQ_SUPPORT is not defined. */ - --#ifndef HAVE_IBV_FLOW_DV_SUPPORT --#define HAVE_IBV_FLOW_DV_SUPPORT --#endif -+#ifndef HAVE_IBV_DEVICE_TUNNEL_SUPPORT -+#define HAVE_IBV_DEVICE_TUNNEL_SUPPORT 1 -+#endif /* HAVE_IBV_DEVICE_TUNNEL_SUPPORT */ - --#ifndef HAVE_IBV_DEVICE_COUNTERS_SET_V45 --#define HAVE_IBV_DEVICE_COUNTERS_SET_V45 --#endif -+/* HAVE_IBV_DEVICE_MPLS_SUPPORT is not defined. */ - --#ifndef HAVE_IBV_FLOW_DEVX_COUNTERS --#define HAVE_IBV_FLOW_DEVX_COUNTERS --#endif -+#ifndef HAVE_IBV_WQ_FLAGS_PCI_WRITE_END_PADDING -+#define HAVE_IBV_WQ_FLAGS_PCI_WRITE_END_PADDING 1 -+#endif /* HAVE_IBV_WQ_FLAGS_PCI_WRITE_END_PADDING */ - --#ifndef HAVE_IBV_MLX4_WQE_LSO_SEG --#define HAVE_IBV_MLX4_WQE_LSO_SEG --#endif -+/* HAVE_IBV_WQ_FLAG_RX_END_PADDING is not defined. */ - -+#ifndef HAVE_IBV_MLX5_MOD_SWP -+#define HAVE_IBV_MLX5_MOD_SWP 1 -+#endif /* HAVE_IBV_MLX5_MOD_SWP */ - --#ifdef SUPPORTED_40000baseKR4_Full -+#ifndef HAVE_IBV_MLX5_MOD_MPW -+#define HAVE_IBV_MLX5_MOD_MPW 1 -+#endif /* HAVE_IBV_MLX5_MOD_MPW */ -+ -+#ifndef HAVE_IBV_MLX5_MOD_CQE_128B_COMP -+#define HAVE_IBV_MLX5_MOD_CQE_128B_COMP 1 -+#endif /* HAVE_IBV_MLX5_MOD_CQE_128B_COMP */ -+ -+#ifndef HAVE_IBV_MLX5_MOD_CQE_128B_PAD -+#define HAVE_IBV_MLX5_MOD_CQE_128B_PAD 1 -+#endif /* HAVE_IBV_MLX5_MOD_CQE_128B_PAD */ -+ -+/* HAVE_IBV_FLOW_DV_SUPPORT is not defined. */ -+ -+/* HAVE_MLX5DV_DR is not defined. */ -+ -+/* HAVE_MLX5DV_DR_ESWITCH is not defined. */ -+ -+/* HAVE_IBV_DEVX_OBJ is not defined. */ -+ -+/* HAVE_IBV_FLOW_DEVX_COUNTERS is not defined. */ -+ -+#ifndef HAVE_ETHTOOL_LINK_MODE_25G -+#define HAVE_ETHTOOL_LINK_MODE_25G 1 -+#endif /* HAVE_ETHTOOL_LINK_MODE_25G */ -+ -+#ifndef HAVE_ETHTOOL_LINK_MODE_50G -+#define HAVE_ETHTOOL_LINK_MODE_50G 1 -+#endif /* HAVE_ETHTOOL_LINK_MODE_50G */ -+ -+#ifndef HAVE_ETHTOOL_LINK_MODE_100G -+#define HAVE_ETHTOOL_LINK_MODE_100G 1 -+#endif /* HAVE_ETHTOOL_LINK_MODE_100G */ -+ -+/* HAVE_IBV_DEVICE_COUNTERS_SET_V42 is not defined. */ -+ -+/* HAVE_IBV_DEVICE_COUNTERS_SET_V45 is not defined. */ -+ -+#ifndef HAVE_RDMA_NL_NLDEV -+#define HAVE_RDMA_NL_NLDEV 1 -+#endif /* HAVE_RDMA_NL_NLDEV */ -+ -+#ifndef HAVE_RDMA_NLDEV_CMD_GET -+#define HAVE_RDMA_NLDEV_CMD_GET 1 -+#endif /* HAVE_RDMA_NLDEV_CMD_GET */ -+ -+#ifndef HAVE_RDMA_NLDEV_CMD_PORT_GET -+#define HAVE_RDMA_NLDEV_CMD_PORT_GET 1 -+#endif /* HAVE_RDMA_NLDEV_CMD_PORT_GET */ -+ -+#ifndef HAVE_RDMA_NLDEV_ATTR_DEV_INDEX -+#define HAVE_RDMA_NLDEV_ATTR_DEV_INDEX 1 -+#endif /* HAVE_RDMA_NLDEV_ATTR_DEV_INDEX */ -+ -+#ifndef HAVE_RDMA_NLDEV_ATTR_DEV_NAME -+#define HAVE_RDMA_NLDEV_ATTR_DEV_NAME 1 -+#endif /* HAVE_RDMA_NLDEV_ATTR_DEV_NAME */ -+ -+#ifndef HAVE_RDMA_NLDEV_ATTR_PORT_INDEX -+#define HAVE_RDMA_NLDEV_ATTR_PORT_INDEX 1 -+#endif /* HAVE_RDMA_NLDEV_ATTR_PORT_INDEX */ -+ -+/* HAVE_RDMA_NLDEV_ATTR_NDEV_INDEX is not defined. */ -+ -+#ifndef HAVE_IFLA_NUM_VF -+#define HAVE_IFLA_NUM_VF 1 -+#endif /* HAVE_IFLA_NUM_VF */ -+ -+#ifndef HAVE_IFLA_EXT_MASK -+#define HAVE_IFLA_EXT_MASK 1 -+#endif /* HAVE_IFLA_EXT_MASK */ -+ -+#ifndef HAVE_IFLA_PHYS_SWITCH_ID -+#define HAVE_IFLA_PHYS_SWITCH_ID 1 -+#endif /* HAVE_IFLA_PHYS_SWITCH_ID */ -+ -+#ifndef HAVE_IFLA_PHYS_PORT_NAME -+#define HAVE_IFLA_PHYS_PORT_NAME 1 -+#endif /* HAVE_IFLA_PHYS_PORT_NAME */ -+ -+#ifndef HAVE_IFLA_VXLAN_COLLECT_METADATA -+#define HAVE_IFLA_VXLAN_COLLECT_METADATA 1 -+#endif /* HAVE_IFLA_VXLAN_COLLECT_METADATA */ -+ -+#ifndef HAVE_TCA_CHAIN -+#define HAVE_TCA_CHAIN 1 -+#endif /* HAVE_TCA_CHAIN */ -+ -+#ifndef HAVE_TCA_FLOWER_ACT -+#define HAVE_TCA_FLOWER_ACT 1 -+#endif /* HAVE_TCA_FLOWER_ACT */ -+ -+#ifndef HAVE_TCA_FLOWER_FLAGS -+#define HAVE_TCA_FLOWER_FLAGS 1 -+#endif /* HAVE_TCA_FLOWER_FLAGS */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ETH_TYPE -+#define HAVE_TCA_FLOWER_KEY_ETH_TYPE 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ETH_TYPE */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ETH_DST -+#define HAVE_TCA_FLOWER_KEY_ETH_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ETH_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ETH_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_ETH_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ETH_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ETH_SRC -+#define HAVE_TCA_FLOWER_KEY_ETH_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ETH_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ETH_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_ETH_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ETH_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IP_PROTO -+#define HAVE_TCA_FLOWER_KEY_IP_PROTO 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IP_PROTO */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV4_SRC -+#define HAVE_TCA_FLOWER_KEY_IPV4_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV4_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV4_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_IPV4_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV4_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV4_DST -+#define HAVE_TCA_FLOWER_KEY_IPV4_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV4_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV4_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_IPV4_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV4_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV6_SRC -+#define HAVE_TCA_FLOWER_KEY_IPV6_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV6_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV6_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_IPV6_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV6_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV6_DST -+#define HAVE_TCA_FLOWER_KEY_IPV6_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV6_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IPV6_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_IPV6_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IPV6_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_TCP_SRC -+#define HAVE_TCA_FLOWER_KEY_TCP_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_TCP_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_TCP_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_TCP_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_TCP_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_TCP_DST -+#define HAVE_TCA_FLOWER_KEY_TCP_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_TCP_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_TCP_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_TCP_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_TCP_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_UDP_SRC -+#define HAVE_TCA_FLOWER_KEY_UDP_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_UDP_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_UDP_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_UDP_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_UDP_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_UDP_DST -+#define HAVE_TCA_FLOWER_KEY_UDP_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_UDP_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_UDP_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_UDP_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_UDP_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_VLAN_ID -+#define HAVE_TCA_FLOWER_KEY_VLAN_ID 1 -+#endif /* HAVE_TCA_FLOWER_KEY_VLAN_ID */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_VLAN_PRIO -+#define HAVE_TCA_FLOWER_KEY_VLAN_PRIO 1 -+#endif /* HAVE_TCA_FLOWER_KEY_VLAN_PRIO */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_VLAN_ETH_TYPE -+#define HAVE_TCA_FLOWER_KEY_VLAN_ETH_TYPE 1 -+#endif /* HAVE_TCA_FLOWER_KEY_VLAN_ETH_TYPE */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_TCP_FLAGS -+#define HAVE_TCA_FLOWER_KEY_TCP_FLAGS 1 -+#endif /* HAVE_TCA_FLOWER_KEY_TCP_FLAGS */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_TCP_FLAGS_MASK -+#define HAVE_TCA_FLOWER_KEY_TCP_FLAGS_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_TCP_FLAGS_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IP_TOS -+#define HAVE_TCA_FLOWER_KEY_IP_TOS 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IP_TOS */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IP_TOS_MASK -+#define HAVE_TCA_FLOWER_KEY_IP_TOS_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IP_TOS_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IP_TTL -+#define HAVE_TCA_FLOWER_KEY_IP_TTL 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IP_TTL */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_IP_TTL_MASK -+#define HAVE_TCA_FLOWER_KEY_IP_TTL_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_IP_TTL_MASK */ -+ -+#ifndef HAVE_TC_ACT_GOTO_CHAIN -+#define HAVE_TC_ACT_GOTO_CHAIN 1 -+#endif /* HAVE_TC_ACT_GOTO_CHAIN */ -+ -+#ifndef HAVE_TC_ACT_VLAN -+#define HAVE_TC_ACT_VLAN 1 -+#endif /* HAVE_TC_ACT_VLAN */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_KEY_ID -+#define HAVE_TCA_FLOWER_KEY_ENC_KEY_ID 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_KEY_ID */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV4_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV4_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC_MASK -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV6_SRC_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST_MASK -+#define HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_IPV6_DST_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT -+#define HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK -+#define HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_UDP_SRC_PORT_MASK */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT -+#define HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT */ -+ -+#ifndef HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK -+#define HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK 1 -+#endif /* HAVE_TCA_FLOWER_KEY_ENC_UDP_DST_PORT_MASK */ -+ -+/* HAVE_TCA_FLOWER_KEY_ENC_IP_TOS is not defined. */ -+ -+/* HAVE_TCA_FLOWER_KEY_ENC_IP_TOS_MASK is not defined. */ -+ -+/* HAVE_TCA_FLOWER_KEY_ENC_IP_TTL is not defined. */ -+ -+/* HAVE_TCA_FLOWER_KEY_ENC_IP_TTL_MASK is not defined. */ -+ -+#ifndef HAVE_TC_ACT_TUNNEL_KEY -+#define HAVE_TC_ACT_TUNNEL_KEY 1 -+#endif /* HAVE_TC_ACT_TUNNEL_KEY */ -+ -+#ifndef HAVE_TCA_TUNNEL_KEY_ENC_DST_PORT -+#define HAVE_TCA_TUNNEL_KEY_ENC_DST_PORT 1 -+#endif /* HAVE_TCA_TUNNEL_KEY_ENC_DST_PORT */ -+ -+/* HAVE_TCA_TUNNEL_KEY_ENC_TOS is not defined. */ -+ -+/* HAVE_TCA_TUNNEL_KEY_ENC_TTL is not defined. */ -+ -+#ifndef HAVE_TCA_TUNNEL_KEY_NO_CSUM -+#define HAVE_TCA_TUNNEL_KEY_NO_CSUM 1 -+#endif /* HAVE_TCA_TUNNEL_KEY_NO_CSUM */ -+ -+#ifndef HAVE_TC_ACT_PEDIT -+#define HAVE_TC_ACT_PEDIT 1 -+#endif /* HAVE_TC_ACT_PEDIT */ -+ -+#ifndef HAVE_SUPPORTED_40000baseKR4_Full - #define HAVE_SUPPORTED_40000baseKR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_40000baseKR4_Full */ - --#ifdef SUPPORTED_40000baseCR4_Full -+#ifndef HAVE_SUPPORTED_40000baseCR4_Full - #define HAVE_SUPPORTED_40000baseCR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_40000baseCR4_Full */ - --#ifdef SUPPORTED_40000baseSR4_Full -+#ifndef HAVE_SUPPORTED_40000baseSR4_Full - #define HAVE_SUPPORTED_40000baseSR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_40000baseSR4_Full */ - --#ifdef SUPPORTED_40000baseLR4_Full -+#ifndef HAVE_SUPPORTED_40000baseLR4_Full - #define HAVE_SUPPORTED_40000baseLR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_40000baseLR4_Full */ - --#ifdef SUPPORTED_56000baseKR4_Full -+#ifndef HAVE_SUPPORTED_56000baseKR4_Full - #define HAVE_SUPPORTED_56000baseKR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_56000baseKR4_Full */ - --#ifdef SUPPORTED_56000baseCR4_Full -+#ifndef HAVE_SUPPORTED_56000baseCR4_Full - #define HAVE_SUPPORTED_56000baseCR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_56000baseCR4_Full */ - --#ifdef SUPPORTED_56000baseSR4_Full -+#ifndef HAVE_SUPPORTED_56000baseSR4_Full - #define HAVE_SUPPORTED_56000baseSR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_56000baseSR4_Full */ - --#ifdef SUPPORTED_56000baseLR4_Full -+#ifndef HAVE_SUPPORTED_56000baseLR4_Full - #define HAVE_SUPPORTED_56000baseLR4_Full 1 --#endif -+#endif /* HAVE_SUPPORTED_56000baseLR4_Full */ - -+#ifndef HAVE_STATIC_ASSERT -+#define HAVE_STATIC_ASSERT 1 -+#endif /* HAVE_STATIC_ASSERT */ - -diff --git a/src/dpdk/drivers/net/tap/rte_eth_tap.c b/src/dpdk/drivers/net/tap/rte_eth_tap.c -index bc889c19..47a2b68f 100644 ---- a/src/dpdk/drivers/net/tap/rte_eth_tap.c -+++ b/src/dpdk/drivers/net/tap/rte_eth_tap.c -@@ -34,8 +34,8 @@ - #include <unistd.h> - #include <arpa/inet.h> - #include <net/if.h> --#include <linux_tap/if_tun.h> --#include <linux_tap/if_ether.h> -+#include <linux/if_tun.h> -+#include <linux/if_ether.h> - #include <fcntl.h> - #include <ctype.h> - -diff --git a/src/dpdk/drivers/net/tap/rte_eth_tap.h b/src/dpdk/drivers/net/tap/rte_eth_tap.h -index 66cd3441..dc3579ac 100644 ---- a/src/dpdk/drivers/net/tap/rte_eth_tap.h -+++ b/src/dpdk/drivers/net/tap/rte_eth_tap.h -@@ -11,7 +11,7 @@ - #include <inttypes.h> - #include <net/if.h> - --#include <linux_tap/if_tun.h> -+#include <linux/if_tun.h> - - #include <rte_ethdev_driver.h> - #include <rte_ether.h> -diff --git a/src/dpdk/drivers/net/tap/tap_autoconf.h b/src/dpdk/drivers/net/tap/tap_autoconf.h -index dddd4ae6..d5880608 100644 ---- a/src/dpdk/drivers/net/tap/tap_autoconf.h -+++ b/src/dpdk/drivers/net/tap/tap_autoconf.h -@@ -1,14 +1,24 @@ - #ifndef HAVE_TC_FLOWER - #define HAVE_TC_FLOWER 1 --#endif -+#endif /* HAVE_TC_FLOWER */ - -+#ifndef HAVE_TC_VLAN_ID -+#define HAVE_TC_VLAN_ID 1 -+#endif /* HAVE_TC_VLAN_ID */ - - #ifndef HAVE_TC_BPF - #define HAVE_TC_BPF 1 --#endif -+#endif /* HAVE_TC_BPF */ - --#ifndef HAVE_TC_VLAN_ID --#define HAVE_TC_VLAN_ID 1 --#endif -+#ifndef HAVE_TC_BPF_FD -+#define HAVE_TC_BPF_FD 1 -+#endif /* HAVE_TC_BPF_FD */ -+ -+#ifndef HAVE_TC_ACT_BPF -+#define HAVE_TC_ACT_BPF 1 -+#endif /* HAVE_TC_ACT_BPF */ - -+#ifndef HAVE_TC_ACT_BPF_FD -+#define HAVE_TC_ACT_BPF_FD 1 -+#endif /* HAVE_TC_ACT_BPF_FD */ - -diff --git a/src/dpdk/drivers/net/tap/tap_netlink.h b/src/dpdk/drivers/net/tap/tap_netlink.h -index 900ce375..faa73ba1 100644 ---- a/src/dpdk/drivers/net/tap/tap_netlink.h -+++ b/src/dpdk/drivers/net/tap/tap_netlink.h -@@ -8,8 +8,8 @@ - - #include <ctype.h> - #include <inttypes.h> --#include <linux_tap/rtnetlink.h> --#include <linux_tap/netlink.h> -+#include <linux/rtnetlink.h> -+#include <linux/netlink.h> - #include <stdio.h> - - #include <rte_log.h> -diff --git a/src/dpdk/drivers/net/tap/tap_tcmsgs.h b/src/dpdk/drivers/net/tap/tap_tcmsgs.h -index 782de540..8cedea84 100644 ---- a/src/dpdk/drivers/net/tap/tap_tcmsgs.h -+++ b/src/dpdk/drivers/net/tap/tap_tcmsgs.h -@@ -7,13 +7,13 @@ - #define _TAP_TCMSGS_H_ - - #include <tap_autoconf.h> --#include <linux_tap/if_ether.h> --#include <linux_tap/rtnetlink.h> --#include <linux_tap/pkt_sched.h> --#include <linux_tap/pkt_cls.h> --#include <linux_tap/tc_act/tc_mirred.h> --#include <linux_tap/tc_act/tc_gact.h> --#include <linux_tap/tc_act/tc_skbedit.h> -+#include <linux/if_ether.h> -+#include <linux/rtnetlink.h> -+#include <linux/pkt_sched.h> -+#include <linux/pkt_cls.h> -+#include <linux/tc_act/tc_mirred.h> -+#include <linux/tc_act/tc_gact.h> -+#include <linux/tc_act/tc_skbedit.h> - #ifdef HAVE_TC_ACT_BPF - #include <linux/tc_act/tc_bpf.h> - #endif -diff --git a/src/main_dpdk.cpp b/src/main_dpdk.cpp -index 0f66b07a..8c37ea15 100644 ---- a/src/main_dpdk.cpp -+++ b/src/main_dpdk.cpp -@@ -6969,6 +6969,7 @@ COLD_FUNC bool DpdkTRexPortAttr::update_link_status_nowait(){ - bool changed = false; - rte_eth_link_get_nowait(m_repid, &new_link); - -+ new_link.link_speed = ETH_SPEED_NUM_50G; - if (new_link.link_speed != m_link.link_speed || - new_link.link_duplex != m_link.link_duplex || - new_link.link_autoneg != m_link.link_autoneg || diff --git a/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml deleted file mode 100644 index 4e6715152b..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/trex/tasks/main.yaml +++ /dev/null @@ -1,87 +0,0 @@ ---- -# file: roles/trex/tasks/main.yaml - -- name: T-Rex - Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: T-Rex - Get Release Archive - get_url: - url: "{{ trex_url }}/v{{ item }}.tar.gz" - dest: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz" - validate_certs: False - mode: 0644 - loop: "{{ trex_version }}" - register: trex_downloaded - tags: - - install-trex - -- name: T-Rex - Ensure Directory Exists - file: - path: "{{ trex_target_dir }}/trex-core-{{ item }}" - state: "directory" - loop: "{{ trex_version }}" - tags: - - install-trex - -- name: T-Rex - Extract Release Archive - unarchive: - remote_src: true - src: "{{ trex_target_dir }}/trex-core-{{ item }}.tar.gz" - dest: "{{ trex_target_dir }}/" - creates: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/" - loop: "{{ trex_version }}" - register: trex_extracted - tags: - - install-trex - -- name: T-Rex - Azure patch I - patch: - src: "files/t-rex.patch" - basedir: "{{ trex_target_dir }}/trex-core-{{ item }}" - strip: 1 - loop: "{{ trex_version }}" - when: - - azure is defined and "{{ item }}" == "2.73" - tags: - - install-trex - -- name: T-Rex - Compile Release I - command: "./b configure" - args: - chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/" - loop: "{{ trex_version }}" - when: trex_extracted - tags: - - install-trex - -- name: T-Rex - Compile Release II - command: "./b build" - args: - chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/linux_dpdk/" - loop: "{{ trex_version }}" - when: trex_extracted - tags: - - install-trex - -- name: T-Rex - Compile Release III - command: "make -j 16" - args: - chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src" - loop: "{{ trex_version }}" - when: trex_extracted - tags: - - install-trex - -- name: T-Rex - Compile Release IV - command: "make install" - args: - chdir: "{{ trex_target_dir }}/trex-core-{{ item }}/scripts/ko/src" - loop: "{{ trex_version }}" - when: trex_extracted - tags: - - install-trex diff --git a/resources/tools/testbed-setup/ansible/roles/user_add/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/user_add/defaults/main.yaml deleted file mode 100644 index 56f5098f12..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/user_add/defaults/main.yaml +++ /dev/null @@ -1,11 +0,0 @@ ---- -# file: roles/user_add/defaults/main.yaml - -# Default shell for a user if none is specified. -users_shell: /bin/bash - -# Default create home dirs for new users. -users_create_homedirs: true - -# Default list of users to create. -users: [] diff --git a/resources/tools/testbed-setup/ansible/roles/user_add/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/user_add/handlers/main.yaml deleted file mode 100644 index 960f573b48..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/user_add/handlers/main.yaml +++ /dev/null @@ -1,7 +0,0 @@ ---- -# file: roles/user_add/handlers/main.yaml - -- name: Restart SSHd - service: - name: sshd - state: restarted diff --git a/resources/tools/testbed-setup/ansible/roles/user_add/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/user_add/tasks/main.yaml deleted file mode 100644 index f980aff84d..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/user_add/tasks/main.yaml +++ /dev/null @@ -1,48 +0,0 @@ ---- -# file: roles/user_add/tasks/main.yaml - -- name: Conf - Add User - user: - append: "{{ item.append | default(omit) }}" - createhome: "{{ 'yes' if users_create_homedirs else 'no' }}" - generate_ssh_key: "{{ item.generate_ssh_key | default(omit) }}" - groups: "{{ item.groups | join(',') if 'groups' in item else '' }}" - name: "{{ item.username }}" - password: "{{ item.password if item.password is defined else '!' }}" - shell: "{{ item.shell if item.shell is defined else users_shell }}" - state: present - with_items: "{{ users }}" - tags: - - user-add-conf - -- name: Conf - SSH keys - authorized_key: - user: "{{ item.0.username }}" - key: "{{ item.1 }}" - with_subelements: - - "{{ users }}" - - ssh_key - - skip_missing: yes - tags: - - user-add-conf - -- name: Conf - Allow Password Login - lineinfile: - dest: "/etc/ssh/sshd_config" - regexp: "^PasswordAuthentication no" - line: "PasswordAuthentication yes" - notify: - - "Restart SSHd" - tags: - - user-add-conf - -- name: Conf - Add Visudo Entry - lineinfile: - dest: "/etc/sudoers" - state: present - line: "{{ item.username }} ALL=(ALL) NOPASSWD: ALL" - validate: "visudo -cf %s" - with_items: "{{ users }}" - tags: - - user-add-conf - diff --git a/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml deleted file mode 100644 index 323d00cf29..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp/defaults/main.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# file: roles/vpp/defaults/main.yaml - -packages: "{{ packages_base + packages_by_distro[ansible_distribution | lower] + packages_by_arch[ansible_machine] }}" - -packages_base: - - "gdb" - - "libtool" - - "lxc" - - "pkg-config" - - "screen" - -packages_by_distro: - ubuntu: - - "build-essential" - - "libglib2.0-dev" - - "libmbedcrypto1" - - "libmbedtls10" - - "libmbedx509-0" - - "libnuma-dev" - - "libpixman-1-dev" - -packages_by_arch: - aarch64: - - [] - x86_64: - - [] diff --git a/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml deleted file mode 100644 index 174373c110..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp/tasks/main.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# file: roles/sut/tasks/main.yaml - -- name: SUT - Install Distribution - Release - Machine Prerequisites - package: - name: "{{ packages | flatten(levels=1) }}" - state: latest - update_cache: true - tags: - - install-dependencies - -- name: SUT - Install VPP 19.08 PIP requirements - pip: - name: - - "aenum==2.1.2" - executable: pip2 - tags: - - install-pip - -- name: SUT - Copy 80-vpp.conf - file: - src: "/dev/null" - dest: "/etc/sysctl.d/80-vpp.conf" - state: "link" - become: yes - tags: - - create-80-vpp diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs-default.sh b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs-default.sh deleted file mode 100644 index becc18f1a8..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs-default.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2019 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Add Intel Corporation Ethernet Controller 10G X550T to blacklist. -PCI_BLACKLIST=($(lspci -Dmmd ':1563:0200' | cut -f1 -d' ')) - -# Add Intel Corporation Ethernet Controller X710 for 10GbE SFP+ to whitelist. -PCI_WHITELIST=($(lspci -Dmmd ':1572:0200' | cut -f1 -d' ')) - -# See http://pci-ids.ucw.cz/v2.2/pci.ids for more info. diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs-tx2.sh b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs-tx2.sh deleted file mode 100644 index b900efcf7c..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs-tx2.sh +++ /dev/null @@ -1,40 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2020 PANTHEON.tech and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# Add QLogic Corp. FastLinQ QL41000 Series 10/25/40/50GbE Controller to -# blacklist. -PCI_BLACKLIST=($(lspci -Dmmd ':8070:0200' | cut -f1 -d' ')) -# Add I350 Gigabit Network Connection 1521 to blacklist. -PCI_BLACKLIST+=($(lspci -Dmmd ':1521:0200' | cut -f1 -d' ')) - -# Add Intel Corporation Ethernet Controller XL710 for 40GbE QSFP+ to whitelist. -PCI_WHITELIST=($(lspci -Dmmd ':1583:0200' | cut -f1 -d' ')) -# Add MT27800 Family [ConnectX-5] 1017 to whitelist. -PCI_WHITELIST+=($(lspci -Dmmd ':1017:0200' | cut -f1 -d' ')) - -# See http://pci-ids.ucw.cz/v2.2/pci.ids for more info. - -declare -A PF_INDICES -# Intel NICs -PF_INDICES["0000:05:00.0"]=0 -PF_INDICES["0000:05:00.1"]=1 -PF_INDICES["0000:91:00.0"]=0 -PF_INDICES["0000:91:00.1"]=1 - -# Mellanox NICs -PF_INDICES["0000:0b:00.0"]=2 -PF_INDICES["0000:0b:00.1"]=3 -PF_INDICES["0000:9a:00.0"]=2 -PF_INDICES["0000:9a:00.1"]=3 diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service deleted file mode 100644 index 996792ab9b..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=CSIT Initialize SR-IOV VFs -After=network.target - -[Service] -Type=oneshot -RemainAfterExit=True -ExecStart=/usr/local/bin/csit-initialize-vfs.sh start -ExecStop=/usr/local/bin/csit-initialize-vfs.sh stop - -[Install] -WantedBy=default.target diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh deleted file mode 100644 index 365497865e..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2019 Cisco and/or its affiliates. -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at: -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. - -# CSIT SRIOV VF initialization and isolation. - -set -euo pipefail - -SCRIPT_DIR="$(dirname $(readlink -e "${BASH_SOURCE[0]}"))" -source "${SCRIPT_DIR}/csit-initialize-vfs-data.sh" - -# Initilize whitelisted NICs with maximum number of VFs. -pci_idx=0 -for pci_addr in ${PCI_WHITELIST[@]}; do - if ! [[ ${PCI_BLACKLIST[*]} =~ "${pci_addr}" ]]; then - pci_path="/sys/bus/pci/devices/${pci_addr}" - # SR-IOV initialization - case "${1:-start}" in - "start" ) - sriov_totalvfs=$(< "${pci_path}"/sriov_totalvfs) - ;; - "stop" ) - sriov_totalvfs=0 - ;; - esac - echo ${sriov_totalvfs} > "${pci_path}"/sriov_numvfs - # SR-IOV 802.1Q isolation - case "${1:-start}" in - "start" ) - pf=$(basename "${pci_path}"/net/*) - for vf in $(seq "${sriov_totalvfs}"); do - # PCI address index in array (pairing siblings). - if [[ -n ${PF_INDICES[@]} ]] - then - vlan_pf_idx=${PF_INDICES[$pci_addr]} - else - vlan_pf_idx=$(( pci_idx % (${#PCI_WHITELIST[@]} / 2) )) - fi - # 802.1Q base offset. - vlan_bs_off=1100 - # 802.1Q PF PCI address offset. - vlan_pf_off=$(( vlan_pf_idx * 100 + vlan_bs_off )) - # 802.1Q VF PCI address offset. - vlan_vf_off=$(( vlan_pf_off + vf - 1 )) - # VLAN string. - vlan_str="vlan ${vlan_vf_off}" - # MAC string. - mac5="$(printf '%x' ${pci_idx})" - mac6="$(printf '%x' $(( vf - 1 )))" - mac_str="mac ba:dc:0f:fe:${mac5}:${mac6}" - # Set 802.1Q VLAN id and MAC address - ip link set ${pf} vf $(( vf - 1 )) ${mac_str} ${vlan_str} - ip link set ${pf} vf $(( vf - 1 )) trust on - ip link set ${pf} vf $(( vf - 1 )) spoof off - done - pci_idx=$(( pci_idx + 1 )) - ;; - esac - rmmod i40evf - modprobe i40evf - fi -done diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/handlers/main.yaml deleted file mode 100644 index ee9d368638..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/handlers/main.yaml +++ /dev/null @@ -1,21 +0,0 @@ ---- -# file: roles/vpp_device/handlers/main.yaml - -- name: Start csit-initialize-vfs.service - systemd: - enabled: yes - state: started - name: csit-initialize-vfs.service - tags: - - start-vf-service - -- name: Update GRUB - command: update-grub - tags: - - update-grub - -- name: Reboot server - reboot: - reboot_timeout: 3600 - tags: - - reboot-server diff --git a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml b/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml deleted file mode 100644 index 33b551715f..0000000000 --- a/resources/tools/testbed-setup/ansible/roles/vpp_device/tasks/main.yaml +++ /dev/null @@ -1,92 +0,0 @@ ---- -# file: roles/vpp_device/tasks/main.yaml - -- name: VPP_device - Load Kernel Modules By Default - lineinfile: - path: "/etc/modules" - state: "present" - line: "{{ item }}" - with_items: - - "vfio-pci" - tags: - - load-kernel-modules - -- name: VPP_device - Disable ipv6 router advertisement - sysctl: - name: "net.ipv6.conf.default.accept_ra" - value: "0" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: VPP_device - Disable ipv6 router advertisement - sysctl: - name: "net.ipv6.conf.all.accept_ra" - value: "0" - state: "present" - sysctl_file: "/etc/sysctl.d/90-csit.conf" - reload: "yes" - tags: - - set-sysctl - -- name: VPP_device - Copy csit-initialize-vfs.sh - copy: - src: "files/csit-initialize-vfs.sh" - dest: "/usr/local/bin/" - owner: "root" - group: "root" - mode: "744" - tags: - - copy-vf-script - -- name: VPP_device - Copy csit-initialize-vfs-data.sh - copy: - src: "files/{{ vfs_data_file }}" - dest: "/usr/local/bin/csit-initialize-vfs-data.sh" - owner: "root" - group: "root" - mode: "744" - tags: copy-vf-data-script - when: - - vfs_data_file is defined - -- name: VPP_device - Copy default csit-initialize-vfs-data.sh - copy: - src: "files/csit-initialize-vfs-default.sh" - dest: "/usr/local/bin/csit-initialize-vfs-data.sh" - owner: "root" - group: "root" - mode: "744" - tags: copy-vf-data-script - when: - - vfs_data_file is not defined - -- name: VPP_device - Start csit-initialize-vfs.service - copy: - src: "files/csit-initialize-vfs.service" - dest: "/etc/systemd/system/" - owner: "root" - group: "root" - mode: "644" - notify: - - "Start csit-initialize-vfs.service" - tags: - - start-vf-service - -- meta: flush_handlers - -- name: VPP_device - Set hugepages in GRUB - lineinfile: - path: "/etc/default/grub" - state: "present" - regexp: "^GRUB_CMDLINE_LINUX=" - line: "GRUB_CMDLINE_LINUX=\"{% for key, value in grub.items() %}{% if value %}{{key}}={{value}} {% else %}{{key}} {% endif %}{% endfor %}\"" - notify: - - "Update GRUB" - - "Reboot server" - tags: - - set-grub - -- meta: flush_handlers diff --git a/resources/tools/testbed-setup/ansible/site.yaml b/resources/tools/testbed-setup/ansible/site.yaml deleted file mode 100644 index 5ac76ca340..0000000000 --- a/resources/tools/testbed-setup/ansible/site.yaml +++ /dev/null @@ -1,17 +0,0 @@ ---- -# file: site.yaml - -- import_playbook: tg.yaml - tags: tg - -- import_playbook: sut.yaml - tags: sut - -- import_playbook: vpp_device.yaml - tags: vpp-device - -- import_playbook: nomad.yaml - tags: nomad - -- import_playbook: dev.yaml - tags: dev diff --git a/resources/tools/testbed-setup/ansible/site_aws.yaml b/resources/tools/testbed-setup/ansible/site_aws.yaml deleted file mode 100644 index 4e23a97f85..0000000000 --- a/resources/tools/testbed-setup/ansible/site_aws.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -# file: site_aws.yaml - -- import_playbook: tg_aws.yaml - tags: tg - -- import_playbook: sut_aws.yaml - tags: sut diff --git a/resources/tools/testbed-setup/ansible/site_azure.yaml b/resources/tools/testbed-setup/ansible/site_azure.yaml deleted file mode 100644 index c60e8b8f30..0000000000 --- a/resources/tools/testbed-setup/ansible/site_azure.yaml +++ /dev/null @@ -1,8 +0,0 @@ ---- -# file: site_azure.yaml - -- import_playbook: tg_azure.yaml - tags: tg - -- import_playbook: sut_azure.yaml - tags: sut diff --git a/resources/tools/testbed-setup/ansible/sut.yaml b/resources/tools/testbed-setup/ansible/sut.yaml deleted file mode 100644 index 68ac9b8364..0000000000 --- a/resources/tools/testbed-setup/ansible/sut.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# file: sut.yaml - -- hosts: sut - remote_user: testuser - become: yes - become_user: root - roles: - - role: baremetal - tags: baremetal - - role: common - tags: common - - role: kernel - tags: kernel - - role: mellanox - tags: mellanox - - role: vpp - tags: vpp - - role: dpdk - tags: dpdk - - role: docker - tags: docker - - role: kubernetes - tags: kubernetes - - role: kernel_vm - tags: kernel_vm - - role: performance_tuning - tags: performance_tuning - - role: cleanup - tags: cleanup - - role: calibration - tags: calibration diff --git a/resources/tools/testbed-setup/ansible/sut_aws.yaml b/resources/tools/testbed-setup/ansible/sut_aws.yaml deleted file mode 100644 index a7642abfef..0000000000 --- a/resources/tools/testbed-setup/ansible/sut_aws.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -# file: sut_aws.yaml - -- hosts: sut - become: yes - become_user: root - roles: - - role: user_add - tags: user_add - - role: common - tags: common - - role: vpp - tags: vpp - - role: dpdk - tags: dpdk - - role: aws - tags: aws - - role: iperf - tags: iperf - - role: docker - tags: docker - - role: cleanup - tags: cleanup -# - role: calibration -# tags: calibration diff --git a/resources/tools/testbed-setup/ansible/sut_azure.yaml b/resources/tools/testbed-setup/ansible/sut_azure.yaml deleted file mode 100644 index 835ab63d83..0000000000 --- a/resources/tools/testbed-setup/ansible/sut_azure.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -# file: sut_azure.yaml - -- hosts: sut - become: yes - become_user: root - roles: - - role: user_add - tags: user_add - - role: common - tags: common - - role: vpp - tags: vpp - - role: azure - tags: azure - - role: iperf - tags: iperf - - role: docker - tags: docker - - role: dpdk - tags: dpdk - - role: cleanup - tags: cleanup -# - role: calibration -# tags: calibration diff --git a/resources/tools/testbed-setup/ansible/templates/topology_2n_aws_c5n.j2 b/resources/tools/testbed-setup/ansible/templates/topology_2n_aws_c5n.j2 deleted file mode 100644 index 1d99a34994..0000000000 --- a/resources/tools/testbed-setup/ansible/templates/topology_2n_aws_c5n.j2 +++ /dev/null @@ -1,56 +0,0 @@ ---- -metadata: - version: 0.1 - schema: - - resources/topology_schemas/2_node_topology.sch.yaml - - resources/topology_schemas/topology.sch.yaml - tags: [hw, 2-node] - -nodes: - TG: - type: TG - subtype: TREX - host: "{{ tg_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - interfaces: - port1: - # tg_instance/p1 - 50GE port1 on ENA NIC. - mac_address: {{ tg_if1_mac }} - pci_address: "0000:00:06.0" - link: link1 - model: Amazon-Nitro-50G - port2: - # tg_instance/p2 - 50GE port2 on ENA NIC. - mac_address: {{ tg_if2_mac }} - pci_address: "0000:00:07.0" - link: link2 - model: Amazon-Nitro-50G - DUT1: - type: DUT - host: "{{ dut1_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - uio_driver: vfio-pci - honeycomb: - user: admin - passwd: admin - port: 8183 - netconf_port: 2831 - interfaces: - port1: - # dut1_instance/p1 - 50GE port1 on ENA NIC. - mac_address: {{ dut1_if1_mac }} - pci_address: "0000:00:06.0" - link: link1 - model: Amazon-Nitro-50G - port2: - # dut1_instance/p2 - 50GE port2 on ENA NIC. - mac_address: {{ dut1_if2_mac }} - pci_address: "0000:00:07.0" - link: link2 - model: Amazon-Nitro-50G diff --git a/resources/tools/testbed-setup/ansible/templates/topology_3n_aws_c5n.j2 b/resources/tools/testbed-setup/ansible/templates/topology_3n_aws_c5n.j2 deleted file mode 100644 index 631b0be63b..0000000000 --- a/resources/tools/testbed-setup/ansible/templates/topology_3n_aws_c5n.j2 +++ /dev/null @@ -1,83 +0,0 @@ ---- -metadata: - version: 0.1 - schema: - - resources/topology_schemas/3_node_topology.sch.yaml - - resources/topology_schemas/topology.sch.yaml - tags: [hw, 3-node] - -nodes: - TG: - type: TG - subtype: TREX - host: "{{ tg_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - interfaces: - port1: - # tg_instance/p1 - 50GE port1 on ENA NIC. - mac_address: {{ tg_if1_mac }} - pci_address: "0000:00:06.0" - link: link1 - model: Amazon-Nitro-50G - port2: - # tg_instance/p2 - 50GE port2 on ENA NIC. - mac_address: {{ tg_if2_mac }} - pci_address: "0000:00:07.0" - link: link2 - model: Amazon-Nitro-50G - DUT1: - type: DUT - host: "{{ dut1_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - uio_driver: vfio-pci - honeycomb: - user: admin - passwd: admin - port: 8183 - netconf_port: 2831 - interfaces: - port1: - # dut1_instance/p1 - 50GE port1 on ENA NIC. - mac_address: {{ dut1_if1_mac }} - pci_address: "0000:00:06.0" - link: link1 - model: Amazon-Nitro-50G - port2: - # dut1_instance/p2 - 50GE port2 on ENA NIC. - mac_address: {{ dut1_if2_mac }} - pci_address: "0000:00:07.0" - link: link21 - model: Amazon-Nitro-50G - DUT2: - type: DUT - host: "{{ dut2_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - uio_driver: vfio-pci - honeycomb: - user: admin - passwd: admin - port: 8183 - netconf_port: 2831 - interfaces: - port1: - # dut2_instance/p1 - 50GE port1 on ENA NIC. - mac_address: {{ dut2_if1_mac }} - pci_address: "0000:00:06.0" - link: link21 - model: Amazon-Nitro-50G - port2: - # dut2_instance/p2 - 50GE port1 on ENA NIC. - mac_address: {{ dut2_if2_mac }} - pci_address: "0000:00:07.0" - link: link2 - model: Amazon-Nitro-50G - diff --git a/resources/tools/testbed-setup/ansible/templates/topology_3n_azure_Fsv2.j2 b/resources/tools/testbed-setup/ansible/templates/topology_3n_azure_Fsv2.j2 deleted file mode 100644 index e4dd6cdbf2..0000000000 --- a/resources/tools/testbed-setup/ansible/templates/topology_3n_azure_Fsv2.j2 +++ /dev/null @@ -1,82 +0,0 @@ ---- -metadata: - version: 0.1 - schema: - - resources/topology_schemas/3_node_topology.sch.yaml - - resources/topology_schemas/topology.sch.yaml - tags: [hw, 3-node] - -nodes: - TG: - type: TG - subtype: TREX - host: "{{ tg_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - interfaces: - port1: - # tg_instance/p1 - 40GE port1 on Mellanox NIC. - mac_address: "{{ tg_if1_mac | lower | replace('-',':') }}" - pci_address: "0002:00:02.0" - link: link1 - model: Azure-MLX-40G - port2: - # tg_instance/p2 - 40GE port2 on Mellanox NIC. - mac_address: "{{ tg_if2_mac | lower | replace('-',':') }}" - pci_address: "0003:00:02.0" - link: link2 - model: Azure-MLX-40G - DUT1: - type: DUT - host: "{{ dut1_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - uio_driver: vfio-pci - honeycomb: - user: admin - passwd: admin - port: 8183 - netconf_port: 2831 - interfaces: - port1: - # dut1_instance/p1 - 40GE port1 on Mellanox NIC. - mac_address: "{{ dut1_if1_mac | lower | replace('-',':') }}" - pci_address: "0002:00:02.0" - link: link1 - model: Azure-MLX-40G - port2: - # dut2_instance/p1 - 40GE port2 on Mellanox NIC. - mac_address: "{{ dut1_if2_mac | lower | replace('-',':') }}" - pci_address: "0003:00:02.0" - link: link21 - model: Azure-MLX-40G - DUT2: - type: DUT - host: "{{ dut2_public_ip }}" - arch: x86_64 - port: 22 - username: testuser - password: Csit1234 - uio_driver: vfio-pci - honeycomb: - user: admin - passwd: admin - port: 8183 - netconf_port: 2831 - interfaces: - port1: - # dut1_instance/p1 - 40GE port1 on Mellanox NIC. - mac_address: "{{ dut2_if1_mac | lower | replace('-',':') }}" - pci_address: "0002:00:02.0" - link: link21 - model: Azure-MLX-40G - port2: - # dut2_instance/p1 - 40GE port2 on Mellanox NIC. - mac_address: "{{ dut2_if2_mac | lower | replace('-',':') }}" - pci_address: "0003:00:02.0" - link: link2 - model: Azure-MLX-40G diff --git a/resources/tools/testbed-setup/ansible/tg.yaml b/resources/tools/testbed-setup/ansible/tg.yaml deleted file mode 100644 index 00ecaefe01..0000000000 --- a/resources/tools/testbed-setup/ansible/tg.yaml +++ /dev/null @@ -1,32 +0,0 @@ ---- -# file: tg.yaml - -- hosts: tg - remote_user: testuser - become: yes - become_user: root - roles: - - role: baremetal - tags: baremetal - - role: common - tags: common - - role: tg - tags: tg - - role: kernel - tags: kernel - - role: mellanox - tags: mellanox - - role: iperf - tags: iperf - - role: trex - tags: trex - - role: docker - tags: docker - - role: performance_tuning - tags: performance_tuning - - role: cleanup - tags: cleanup - - role: calibration - tags: calibration - - role: ab - tags: ab diff --git a/resources/tools/testbed-setup/ansible/tg_aws.yaml b/resources/tools/testbed-setup/ansible/tg_aws.yaml deleted file mode 100644 index 77fde766c9..0000000000 --- a/resources/tools/testbed-setup/ansible/tg_aws.yaml +++ /dev/null @@ -1,27 +0,0 @@ ---- -# file: tg_aws.yaml - -- hosts: tg - become: yes - become_user: root - roles: - - role: user_add - tags: user_add - - role: common - tags: common - - role: dpdk - tags: dpdk - - role: aws - tags: aws - - role: tg - tags: tg - - role: iperf - tags: iperf - - role: trex - tags: trex - - role: docker - tags: docker - - role: cleanup - tags: cleanup -# - role: calibration -# tags: calibration diff --git a/resources/tools/testbed-setup/ansible/tg_azure.yaml b/resources/tools/testbed-setup/ansible/tg_azure.yaml deleted file mode 100644 index 7ecf6d074c..0000000000 --- a/resources/tools/testbed-setup/ansible/tg_azure.yaml +++ /dev/null @@ -1,25 +0,0 @@ ---- -# file: tg_azure.yaml - -- hosts: tg - become: yes - become_user: root - roles: - - role: user_add - tags: user_add - - role: common - tags: common - - role: azure - tags: azure - - role: tg - tags: tg - - role: iperf - tags: iperf - - role: trex - tags: trex - - role: docker - tags: docker - - role: cleanup - tags: cleanup -# - role: calibration -# tags: calibration diff --git a/resources/tools/testbed-setup/ansible/vault.yml b/resources/tools/testbed-setup/ansible/vault.yml deleted file mode 100644 index 0d583e42d7..0000000000 --- a/resources/tools/testbed-setup/ansible/vault.yml +++ /dev/null @@ -1,585 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -35366235646131333339643161653631353030396430376631623938643038656362323461393163 -3739343632323734376236396538616434653436303165390a626664636637373439333238373964 -65383037626638343730646337643336636266306538323830363730623438336463353536636132 -6330396333616237330a653461353862323863646266643063646663316661303265383131383630 -39633133346639376331363332623037303131383634343635393463303839313638393566623763 -61376463333837313230633333363066326232326436653038616238653365356133363162623530 -38396463663265376564343935393163366136373665303862316165373532303534303563646333 -63623066386436386364636661393532313061303066643866313761636561303837623065623534 -63636639373764363937653161326662646633643532646536336532376666383934666666396261 -65656233326264653137353661656261353236386531643939633030356236336330343262303565 -61636462393830623730656263636661623936363232616135323534613836303336663336663964 -64323139633266616333346335643334653333626538623030626433333132326532373736366361 -32343266373530666234343361613632656530323364383066653562313363376132326632343031 -66613561333433663062343165343764633939343635343638343834346131313062396665626337 -34623966663832393964396335363137353639613262356663323430616464323435373936396339 -38616233303432643131363466373231363036626432303136613032303962663465656638396335 -61336630346232313733323539643038316161333030626236386230643032646565613030323832 -61393463363739646637623365343063303366373630623133386239636337663537353938666363 -63643765633739393530396266333533306637393265393339336137363035363331663930636532 -37313932343034346539313931633231633861343235656366613566373539363436323335633562 -30366536323838623130306434643439333731663331366137323330366435656533386633633234 -61646331373562366538653863316363633966373832366162633262636130666234386630376538 -35616662323862613938383566373536616134653664653763366161363563396262386264326639 -36303264386239333030616531323965636664336265646432653934643661663663303735326566 -64653638646133666662306234643336643038393766346261653035633630396135373438343265 -39643266373338326564326137376232633063316131383839666662666165303634333262336137 -36363561666230323931343236656261383930326433376562633233626363313662633733626261 -33333038356331386462343164303037346233323065313861623865613030613963663962303064 -62646438346566656334663537663933306238623839353665633835626466396661643338333461 -37356530636463636139663436643961353964313731333334323730663361373530633464323335 -37323465336430393337633532663632353365613264396636623233303935386535643361313162 -61336333626538636466373032636331326435613135373438343838343734663863373766366533 -31663434353764333636363161613732663761373235393334306331333361313763313730306564 -31303135613234373366396466626137396533666365393330636136303361633066333137623336 -38353939643763643163313732613730656635306435633664396536636665316635666166643065 -64626366663539616131303461373139653531666462393862383636656631626666356661396163 -63366232376363326639643936656432313464626539646330383433396161616231316430656365 -30343830333038356134353730383963313934343333316261336263333730656461613763653366 -39363137663264363534336365323666336663323334643163616362303038663637396636373263 -39383165323330323436393439316138393064353931366232643963356134643365346264313831 -66383831653032346538313961353532303435663966646665336232633064353762333133616234 -37393031656462336337353630333135306639393361333566393832303864646664313733353339 -30643966633363653333346465316665663233373165346534623763333931623630613533366238 -64396363613538313362393837316334363731623333313736653465333366623362343838396439 -37333663656563333562613337653363653439376666353338656638613463333336323936393830 -65626237306537666639636533326631633732616164383533383139373534333363623933386366 -64663464643663636433356237656266323534643536613332653834333738373335343431646162 -35616365323366653935666165373565643462326363343931663963363938653063373030306565 -66303665343964393365373361356466326333653534383062613135643632303763326633613763 -64336433356635333133653031316332383830376437376232623762343230356461623566656366 -35616366303036353735663439306461376537653734626130373537616435383132366135396430 -36663234613830633830343762333062666466373564386435613565333630653639343262656534 -36613464353331323731656361373963663832653739343635333637646633313434306130353537 -63333634323039663161373134336165393162633465333137316132646134383439623639323963 -34663033353134313966663265346462366538333966383864663934383565636136363861303235 -31336634646461363939653337616662356437373131333461613730386662393138653239633461 -38333763653065633965313839343662613836393830323538326439393061653534316361636134 -39613735653437613537306364313165636633663963323331383463616263303739336330613265 -39313538386231663731356263343335653461643766663764623036626266383164646165333237 -34303162393639666365326362393532313036636235366165616538623362373638623131393066 -62633931623865343362383464346637323735393363373530323131333730313965363236326364 -63656433663234663066646664363761313734343635613264316266653939303930646135356137 -63626538613239393237643366623732646638643535643161353861653432346535383134633764 -32636562623737313937633338343065333566656638623062636635383966386431353062623632 -36623634643362356435623030373632333736303232626166653833323131383732636631626338 -36373434326433303735316530656166303365343031303563373465623637353165323461646332 -31663832326332313734373333336634323237336437363330356533343361356536343365633762 -66396165343430613765323864663235343437383536613131313664386266613035366337616465 -64666463666564363035613737663933303263373365323464383661616264633662323465613166 -39636132626463303861343764656133353665396534303437613737306665616663323138613037 -38376166623130306632343633363032346364633061363233643863663736343336343539363730 -61646363663839393435383765373632303937396337313637643964663235393165623139623833 -65333165373736323361353339396433656262316137656264366365633762323533313466623866 -36316339333239633566386466636361376533303130663064386166306332333363376531376462 -32656334666432343433653936343466366161653839653962376637396532656331376164613362 -37653361396630653566336231373031336661386364626239376465326461306137656465373666 -39616365386533363464613936613263656431336131626662333563316533633538373339333561 -32346163386665633766656161616634373934333063656163336533386465363937636431653564 -62303064383161313037386130346630666134393834353763306432333934356430613232373835 -38396138626336666438396461356161333132363332343234333036323636373764366238643264 -39343964323736303038613164336564343431663339336533646337373662316264343337363536 -61623365396637623866623465373339316664643263393038333437313862656631653432393462 -37383234363837343931306464326634666433376434323532333136666534333836643338656437 -36383130363033363837366437323565376238626632643038366237656364636431376331623462 -61633039353761346638666466393966643031623061373839373538613832326561303835386239 -65626461343031633237336439623963623034353264633539633231363230636564333634643137 -32373537643035313664333464323039346163376134376433616262643965613537373637323935 -66353031343662626438623930373262356465316630383461656339646638656664383030643532 -66303263356234316334623635383338353031326164633035303162636131336235333831663630 -35613933643538363330633563663338316434326261363734333633303963386564643265343066 -61386266643338303065383130633065303037376362363030376337326238303339653861656233 -33346430353164626463653230613033373631666365396137623065323937616437383235373333 -66653037616134303765653139373465363465346130366536613831613431306131353938306263 -34316661663263353566663861383239396538616439633434323139323136623837663065383834 -61636137393662613035656264386466303331343833353332346430623361366163393636613163 -32366139646263323063323134303365333234363833326339343030656431616462336466313634 -35633264363939353133636164626634366430626131643035303761613630653132323930393139 -33333164333166353736373439626633363361623439323438653936313934663839386639303630 -66653431393331306361373033643535353137626235633861376232316332316430386365346163 -32303830353433323834333037616530343832643136646239373738376235643762366266626362 -30303035643237316430373261313832366366353536363032646330613965363736386130613162 -64386666356339386536313562333762616163653534373431396636373732663331613463306631 -66346439646630333637623531633062626531346533393065636638343337313838313836376131 -37653230313934393236393736653837393465666132633330646432393163353733353536383065 -36396331353933613835316132303032656632633737636464386233376139373263643664613636 -63303433346433333238306333333839306361306236333565393630373866373963326139393762 -63343933383835616333376337366331353534613361306230633564343538333131303366323662 -66313866653463376434623339346466643435313666616666373236633336396434316438613135 -36306335383739663431653235333062616633653635383234393363633937346632636162646233 -33653137336662653762303234303137336130336630663762353938303536383566613639366162 -39653232303135376632316139623664383032643133386534343738373365646165666231646563 -34326132386463626536313238623630646637333362326232633163626237326161643730623165 -37313437633932316137376435363064643834363133326436376139353663313562653935333061 -31336461396530316665353662613939313566326661613432383662656130633866393236303431 -30613866303933646236623834623936333466326437333338653837386435393162663764653732 -37653835366137333464383630313039646335643631393332316536656631613762653932646234 -61653832623737663534653164313764306433643063663564636665343266366439613934613037 -34613032356634646233653437646338373965356561343266653562653533633039326561353862 -62383739366335316536663735393430623738366130353135353038323737636432363935353231 -61623563646637616332626638643761646364366361353363666133333466343535666530643235 -31636237316630316634653432363461616661613935613163313331376463653261313535653730 -64336533633065306231613165396332343664626632653636346533366138343832393435333632 -35323962393163333333633734613364656562393039376131346333623731346636373761623134 -35623565353332383237383264396638306434623261313166363131363834623466663062303834 -64663961333338396438333566373562666534616464623630656133373836393433643165363934 -66653966316439646334616665653362633338313632666534643135393331353238316633613630 -39383961356266363230343634366631623032386237363637653030643738393361633839353163 -62366538653031393136313034333466613930363137663732666534353863643034653531343332 -64616661393030356531626137643538353939626461623633626435656331363963356466356631 -30333335643835343130363762626336646630373238303438326531343539643932326665653862 -34326436623732643735666463623561366333646665323666333663396234346136306635643464 -63343239336433626537353633366362646631323864363236336232303331333462303530363839 -30623038653835666131376639366165653965323435343338663662336237343130666136663066 -31363166373834373132386161306161393766663466383064313633383936653164663937643736 -30663233373139396438363336613361623133373830346333326135303635376362656139633464 -32383239353931663132393537663037616338353533663138373036353638333732356431616432 -35626530303361626432663732333539346461633963333730663038616563356266323061613431 -64383330363866326632316339333034626664356239626537373835633830333562636334336461 -37323830346136346633616433663961643137336439623763633936363430323034616538663134 -31623233346664643439356337326333363230326366636538313535666466306338643166353964 -33626336663035386564663965393065643562373664643661366638626265636236363961613965 -32636366333063613064313433333737373564346636333939393635656134643237623038343932 -65353134333234376634333637333438333737383738383461653436613266636161336231333365 -63653538663566383338656632653261653361633233636666643335616462386339383030366165 -36366338646332326439613834376562643966666434376238396663636630303835303031333438 -61623863643439646365303937356133666461356464323236346436353239633866393032626534 -62303561336536643265313636663639383164366233303966613364356262636266376131323662 -34336234666632363338393866326332306164313032623131623834666137663138353235316137 -38363363646136313335353834656430326531363864353430366433656261393936393364363966 -62666166373266633163636636353632663464616333393630626531306663323134646166656430 -31393436306336653237633538363461373139363131363633626263376161643933373439343333 -35343562616364326162623038616339323266313762326331623036383337326164353261383532 -66643166376330313634393065666638623831393161653561633135626462303566653836303434 -66376235313766616465393866653961393430646634613563303362353632373032656532613333 -34616439363237366332386161326331663237393439336433386466376462393139656634323230 -63323366633136633439636363396234393966333731393661323737616466316535316334613964 -33366433313865666335353663373363646232326333643833383664656333396634316630393539 -38623132613338396566656632623934343965323231363732373563643936636239303634306136 -35323230353837633765323532306239346539613833353936626561653261626462653436666533 -31313065613137613437303564643961646630653038303465316233373831623532613236633763 -38623131316431316563366532326532626538343635623762653536663733363462303162636130 -37363331623764656430633237333661663061343663366364373833313065333137393230363134 -65376234313231333964343365626361346561653233313665633062313837356363636235303762 -64636532383834613064663363323561306339353038323839356133613539666235376635393234 -36383436643533383438373762656338613835343864383431326466666536333137623636633938 -33326565356566396463643238626465376339616262346365646533656630306137663362636234 -33333238666131386531393939363662326138306563613139313964343665373636346461336434 -33393535393336626437613836366664356637623937646337363935666632336131336237316631 -62623365343337663336626631656466303762323162653735313965343936373631373963383538 -34623836383731386164386162303635386630623366316238663034643035623234303238353163 -36393664303431303034353065383163396666333036303437373364393432376330616330306538 -33626530373266613862353538653566316464666337323939393463303463663234653466623036 -31313561366633636532356366376639393138383931323439316139313236326630346565613965 -37633134646661626139666566613261346334656563633735366365313939356164333332356164 -61646637653561613630356438613462643762633732313132323331343931346164633430373335 -31616339353739643636613061383630313532306636356534326138383331326233333631663735 -38303636663439626139346532363536376362316363373963383765316663396134373266613664 -66303737323763653765353630616166656130383739383034663438346663373934613331313832 -37373535376665616237313765363866356439383465656537383761663465653266353264316231 -33623564383138356264396134386264366430363539396431666633613733303031336134313734 -63393633326534636631306535383236313135363962303665646536376364316464626139386462 -32643831323238363966646531613636616339316331666434383838396565626136376364363133 -39393661336539656364653361386366326164663330633130303635363664363038643831643339 -63316131373935343530333961363165393936653735346662363531666533343963383839656631 -31313463353731306563313562623364623363346266396234326264663630653361313666303337 -32366463313466646439613562333066383834666336383763396531633139393132616130336631 -61386532653738653631656435346235303962626162393164633935613532333830363866633563 -37396639393535343934663536346266353233316261366633626437636130626234363163383137 -32323832306266376464303931653731653965303962303533303736346263333732316337306333 -32303132353061396333313433656632373239356532396435333338653261653166316266613538 -31626334333138356338623038346333333564333732646664626232623134376132366634363032 -35363737303339303862336536653463633234656138643865663262386462363636363530376532 -38373363363331353437656666396139343732613730626661633736303264376639663964633036 -37366630343266323037363035353763633161376634636333303565636564646163646430633939 -39353563343464613964313630353434616336373531396438333831623432316430346132333139 -35643932343938663464316365616338343933363362393637376263313366303465626338653234 -34336465376338313039333733356264643761653535363165616261333262613132303534353736 -61313130363634356239653162613566366632373931363537376137393834396331383636343061 -62666136326465643330323631343732386434656362386630366462643433393334616636393538 -38363939336336643465323732316365616662336532356230323932663733343937353631633736 -33616534653235333639656264643266303130386330643332623739653531636332383339623065 -33623064643939383632346163323734343366663139326665336462303162653662336535653264 -36613865306635613530333966663462303736366432386634323136643631616132343233633834 -32656436376165356665386663333161303232326239643666313637373531626163636631386134 -61313134643735613336343736396532663561383561613566346432323332316232393139623434 -64393730616466323336303637353236393363326530623230663764653364373564323338303766 -30376130613766643530633266316238306433366239306164323266363430303834666564323463 -34626364633938396534633737396530613430366166383138303237616531666361363835313230 -33306138323534346265626665313962343766333138366338376637313034363061643133623431 -35626166363439363735653038616362393464656563343034333266363030643432386337633136 -62393934383835643534343932333962323062376561376630343762616461363134386365623331 -30393462313636653161656261303638373163373761636534323536346534383863383063383963 -61633333323565313366623832343764613930346134323263326163363531373631316136633838 -39373633333039313265653065343733383938663262363735333730623531633838643937363135 -62626234373066383831396637326134396562343933353666663531623762653333336231303265 -36643165343839623339643663366666613866346162363835336334386139383632396134366366 -64663566336532653438316133356466343061633239656666306366313232313936306433623461 -65623131376164353635353738623536656335393531326161333937613362353232373135306430 -31623435343330396639393834643535616632353634653236313030653539333035313266303466 -65303761376534343165313137396264326662313433396436633035366564373632373866653263 -66386134316336396135373030343031343135346133313735613939653865366533663666633531 -61623763396530386662393636376462366164666637303334653738383463646563623937633463 -30663363316563623434656665656334663832316238326233633461333161323630346138313065 -35376439383939326365363434373438353136303131323364356162393236653164613661663536 -61326164633661383762323962393164396331356634396639393736393166373432363336626630 -31346433353862313265643135373437636537643337383435343231373532363465373964333331 -33393135646465323763346130623737616631313131643666636465636430393664373363636162 -37653965313839303063656661666532326630393132356635626666376638376331326161393835 -33383731656537336438643463313337316334663834393266643065633335613565346239626337 -31663635666438656431613565363063353964376565623336316162653131633631653739343836 -39336531626434613130353564643061343333333861346131316463333531373234303736326532 -62353735393631393434343763373062343536636665663133333336326131373531306237616466 -63393361643865383965353663623863306131393464636533396263316135323433373362356532 -61333365313538313333343862336236313035306133313565663434326662666163386461656636 -63623936626464646135393430373236313865313761346539393931663262386433633431336334 -38623961613764633134323930303639626237323962376331303662613832333738303831643163 -61333534323663363032373738333135643338303761313966616333353232656535636138396665 -30323335333565303561373939306238306439373538303463343534616164353566393336623935 -32666463653739313165353439613930313566376532323563313835626237316332393134656638 -37623864326638306334386534623035633937356439306634653237393839333065623866653365 -35653964623636626665376237323338353961363535373363323239356237393835656538363436 -62366438653536633562353863613434363830636339323630333938353234613461396638306231 -31326133373235353563353863396266623432353536313831633261333265373935303531653632 -35316432666237656563626138376365383036633736336339356665653864636133336432343737 -37666130396439643834653838353264616162383837363039633433353732393534333163336562 -38353062346430633632356330633035613038313262353761613562623963303236663365363164 -64623637343838643565383938653536656235666162613439663061323134353539383337643239 -66396131343530366131373432656138396132336133666438343633373939343563356136633636 -64306266363531373535313962316635653261366634383735343438353337653232666466633237 -31643935646434356335303833343835646161373138316133633938643564616634396332363535 -30326231316264666264333436623366643337653833393735303166643730663833343366653634 -36343430313239353738316330303065626135356437643463663736363732663634383235623265 -33633865346561623738303066363438343934333337343538326162303264646238626331386165 -38366330393466646632326262343137383662623936653365636334363634323330643536353930 -38646363633666376566623562356161376236396336346566303463643965323935623363383034 -38323335343737303637303233633431613764363538666665313933623231383463636136356439 -63643361366536323637316461383365376232323634326135353936373962353732656334626163 -64346361666666336436636263336133313266353466346535306234353261633332353731646337 -37623063666339383662613663396630643330393234336664306330363033346363303230633635 -38643862616135623165616530313539373131616230626661306139356134303731653934313166 -32326366393066613062316663666537326238626139376166616363616236613564626534393633 -63303264326331393637323936623734353064393437353130626531356464363262666663623138 -66363736646364343938343666303338653930376266333832396438383236313130613765636530 -34663234303339386532633562623838393635373965366263653464353835313436666638323439 -63363630366661303163393830663134643563346633396266653239623337353836336436323462 -30363130386435323264666335313937653230643336613665623963646236356130613539373738 -30336234356564383662326636333034326334393061346133656161383364336365643262663565 -32333561323135663364643836646135356637333639376463336232643936396330383764326535 -39646233643832343561383339306437336566613838333235643935323635383865646236393962 -38616633376263303534363838663435346131306635363962633539313334333561333765613035 -33373536393533666237333237303636643261313762343031646465653361636461623030653034 -35346662343366353664393437393536323263386534323562323361373037653063386661643137 -37376335373730356131663263653265376262373233363635326636653931333332643761356363 -38393731663338396435626137323031316335326332663265653566636664333933656134663836 -31623661616331613135653932646666306165653061643061363237613263323232393837326334 -38646338616166326435323631323733343861373533656635666535666635343137316238303334 -33373439653231666562343135623862393066316331616563643566663061313162323364613562 -33393337653637306264343833653462356237623137303034303438613265313139663433303837 -34666261616532393430623261316537393633623430626130363938376561373933653333373461 -34656138353231396261346234323834323833323866376138396131636532616534623161336362 -30363866396465646266666366333866613431346335663333393434363662643662383566363239 -61313738393539366630666265626531393537383032663339353266303632656438383565656336 -64616366636537326461393632623562653430353362626466376233343263616333306531666163 -37343134336633393638653465613130326431643563313538666131346265313035313036343031 -65666634356363636566613265316164623862303038373536646136643065643432366665626438 -66373434316165636362306261313430376635363134373430333665386635383439363763383762 -34663261323761666637373665306337323639386634393439386131313565326535393234373339 -65636633663362353436306234303938633131373633343264323338626362663331633935643061 -39653661306465346661313164353335326336306534383631343761376438306332613065313538 -36343934353230313564613938383731663261623661643764636231316339373330633533323166 -38646262363863306566323162306536633362313131356132636639303032343464313764343335 -64323363336638383630613331393365353766616630303163636531623639663331393034373664 -39303336333031643332363430383937363432306561396661306232373262343533666435646264 -63613561346465346266356462396565626666353436346363643266656166313862393766373538 -33303964623130666638373937386238396235303332616266336163623538666438313638363136 -31396436636233663961363935313063613463363564323833303235363436323236396561316266 -37646563336464356231633633623564643339613135616561376665393865316664323636633633 -38306434393162616363656337363533373961626231323564366264383138613965383936616665 -31303939333166393331663362356631646234643732383633643061613161383830666432646337 -31363862396465333363663238383165643431356362396561303832376132343838656436663364 -37393731373732616431363839656361623037326436643539306136646261636435363433326538 -33376161306135353032623865383965666535653832373065643638633338393130353361333635 -65323730353962326161353864383763316466666332613736363935633239393164646432643763 -61653134356236363532383061323134643730333263316430613530616433336138353334303336 -30376233313832666461336439643538303132623337636437653036613763323533616230356631 -33313862363630353939303638646431656639393134656464666439323632323937326165366435 -39346561656335353534306434633639366336356635373830316266306164663235383164313835 -66343831303932353962396364616462353030303536396538396639393931363030363065636531 -61306533396264313338303439356164386638653836646633373939653734626266303838326239 -63346539643832373663643464313064623938326132633464623363653138636361653831326339 -39656234303433393939313831663832653564633564633332393265653561383936386133323461 -63363235653835316537396135666136633132373838636438313062353030613164636466363734 -64663530616634633938346534306435663931333061313831313565653137623830663435366532 -31303361626362646431636633313733363661623135306331313138323939636138613733323039 -66613938303963393666323164313632396635643364363639623339353233373536326431303931 -34333035333838336564373833636238623633316631306466366666643265643364626363333662 -31666463633134373534613961656565646465323164343330323438343936636463323561646435 -36316364363662393864373334383039643762366133363562323534643733333263333232393431 -33663732363539313235303364323936663733316234613334363263363434333135623862333737 -33383065343533383335303063303966326431333464303837363464323532623331316339393734 -32656536373332636534636235623039373162613131303333663164373366373735646531393434 -34623765376639343336653530356134633463313535303232653130326631376430323932636266 -66373635353062333736316561613762386138643364363465323130333266316562323732363330 -39356136613937333938656565613765303430613039313835623130333232366465323261626132 -61333138366630623262326337373666326664356535333133373931613730366665396235346538 -30313564376132653339373663333533373838633835666330353335643636316634653438393663 -64653864333938313237646465636233373266316563393861633036646562303030326139613731 -64366439343633333364343362343932343039626563326633303630316633383164623634333338 -36313637393430363937656536663562343562336231636366663135626261306236363834626162 -33356432366365613161636364383237363338393637646430373662356436363739356666343236 -39346235636538353536333364343930616637386231373762353661363830316239623833663734 -36613666393837663033646432363632356534383435333665643666626334346334306236373061 -32396630343933303361623530353361346538346639306465616533623039363634396161376430 -33616633613437353763343433633366633331343839333433666532646630383564613861363435 -62393738393532666633333565353834616463313632343161393239633631636264376334353239 -62366639313132636265613434633339653537343635623037383034393037363931326139376263 -30346665323335613363346262633833393265396462326439356631323936303339633664363564 -38393530386530666630663238366437333463623062336162313833616438383831353366353534 -35393364616438643566393731646261383335636436346438633630306266646464313464393138 -32613137653139376139323263396336353261663636363235353762333536343436306133373864 -66346231636537313763303435343032306535616139356362333536636339303965363663373137 -38303832643264336536396232336562366261643864643462343662336164336439623431313763 -62663039643636366361656239306563306562386637623666373838363365653137323965616434 -33363934333161313036396132386130663866316635623931393366653834613535373835636330 -62636464666561373337316536653539306564363435323038366135626231623634353133663663 -66373562386265306166663539323962393231393830663234663634656635316135396134623461 -33616136353666393938633363313562306261366465626666643936666331393161633631313964 -38363165363465356634303630373435626364306361653638643038363066663935363365326662 -64633661376338306463626130663165636463393035663362636531316665646234653430386435 -35353535343136376635353465363665666363353361333032663462316133633262633264613666 -36323231613532613864626237363033623862326163646462383666386230386464313737636331 -32386564393636613639663165663261323261376364363230323934373463336133376431393039 -31383532616531383637306433303131363431626566343066386538643339313030653839383532 -62643163626637623839373134373566666135633361663932643536663130623363623737303137 -33623532313430663634386264343336363534616536613832313263663037626132343530653732 -66623132636437303266313539653238346238633834363232323937623538653934373830663564 -35323732353734656433353433663164343662623936616637363262653431383938666639636433 -38626366643131393164346261666166643563383839653465396161656333353032353634633963 -30636434386661333639316131643861656264356663353063623163643462373630343535373535 -65623238633863373136386131663861316663376665653466626434636466303930666438383232 -38303234346331363163383637393763643534623932373931326632663661376333636365663662 -34663030623362383163613839343634663762313466383533306239336464626563353731353234 -31633934636335303962343461633565326139613139346463643865613766616435313866323335 -37613530306332633661623231666437383433366333336165633633326165393463313764356365 -61343137326562333039316338353033336331663636366339366236356434393865353838323934 -31666562373238666635656632383738386164393661383133636331333130623734326132626236 -35613731643466366464316531346663323662643961316438666563393036666332366230353466 -32643739643136313139383662353066326335613930386632306337353534613564613836343061 -35613862313730333637386262623530383465323138363032626639666639623932643934363532 -32356661656634316534383863313739613862363737356333386265653730346631313538356461 -66343337313736383733383964393066666539383031353531336234653131613763666138633961 -33383139646639373836336137626662346336383536396237393366303630626337323965373039 -35343466373931626330303031623333316462396534383364663461653136383162346366626265 -31653432393063383734393835643335393263393234393462623561663461363732626331633463 -38303536313738393430633839373765376261643266633865336662303339396163636532636137 -35376236396361376262303834326331336439353865323834366166616334663266306635376563 -37323236643732333434613436656633666462333631616330356234653236383362636461373437 -33393963656433316161333939663933636231353138663464306463323135333834326534393839 -38633332386237373765616534633239303461633833666464623465363835343130343164633938 -61343263333033633166343764316132303834333064373437313762306263363438323061613738 -31646463306136396436306238393831396362396131353264366162326432313633306362373164 -38306464663066386539316436666564356562363238616332306562323965366364633834316333 -65303264643937643432303638313931623631396536663161313332656563653465306365623731 -39306263333265633639343931366231306565316135363162323464336532653631363739663664 -39373261383337613631353436373838396637663635336661306630633530363337336336623037 -30323664303430313832336261396639323866303539616539336530663732333864656235626133 -64636261373036626664306365373663323134343665306233303835313766326366363631316535 -35616235353663646364613165356534396535333063396537643338333063623834623663626639 -38366633396531323931623366666463633531306435396233613033323065613235316235646166 -31366638623039366466363863386665613061663533613138373364363931663764653561363833 -30656234653633663835646136333733333562643263386563663634663862313939383139356163 -36646165393931336230393566656237303363353566356137373436313336316532656332656364 -30386339363066386564343737373834316235313961343962353634393766633031636264363732 -65623833363465636466313564373164353231306139663262326331663030373735643130333235 -65333337653233326166353863346236633062636134303562393939623462316631623536646436 -61373862336334373239616631656434643737346561353463376335663232326134303066656364 -61353666333164613466366466393966323666386234373430363266623134333034353933313633 -63313866393633336661303334653237396632343836623538306665636235316565363739396138 -63653265353765626563306266656263336432383465383232343039303234623331623962356463 -65623336333831323936333262623938636562616634373738373837306264323362396564376333 -32353535396266373939343863636131633134326135333132323066383965313134663031326638 -36356135663363333932376330363465323134636532373061346536353335313662336231633235 -30346261633132343733363631633065333839316238386539356565376335343531623033303961 -32333665633465373637393436666331353166666438366262623339663139333064343233353964 -61313433323532666537333237306237383539316631326364333635663033313061323561343362 -31383436366165613266376335313364373538613631306335646637393030366239623938316164 -61633938653837383837376634633532323130653963633366363035343532356537323230393331 -37396232396363626639353735643735346230633733633162333164663634613665303938383237 -62623432306237343833316636353137646236333131306563653639353633353830663434313035 -63646131363334643461373565333837346533643665626264373935633830663034333061383835 -31383736393234383534326237373538333738623265386333623936343034616139306534303531 -35346135373863653064343331613966333732366361643030636231306462633764333330623135 -37636634356337303463313062393061363836306638663063643465376262393930663034343339 -63383239616537323938386636663536653038323662313831626132343436313331653032613734 -62643364393366356137636261366238343566613139343639393038306530346133386266313833 -61353137636538663939663666666437336437333466663333653633626463666632356361313861 -32306439633934386331666139663062396531316530323332656663383434643131626138346662 -65303133323733653264623838636231633666633236646333303437613361373136613435643930 -32626135386466316537666536303234613364393965383539653561356335653462633162326134 -63613064363834373162346135613464356538613634323937383236336365363165336466393362 -33636466336464623262376166626438353361656465333335306264623961313231613562356264 -30356536306365373061306265653364323934656662313563333035663865376334313333653238 -65353634343565336535663332333632663036353633613331366337333665333434656235653261 -30396330356466386334343931363763313364646135306162633131333230313238646264613865 -65386666333035343336653461376335333033383935633037663462363837323964626361623031 -32326564643533303330336338316235363964316237313631393736333539376635386533333266 -39316637663536333162303332346438643864303232306132643234633931376336353937353032 -31323064383761643561343637646137346561623831383733626232303262383931323137303364 -34656462393337376438326666303837376330373065653261383433393464383030333537313136 -65323765346238363863623239396163656564653062333861633836656363306263303763663938 -36396661643239613834363233323530646338656136306461316633373164646261623332343437 -38663632323234393237306363393131303833663935376334336435633538376461386233353362 -37633536366161306130623863626465316530663964323734323464626335303331633937313537 -39343463636135666563353463323038383762333636376339363537353636316136373138633961 -61336666653964323033643239363761346530356461646263333739323831323364373835376230 -66336561643834313334633761613138376335373236626435366266373363353030663863616333 -61366132336637646161366438313764356131333733363031653238313666663431376437653333 -63333635363534376433356166306232323261316133633861336631643566303465346366393062 -66633734656261356363613238633134623163643864623633663230376336346262663961383931 -37666230306263393439623133656339633532633763363131626361626166653930306235336334 -31333135326631373462343032393765363336303035663638396132613732363934303731313731 -65346136633439656236616463633930633931373064623836353861336330393737333465393033 -62313437616564343365303134346466663032316635646433366435316264613632343765663234 -66613064613131393861373632353235613364306632373838643234313961633664383232613931 -37653561313465346335663362393634613531353933613365666166646236353462373062356263 -35306338363962303764303834656631613363653564613037626262666165636661376539386134 -30366433663761396562383931623839316461386466333139633031343765316539353138323865 -32356662323136656362323231643632333336346339393137316236623235363737333435326664 -33626466346230353261653937373663393135666638346264646334356366656164313763383532 -34363139306165316632613861363962613135666264363138303336326135393561316165323338 -36393766643161303730333431643466663330636661633237306662643534656338653465346664 -36333632633936366532363264343330373964326231313131376462623961393837346432623034 -36353863623534666661363964343761396231613161353633646431653530353832663334316566 -62303639393166663833653465613566623263633562656330613838376436376632373339386461 -37303639646661616534386537666330346661346461373631336335333664383965643762366338 -38636139373939663738643336353866633433323031306139376635373238303232343362386438 -66663136383161346635626261333862333637373763386462336131306165303766316438316532 -36643363373866313237376631386561633436366332313162306338366430643839666636663265 -64393262643530336230353836346131633239366236623666343162383731616663633237306336 -34343430623931393535333939653765656266323464323266646361633036656633343638623530 -61616136656162616265613331393830336638316237316264383034363462666161373465396565 -33353363626232643264643333316135386234303536386530336235393462363564633062656632 -62663166383931366531333934613964353430316232613966316134333263636333656364363062 -36633030383836663133386630306337313236303033373366633432373739643635633538646265 -61633761353064626637323662326162663662333936323330666536333936613631666562363935 -34666330313630396632666539613938373361376634313533396439396132363036656564316361 -63633863656232393730613162376237363435343837386336313462643934633833653137323461 -63346431313134623061323661373931386335393764383866383531303934633234363961633261 -65656535623935633466376335363966643830343365346632353538333837333030313338653464 -33663439666165366366643236323766356365336534336563376462663930646530623238323336 -31613934626334333266663965336164333035326639346136386538303631646230623862303466 -30633933653937326566653533366334613162653234653862643038326237306564366339376636 -31393634383230333938376662373630656330326332333838333062343330303135363734663338 -63363933323039333538623666383236386634643930646331626631393038613333616535303462 -61303236626531393764333734363038393332386532393033656161636563393039323163373737 -32313261663130373866633733313034373963313831353766343834383563303238336565303037 -33626134326330373063646334346537383430393135323466376164363737306161373331616336 -62646566626630623339333762613435626435643338626239303337336234333632623639313330 -32333135626464666133383733393336613066383235303337346431343462393230623062313132 -36653937373135643036653335303965323930316636373632623737363161643533373837623535 -37653931333238636236663935643938373032656264323136656263303364356537636135303466 -38333330366261663038346366366665383961666164363435643632663434313838626634646239 -33363965386565653266383939353330383438616562643331626334353530616231323566663139 -66323665386232323063306666303737646461383736396162363230636434346361383564363435 -39333538343736343262336238333435663665626235663664616438393139353463393632616362 -30373465316464643131316330623465666334383130386462633537663330626163353065396464 -39376265376634376263313462333266643961643761373565663337363732343832633234613833 -61636162643938333539306439613361376535616636643764653533393635366561646238326539 -63333564646461653534393465313135396239343861356435396436373032353036326461666134 -31646638643937633864346361313837323034343163373765336132663162323537303732323838 -31633630616437343237393031346665386561353834373566343164663930666364666339636233 -65313062353162383165343261346231386233633261323535633163333836353665316230323965 -63366361356462376166373236303635663765393664643030626464353834633536613735366463 -64653738613563393562636663396637396666343764613765366436316630303932663132636634 -32623566393361336431353233643563383564316433353432313633336562393635373530366462 -38623534386238386534343336363966363436343234326463656466386230643761633538316538 -66666237663763613933333563653563386237656335393232376235613139396366616237376332 -35383734363063376632636465386366343530646161663362356331373439366134633839323130 -37333261323136666632636537366634346561666437356563383834623064356531636665373764 -36633637393434346136336434356265613434656230616437306361303032633932383266653237 -61393239376666653939303638643136396536393332653839386231373636356561643536643234 -63393839373334303536383161303662343866326439633032333634353331633466653831396561 -65306366653164313333623433366236653437613334306364633139326362336461343037343366 -33346561656132396366363836633934666661343435643561306235366661356638643133643631 -65666462396532373165663434623939306136643938633834373133396630353933396365326637 -65613562643233353434653964616262383561613964626433393863386663623838646632656166 -34653038313261366236326137396537313534663738333966613737346466666231323737396164 -34316664613238386665386538353761653862613739626237643337323333303838363236613532 -35343238393731393538316635613130633839623863663237633064333530656361626465366233 -63326365663638633436613264643330613566646139353965623638373563656466346632333464 -61643862663030613463343431333234363164353030303233336263643139323937373832353539 -66393232386437633837376137323433333836323833636462376536306536343730366661633836 -36366531346235366636346436643061313263643833383765306633396564656334363835613062 -35623034333665313537373833646232616636613239653136366232313036323634383961306235 -36323736663434366462353034633964396261653130303861633362353865663731313430313330 -30343834633363383932343466343838623837613136396366613938653263373331653530336162 -30326234343937373464653039303536313363633434303639373763663337643935646162393066 -61626433303564646136343864356263616563323730366361383136646636663339366436343461 -63623336616136643433353964313735323131656535353236613165356166646231623135323530 -39636539346566396262376637303263373737646266666132363632616563393137383137326536 -33646264663633393665333838646634303630313466633231363831366362356534626634633162 -32323930343333373038643336336563626333386635636664306438643034303361323265613330 -38643632383433383635333264656661353461363230373238313164613735333962326638313334 -63313432656531653366373534616261366366316535636437343537343764393236393439333434 -38633637316364616664336463393231636134653634396361326464643438373539323538353661 -32656331346138356537313237303064383537656464336536343831306165353634323962653563 -65643736323531373436626638313938393934366633333062626439303437383364323166366136 -31313365653039386563656439306133313330313736663836666131653731326638616232613237 -63396166363434343565386366623733353031376461343263663666636632616437316362303235 -66333037663538393139393161306565633266616532643538633838616334333365343437643465 -33363434316632356631353265363236396234383366383636393661343864356166363636303965 -61306135653564323465363863666161313638633530396339653362346634666630326239373433 -38363137313465306162326330333336366562663730623163656338333538333439613136623232 -61373165373565653637356562336535663932356537616166633062336663373063613037626630 -31623638313661383362323233383364346236623230343261336132656639386337663739623736 -39313665636365343934323538663064626266356631376239613234633732396132376233376338 -62646563633363363165353937316632353038623030313737616130326137633538366633626530 -38313139616132306263313761343334376134333036353235323930353937643865636136346438 -39393836396637653934626362616566316231623537303431303364323034353436333834613666 -37613137623630663261313762643431386538373233643961326663666437636336326566306137 -65376131386436313565343439646234666665336166393963356166306638373631366466666166 -39323333326139383533626231633038323235636364376661336533623537366537333336376266 -65376634393137343037323533653866636235303837653635306430393338626631353665366633 -30343762313439386666656338386233376235333837376562363063366533633735326163323732 -32313331383963323363333362326235623839333263626462313731666134316534323665313034 -33383664373963353661656361366465336530303762646331656266663961366338396361626533 -32383265316137353237306433323631396437616634613331646265633236373261663038626338 -36336362663961353665363462653534383136353232643632656437323065663238383338363766 -32633331626337366566633534356366373638666563323864636164353061333538613963376234 -31653931353663363066333364306366326662303538626231336161393537326133353963393132 -63333230363238613437386131313636326238383137323034633465376462333364343962633266 -33333965386535313266343964643036623463643161313061353261353366316630323863383130 -30366630326136363536626635353166613034363038323532326263363833333362303831663661 -33356463666236663636313037646333353862343833333436646136363232396634643665366439 -61346639336635623465323361616233616161386664366365633862393264313964653536386631 -37303833313930386464396333386432313964613435333933623832313131633339356561663163 -32316462376430666338333661353935646662663662346362663636653236393161383662656363 -37356236623261346433633734646539336162333263666333626562616637636263646233653339 -32343334343166373130303961306233613932313165383438643634613733316534393966663761 -32336235313731393630366133346464666238323538353265663435356264393231633632636263 -36646563353364303662383866323431633132643934633437383162336539366538636363656165 -62393837633839353939373965353665393765643262306130336665333738393137353338353963 -66363133306136636333353665373439633663333436666431643636643066343035616562643638 -66623735343732626431303835313162653765663836383130353663646533356238353065373861 -64653264666564313263386234306634316339643133303361316165636661633439313731316564 -32613464663735306566383233623061633862323838383561356339653861376232666462356430 -39316464376231623838353066333666393238633135396339653233326132363163383635353536 -35366663623237653666396638656566353136326237646638656661346262623461373466643963 -33363539316337363239343664376233313136616564633731383863326262646264343837363562 -39393463353135366335306536643136363136343365316633646338623761313639623033653038 -65373632633731313539346339663465366531333266633461623235663631643264356265623866 -38666564393635313935636266613333613566393565653939353766363030363131623636316331 -39353162633837636561393530666336383531326538386239393261646261363934366335646335 -36386335623530313363373165356164636430643866313763636262613033623562353231333539 -63323138623432383235393637623633663331633739373633336335303438363537653736646239 -33313531336139666562366635383962373334333939383766363932616261353733616461663239 -66313739373334326337396363363339613536643464663962646637396439663534376436336161 -33626237366661653861643030376665393861643131333165353837396665353766323137373232 -37663363373639656562353761663161626164646366336162353630333134626631356530666465 -39336339663431313562333537323131336566366461333933613165376232386266653939626239 -66363761343864386165346531383162386434366636623363623331633131376339336462633535 -32373362323438633736623066636238343432303733633964353261663265323131636139333662 -61663461386136333734363130373637373636663763346165313137613232336665616633616262 -64376465643163323763 diff --git a/resources/tools/testbed-setup/ansible/vault_pass b/resources/tools/testbed-setup/ansible/vault_pass deleted file mode 100644 index e1d46efc1f..0000000000 --- a/resources/tools/testbed-setup/ansible/vault_pass +++ /dev/null @@ -1 +0,0 @@ -Csit1234 diff --git a/resources/tools/testbed-setup/ansible/vpp_device.yaml b/resources/tools/testbed-setup/ansible/vpp_device.yaml deleted file mode 100644 index 8a99166f04..0000000000 --- a/resources/tools/testbed-setup/ansible/vpp_device.yaml +++ /dev/null @@ -1,22 +0,0 @@ ---- -# file: vpp_device.yaml - -- hosts: vpp_device - remote_user: testuser - become: yes - become_user: root - roles: - - role: baremetal - tags: baremetal - - role: common - tags: common - - role: docker - tags: docker - - role: vpp_device - tags: vpp_device - - role: kernel_vm - tags: kernel_vm - - role: nomad - tags: nomad - - role: cleanup - tags: cleanup |