diff options
author | 2018-09-19 15:05:48 +0000 | |
---|---|---|
committer | 2018-09-24 08:22:10 +0000 | |
commit | 388117d6bfe6f05d3f20d1a7e632076f5526227f (patch) | |
tree | 437fcf7778cf0fd116f94d6621281a4d67fa802f /resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service | |
parent | bb0f69d12e0e509c58bb5b8116d73bb585a4ea09 (diff) |
CSIT-1292 Update Ansible playbooks with vpp_device tasks
Change-Id: I22d1fe2fc27d6adb39eba2578e68d06992a3f976
Signed-off-by: Peter Mikus <pmikus@cisco.com>
Diffstat (limited to 'resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service')
-rw-r--r-- | resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service | 12 |
1 files changed, 12 insertions, 0 deletions
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 new file mode 100644 index 0000000000..996792ab9b --- /dev/null +++ b/resources/tools/testbed-setup/ansible/roles/vpp_device/files/csit-initialize-vfs.service @@ -0,0 +1,12 @@ +[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 |