designateclient.v2.cli.recordsets module

designateclient.v2.cli.recordsets module

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

Bases: osc_lib.command.command.ShowOne

Create new recordset

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger deprecated (WARNING)>
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.recordsets.DeleteRecordSetCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Delete recordset

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.DeleteRecordSetCommand (WARNING)>
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.recordsets.ListRecordSetsCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.Lister

List recordsets

columns = ['id', 'name', 'type', 'records', 'status', 'action']
get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.ListRecordSetsCommand (WARNING)>
take_action(parsed_args)[source]

Run command.

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

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

Bases: osc_lib.command.command.ShowOne

Set recordset properties

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.SetRecordSetCommand (WARNING)>
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.recordsets.ShowRecordSetCommand(app, app_args, cmd_name=None)[source]

Bases: osc_lib.command.command.ShowOne

Show recordset details

get_parser(prog_name)[source]

Return an argparse.ArgumentParser.

log = <Logger designateclient.v2.cli.recordsets.ShowRecordSetCommand (WARNING)>
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.