@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    cmds = [opts.create, opts.delete, opts.list, opts.rename, opts.move_servers]
    if (sum(((cmd is not None) for cmd in cmds)) == 0):
        _exit_if_errors([('Must specify one of the following: --create, ' + '--delete, --list, --move-servers, or --rename')])
    elif (sum(((cmd is not None) for cmd in cmds)) != 1):
        _exit_if_errors([('Only one of the following may be specified: --create' + ', --delete, --list, --move-servers, or --rename')])
    if opts.create:
        self._create(opts)
    elif opts.delete:
        self._delete(opts)
    elif opts.list:
        self._list(opts)
    elif opts.rename:
        self._rename(opts)
    elif (opts.move_servers is not None):
        self._move(opts)
@rest_initialiser(cluster_init_check=True, version_check=True)
def execute(self, opts):
    cmds = [opts.create, opts.delete, opts.list, opts.rename, opts.move_servers]
    if (sum(((cmd is not None) for cmd in cmds)) == 0):
        _exit_if_errors([('Must specify one of the following: --create, ' + '--delete, --list, --move-servers, or --rename')])
    elif (sum(((cmd is not None) for cmd in cmds)) != 1):
        _exit_if_errors([('Only one of the following may be specified: --create' + ', --delete, --list, --move-servers, or --rename')])
    if opts.create:
        self._create(opts)
    elif opts.delete:
        self._delete(opts)
    elif opts.list:
        self._list(opts)
    elif opts.rename:
        self._rename(opts)
    elif (opts.move_servers is not None):
        self._move(opts)