designateclient.v2.cli.zones module
updated: 2022-09-23 12:12
designateclient.v2.cli.zones module
-
class designateclient.v2.cli.zones.AXFRZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Command
AXFR a zone
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.AXFRZoneCommand (WARNING)>
-
take_action(parsed_args)[source]
Override to do something useful.
The returned value will be returned by the program.
-
class designateclient.v2.cli.zones.AbandonZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Command
Abandon a zone
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.AbandonZoneCommand (WARNING)>
-
take_action(parsed_args)[source]
Override to do something useful.
The returned value will be returned by the program.
-
class designateclient.v2.cli.zones.AcceptTransferRequestCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Accept a Zone Transfer Request
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.AcceptTransferRequestCommand (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.zones.CreateTransferRequestCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Create new zone transfer request
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.CreateTransferRequestCommand (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.zones.CreateZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Create new zone
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.CreateZoneCommand (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.zones.DeleteTransferRequestCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Command
Delete a Zone Transfer Request
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.DeleteTransferRequestCommand (WARNING)>
-
take_action(parsed_args)[source]
Override to do something useful.
The returned value will be returned by the program.
-
class designateclient.v2.cli.zones.DeleteZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Delete zone
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.DeleteZoneCommand (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.zones.DeleteZoneExportCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Command
Delete a Zone Export
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.DeleteZoneExportCommand (WARNING)>
-
take_action(parsed_args)[source]
Override to do something useful.
The returned value will be returned by the program.
-
class designateclient.v2.cli.zones.DeleteZoneImportCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Command
Delete a Zone Import
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.DeleteZoneImportCommand (WARNING)>
-
take_action(parsed_args)[source]
Override to do something useful.
The returned value will be returned by the program.
-
class designateclient.v2.cli.zones.ExportZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Export a Zone
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ExportZoneCommand (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.zones.ImportZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Import a Zone from a file on the filesystem
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ImportZoneCommand (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.zones.ListTransferAcceptsCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Lister
List Zone Transfer Accepts
-
columns = ['id', 'zone_id', 'project_id', 'zone_transfer_request_id', 'status', 'key']
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ListTransferAcceptsCommand (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.zones.ListTransferRequestsCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Lister
List Zone Transfer Requests
-
columns = ['id', 'zone_id', 'zone_name', 'project_id', 'target_project_id', 'status', 'key']
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ListTransferRequestsCommand (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.zones.ListZoneExportsCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Lister
List Zone Exports
-
columns = ['id', 'zone_id', 'created_at', 'status']
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ListZoneExportsCommand (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.zones.ListZoneImportsCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Lister
List Zone Imports
-
columns = ['id', 'zone_id', 'created_at', 'status', 'message']
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ListZoneImportsCommand (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.zones.ListZonesCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.Lister
List zones
-
columns = ['id', 'name', 'type', 'serial', 'status', 'action']
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ListZonesCommand (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.zones.SetTransferRequestCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Set a Zone Transfer Request
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.SetTransferRequestCommand (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.zones.SetZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Set zone properties
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.SetZoneCommand (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.zones.ShowTransferAcceptCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Show Zone Transfer Accept
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ShowTransferAcceptCommand (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.zones.ShowTransferRequestCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Show Zone Transfer Request Details
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ShowTransferRequestCommand (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.zones.ShowZoneCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Show zone details
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ShowZoneCommand (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.zones.ShowZoneExportCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Show a Zone Export
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ShowZoneExportCommand (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.zones.ShowZoneExportFileCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Show the zone file for the Zone Export
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ShowZoneExportFileCommand (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.zones.ShowZoneImportCommand(app, app_args, cmd_name=None)[source]
Bases: osc_lib.command.command.ShowOne
Show a Zone Import
-
get_parser(prog_name)[source]
Return an argparse.ArgumentParser
.
-
log = <Logger designateclient.v2.cli.zones.ShowZoneImportCommand (WARNING)>
-
take_action(parsed_args)[source]
Return a two-part tuple with a tuple of column names
and a tuple of values.
updated: 2022-09-23 12:12