diff options
author | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-03 12:46:28 +0200 |
---|---|---|
committer | Alejandro Sirgo Rica <asirgo@soleta.eu> | 2024-06-03 12:46:28 +0200 |
commit | 10d7b972cabaaffa099465c08f31dfe676ba5bbb (patch) | |
tree | 5fd5a1b2fa6d9f4e01db71589882566d7f4c85e1 /cli/cli.py | |
parent | e92e38bcca93f32228bb4cd1943e4e0652947326 (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.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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': |