From 96eaabff284f154ca96ce823fee205bd9833043b Mon Sep 17 00:00:00 2001 From: Peter Mikus Date: Fri, 13 Sep 2019 12:00:49 +0000 Subject: Add: Use containers for shared TG + Ansible + Service for auto load during restart + By default created 2 instances of Docker container + Small modification of Trex to use prefixes + DNV topology to use ssh port to connect to docker Signed-off-by: Peter Mikus Change-Id: Ibc2b2f0e509d920fc3e05d012b88abc388f5c3e7 --- .../tools/testbed-setup/ansible/roles/tg/handlers/main.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml (limited to 'resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml') diff --git a/resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml b/resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml new file mode 100644 index 0000000000..53cbb48e0a --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/tg/handlers/main.yaml @@ -0,0 +1,9 @@ +--- +# 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 -- cgit 1.2.3-korg