summaryrefslogtreecommitdiffstats
path: root/cli/objects/scopes.py
diff options
context:
space:
mode:
authorJose M. Guisado <jguisado@soleta.eu>2021-02-26 14:44:14 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2021-02-26 15:34:11 +0100
commit2b7d6b081ce7aa7cd10a7301f06eb2b8880c946a (patch)
tree56dd464ca497965bf13eb2bdf56e3f966176fb09 /cli/objects/scopes.py
parentf6fa7958035164029e3a20b6ac8959811e16b7eb (diff)
Add client, room and center args to set_modes
New arguments to make specifying the target machines more flexible when changing their boot mode (known as "set client mode"). These argument are optional although any of them must be used to specify some target. --client IP --room id --center id The arguments can be specified several times like "--client ip --client ip --room id --room id --room id", etc. Center or room id can be obtained via /scopes. As of this patch, set_modes does iterate through the whole /scopes output and then filters ips with those that were specified by user.
Diffstat (limited to 'cli/objects/scopes.py')
0 files changed, 0 insertions, 0 deletions