pre_bench.yml #3

  • //
  • guest/
  • robert_cowham/
  • p4benchmark/
  • main/
  • pre_bench.yml
  • View
  • Commits
  • Open Download .zip Download (516 B)
- name: Install p4benchmark scripts
  hosts: bench_clients
  remote_user: ir
  vars:
    bench_dir: /home/ir/p4benchmark
  tasks:

    - name: Ensures directory exists
      file: path={{bench_dir}} state=directory

    - name: Copy relevant files to client machines
      copy:
        src: "{{item}}"
        dest: "{{bench_dir}}"
      with_fileglob:
        - "{{bench_dir}}/config_p4_bench.yml"
        - "{{bench_dir}}/*.py"
        - "{{bench_dir}}/run_slave.sh"
        - "{{bench_dir}}/bench_p4config.txt"

# Change User Description Committed
#5 24711 Robert Cowham Restructure and tidy up
#4 24687 Robert Cowham Got analysis working
#3 22003 Robert Cowham Latest state - with p4python and no syncing
#2 21767 Robert Cowham add latest stuff with analyse
#1 21763 Robert Cowham Latest playbooks