The designateclient.v2.cli.blacklists Module

The designateclient.v2.cli.blacklists Module

class designateclient.v2.cli.blacklists.CreateBlacklistCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Create new blacklist

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.blacklists.DeleteBlacklistCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Command

Delete blacklist

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)[source]

Override to do something useful.

The returned value will be returned by the program.

class designateclient.v2.cli.blacklists.ListBlacklistsCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List blacklists

columns = ['id', 'pattern', 'description']
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)[source]

Return a tuple containing the column names and an iterable containing the data to be listed.

class designateclient.v2.cli.blacklists.SetBlacklistCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Set blacklist properties

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

class designateclient.v2.cli.blacklists.ShowBlacklistCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show blacklist details

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
take_action(parsed_args)[source]

Return a two-part tuple with a tuple of column names and a tuple of values.

Creative Commons Attribution 3.0 License

Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.

python-designateclient 2.10.1.dev3