aboutsummaryrefslogtreecommitdiffstats
path: root/fdio.infra.ansible/roles/trex/defaults/main.yaml
blob: 180d635deff1a74cf6e88f860d1ecd4e2bf6a4c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
---
# file: roles/trex/defaults/main.yaml

packages: "{{ packages_base + packages_by_distro[ansible_distribution|lower][ansible_distribution_release] + packages_by_arch[ansible_machine] }}"

packages_base:
  - []

packages_by_distro:
  ubuntu:
    focal:
      - "build-essential"
      - "libmnl-dev"
      - "libnuma-dev"
      - "libpcap-dev"
      - "librdmacm-dev"
      - "librdmacm1"
      - "libssl-dev"
      - "pciutils"
      - "python3-pip"
      - "zlib1g-dev"
    jammy:
      - "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:
  # master // ubuntu 20.04
  - "2.88"
  - "2.97"