From 43f2b13186f858ad3249587e0bf0f89cb58c2c6c Mon Sep 17 00:00:00 2001 From: Simon Ebner Date: Wed, 17 Mar 2021 12:15:59 +0100 Subject: [PATCH] updates --- Readme.md | 39 +++++- bufferutils.py | 35 +++-- operation-tools/Readme.md | 176 ++++++++++-------------- operation-tools/restart_cluster.yml | 2 + operation-tools/restart_imagebuffer.yml | 14 +- 5 files changed, 142 insertions(+), 124 deletions(-) diff --git a/Readme.md b/Readme.md index 1949a09..af12cdf 100644 --- a/Readme.md +++ b/Readme.md @@ -38,7 +38,44 @@ More details on the gitutils command can be found at: https://gitutils.readthedo # Administration -If there are new changes to this configuration (either through a merge request or direct commit) the configuration needs to be uploaded to the Data/ImageBuffer. To do so clone or pull the latest changes from this repository and execute the `./bufferutils upload` script that comes with this repository (you have to be on a machine that have /opt/gfa/python available!). +If there are new changes to this configuration (either through a merge request or direct commit) the configuration needs to be uploaded to the Data/ImageBuffer. To do so clone or pull the latest changes from this repository and execute the `./bufferutils upload` script that comes with this repository (you have to be on a machine that have /opt/gfa/python available!). + +## Uploading Sources +To upload and start recording of all configured sources use: + +```bash +./bufferutils upload +``` + +## Checking for labled sources + +```bash +./bufferutils list --label +``` + +_Note:_ Labled sources can be individually stopped and/or restarted by the stop/restart subcommand. A label can be attached to more than one source. While doing so, the restart would affect all sources with the given label. + +## Stopping a labeled source + +```bash +./bufferutils stop --label