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