The freezerclient.shell
Module¶
-
class
freezerclient.shell.
FreezerCommandManager
(namespace, convert_underscores=True)[source]¶ Bases:
cliff.commandmanager.CommandManager
All commands available for the shell are registered here
-
SHELL_COMMANDS
= {'job-list': <class 'freezerclient.v1.jobs.JobList'>, 'client-list': <class 'freezerclient.v1.clients.ClientList'>, 'session-delete': <class 'freezerclient.v1.sessions.SessionDelete'>, 'job-abort': <class 'freezerclient.v1.jobs.JobAbort'>, 'session-remove-job': <class 'freezerclient.v1.sessions.SessionRemoveJob'>, 'backup-list': <class 'freezerclient.v1.backups.BackupList'>, 'action-list': <class 'freezerclient.v1.actions.ActionList'>, 'backup-delete': <class 'freezerclient.v1.backups.BackupDelete'>, 'action-show': <class 'freezerclient.v1.actions.ActionShow'>, 'job-create': <class 'freezerclient.v1.jobs.JobCreate'>, 'action-update': <class 'freezerclient.v1.actions.ActionUpdate'>, 'session-list': <class 'freezerclient.v1.sessions.SessionList'>, 'session-start': <class 'freezerclient.v1.sessions.SessionStart'>, 'session-show': <class 'freezerclient.v1.sessions.SessionShow'>, 'job-start': <class 'freezerclient.v1.jobs.JobStart'>, 'job-get': <class 'freezerclient.v1.jobs.JobGet'>, 'backup-show': <class 'freezerclient.v1.backups.BackupShow'>, 'client-show': <class 'freezerclient.v1.clients.ClientShow'>, 'action-delete': <class 'freezerclient.v1.actions.ActionDelete'>, 'job-update': <class 'freezerclient.v1.jobs.JobUpdate'>, 'client-delete': <class 'freezerclient.v1.clients.ClientDelete'>, 'session-update': <class 'freezerclient.v1.sessions.SessionUpdate'>, 'job-delete': <class 'freezerclient.v1.jobs.JobDelete'>, 'session-create': <class 'freezerclient.v1.sessions.SessionCreate'>, 'action-create': <class 'freezerclient.v1.actions.ActionCreate'>, 'job-stop': <class 'freezerclient.v1.jobs.JobStop'>, 'session-add-job': <class 'freezerclient.v1.sessions.SessionAddJob'>, 'client-register': <class 'freezerclient.v1.clients.ClientRegister'>, 'job-show': <class 'freezerclient.v1.jobs.JobShow'>}¶
-