summaryrefslogtreecommitdiffstats
path: root/cli/cli.py
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-03 12:46:28 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-06-03 12:46:28 +0200
commit10d7b972cabaaffa099465c08f31dfe676ba5bbb (patch)
tree5fd5a1b2fa6d9f4e01db71589882566d7f4c85e1 /cli/cli.py
parente92e38bcca93f32228bb4cd1943e4e0652947326 (diff)
cli: add list scopes --client-ip
Implement a --client-ip filter to ease the task of finding the hierarchy associated to a client or list of clients. Usage: /ogcli list scopes --client-ip 10.141.10.23 /ogcli list scopes --client-ip 10.141.10.23 --client-ip 10.141.10.22
Diffstat (limited to 'cli/cli.py')
-rw-r--r--cli/cli.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/cli.py b/cli/cli.py
index 9e5ad04..36fcb36 100644
--- a/cli/cli.py
+++ b/cli/cli.py
@@ -96,7 +96,7 @@ class OgCLI():
elif parsed_args.item == 'modes':
OgModes.list_available_modes(self.rest)
elif parsed_args.item == 'scopes':
- OgScope.list_scopes(self.rest)
+ OgScope.list_scopes(self.rest, args[1:])
elif parsed_args.item == 'images':
OgImage.list_images(self.rest)
elif parsed_args.item == 'disks':