The designateclient.cli.records Module

The designateclient.cli.records Module

class designateclient.cli.records.CreateRecordCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.CreateCommand

Create Record

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.records.DeleteRecordCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.DeleteCommand

Delete Record

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.records.GetRecordCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.GetCommand

Get Record

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.records.ListRecordsCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.ListCommand

List Records

columns = ['id', 'type', 'name', 'data']
execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
class designateclient.cli.records.UpdateRecordCommand(app, app_args, cmd_name=None)[source]

Bases: designateclient.cli.base.UpdateCommand

Update Record

execute(parsed_args)[source]

Execute something, this is since we overload self.take_action() in order to format the data

This method __NEEDS__ to be overloaded!

Parameters:parsed_args – The parsed args that are given by take_action()
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <logging.Logger object>
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