aboutsummaryrefslogtreecommitdiffstats
path: root/resources/libraries/python/VatExecutor.py
AgeCommit message (Expand)AuthorFilesLines
2017-04-10IPsec Multi-Tunnel performance test suiteKirill Rybalchenko1-0/+73
2017-02-16Fix ssh prompts for centosMatej Klotton1-2/+2
2017-02-13Introduce simple VAT history per test caseJan Gelety1-2/+5
2016-12-16Pylint fixesTibor Frank1-6/+5
2016-10-04Fix pylint warnings in python librariesselias1-1/+20
2016-10-04Interactive terminal fixesMiroslav Miklus1-5/+13
2016-04-22Reformat python libraries.Matej Klotton1-47/+36
2016-04-22VatExecutor updateMatus Fabian1-0/+15
2016-04-13VXLAN test with dot1q tagging.Matej Klotton1-5/+16
2016-03-07Add with-statment support to VatTerminal.Matej Klotton1-11/+15
2016-02-17LF testbed2 topology, T-REX upgrade, vpe->vpp renameMiroslav Miklus1-1/+1
2016-02-15Fixed vat_terminal_exec_cmd_from_templateMatus Fabian1-1/+1
2016-02-08New version of RF tests.Stefan Kobza1-0/+197
uilding the binary .. code:: bash make install Start ~~~~~ Starts the filesystem. Requires a running VPP instance using the default socket /run/vpp/stats.sock. May require a privileged user (sudo) .. code:: bash make start Stop ~~~~ Stops and unmounts the filesystem if it is not busy. May require a privileged user (sudo) .. code:: bash make stop Force unmount ~~~~~~~~~~~~~ Forces the unmount of the filesystem even if it is busy. May require a privileged user (sudo) .. code:: bash make force-unmount Cleanup ~~~~~~~ Cleaning stats_fs binary. May require a privileged user (sudo). .. code:: bash make clean Browsing the filesystem ----------------------- The default mountpoint is /run/vpp/stats_fs_dir. You can browse the filesystem as a regular user. Example: .. code:: bash cd /run/vpp/stats_fs_dir cd sys/node ls -al cat names Building and mounting the filesystem manually --------------------------------------------- For more modularity, you can build and mount the filesystem manually. Building ~~~~~~~~ Inside the local directory, you can build the go binary: .. code:: bash go build Mounting ~~~~~~~~ Then, you can mount the filesystem with the local binary. May require a privileged user (sudo). The basic usage is: .. code:: bash ./stats_fs <MOUNT_POINT> **Options:** - debug <true|false> (default is false) - socket <statSocket> (default is /run/vpp/stats.sock) : VPP socket for stats Unmounting the file system ~~~~~~~~~~~~~~~~~~~~~~~~~~ You can unmount the filesystem with the fusermount command. May require a privileged user (sudo) .. code:: bash fusermount -u /path/to/mountpoint To force the unmount even if the resource is busy, add the -z option: .. code:: bash fusermount -uz /path/to/mountpoint