The midonet.neutronclient.logging_resource_extension._logging_resource Module

The midonet.neutronclient.logging_resource_extension._logging_resource Module

class midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResource(app, app_args, cmd_name=None)

Bases: neutronclient.common.extension.NeutronClientExtension

log = <logging.Logger object>
object_path = ‘/logging/logging_resources’
path = ‘logging/logging_resources’
resource = ‘logging_resource’
resource_path = ‘/logging/logging_resources/%s’
resource_plural = ‘logging_resources’
versions = [‘2.0’]
class midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResourceCreate(app, app_args, cmd_name=None)

Bases: neutronclient.common.extension.ClientExtensionCreate, midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResource

Create Logging Resource information.

add_known_arguments(parser)
args2body(args)
log = <logging.Logger object>
shell_command = ‘logging-create’
class midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResourceDelete(app, app_args, cmd_name=None)

Bases: neutronclient.common.extension.ClientExtensionDelete, midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResource

Delete a given Logging Resource.

log = <logging.Logger object>
shell_command = ‘logging-delete’
class midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResourceList(app, app_args, cmd_name=None)

Bases: neutronclient.common.extension.ClientExtensionList, midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResource

List Logging Resources.

list_columns = [‘id’, ‘name’, ‘enabled’]
log = <logging.Logger object>
pagination_support = True
shell_command = ‘logging-list’
sorting_support = True
class midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResourceShow(app, app_args, cmd_name=None)

Bases: neutronclient.common.extension.ClientExtensionShow, midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResource

Show information of a given Logging Resource.

log = <logging.Logger object>
shell_command = ‘logging-show’
class midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResourceUpdate(app, app_args, cmd_name=None)

Bases: neutronclient.common.extension.ClientExtensionUpdate, midonet.neutronclient.logging_resource_extension._logging_resource.LoggingResource

Update a given Logging Resource.

add_known_arguments(parser)
args2body(args)
log = <logging.Logger object>
shell_command = ‘logging-update’
midonet.neutronclient.logging_resource_extension._logging_resource.add_common_paramaters_to_arguments(parser)
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.