designateclient.cli.records
Module¶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() |
---|
log
= <logging.Logger object>¶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() |
---|
log
= <logging.Logger object>¶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() |
---|
log
= <logging.Logger object>¶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() |
---|
log
= <logging.Logger object>¶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() |
---|
log
= <logging.Logger object>¶Except where otherwise noted, this document is licensed under Creative Commons Attribution 3.0 License. See all OpenStack Legal Documents.