The openstack_dashboard.dashboards.admin.volumes.volume_types.tables ModuleΒΆ

class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.CreateQosSpec(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

CreateQosSpec.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x59212a8>, 'update': <function update at 0x55b8a28>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x5921398>, 'ajax': False, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__init__': <function __init__ at 0x59211b8>, 'icon': 'plus', 'name': 'create', 'url': 'horizon:admin:volumes:volume_types:create_qos_spec', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x5921320>, '_allowed': <function _allowed at 0x55b8b90>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x5921050>, 'get_ajax_update_url': <function get_ajax_update_url at 0x5921230>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x814f290>, '__doc__': 'A table action which is simply a link rather than a form POST.\n\n .. attribute:: name\n\n Required. The short name or "slug" representing this\n action. This name should not be changed at runtime.\n\n .. attribute:: verbose_name\n\n A string which will be rendered as the link text. (Required)\n\n .. attribute:: url\n\n A string or a callable which resolves to a url to be used as the link\n target. You must either define the ``url`` attribute or override\n the ``get_link_url`` method on the class.\n\n .. attribute:: allowed_data_types\n\n A list that contains the allowed data types of the action. If the\n datum\'s type is in this list, the action will be shown on the row\n for the datum.\n\n Defaults to be an empty list (``[]``). When set to empty, the action\n will accept any kind of data.\n '}
CreateQosSpec.classes = ('ajax-modal',)
CreateQosSpec.icon = 'plus'
CreateQosSpec.name = 'create'
CreateQosSpec.policy_rules = (('volume', 'volume_extension:types_manage'),)
CreateQosSpec.url = 'horizon:admin:volumes:volume_types:create_qos_spec'
CreateQosSpec.verbose_name = <django.utils.functional.__proxy__ object at 0x814f290>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.CreateVolumeType(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

CreateVolumeType.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x59212a8>, 'update': <function update at 0x55b8a28>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x5921398>, 'ajax': False, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__init__': <function __init__ at 0x59211b8>, 'icon': 'plus', 'name': 'create', 'url': 'horizon:admin:volumes:volume_types:create_type', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x5921320>, '_allowed': <function _allowed at 0x55b8b90>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x5921050>, 'get_ajax_update_url': <function get_ajax_update_url at 0x5921230>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x8149b50>, '__doc__': 'A table action which is simply a link rather than a form POST.\n\n .. attribute:: name\n\n Required. The short name or "slug" representing this\n action. This name should not be changed at runtime.\n\n .. attribute:: verbose_name\n\n A string which will be rendered as the link text. (Required)\n\n .. attribute:: url\n\n A string or a callable which resolves to a url to be used as the link\n target. You must either define the ``url`` attribute or override\n the ``get_link_url`` method on the class.\n\n .. attribute:: allowed_data_types\n\n A list that contains the allowed data types of the action. If the\n datum\'s type is in this list, the action will be shown on the row\n for the datum.\n\n Defaults to be an empty list (``[]``). When set to empty, the action\n will accept any kind of data.\n '}
CreateVolumeType.classes = ('ajax-modal',)
CreateVolumeType.icon = 'plus'
CreateVolumeType.name = 'create'
CreateVolumeType.policy_rules = (('volume', 'volume_extension:types_manage'),)
CreateVolumeType.url = 'horizon:admin:volumes:volume_types:create_type'
CreateVolumeType.verbose_name = <django.utils.functional.__proxy__ object at 0x8149b50>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteQosSpecs(**kwargs)[source]

Bases: horizon.tables.actions.DeleteAction

static DeleteQosSpecs.action_past(count)[source]
static DeleteQosSpecs.action_present(count)[source]
DeleteQosSpecs.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'handle': <function handle at 0x5921b90>, 'update': <function update at 0x5921aa0>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_success_url': <function get_success_url at 0x5921b18>, 'get_param_name': <function get_param_name at 0x5921140>, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, '__init__': <function __init__ at 0x5921c08>, 'name': 'delete', 'action_present': <staticmethod object at 0x8154bb0>, 'action_past': <staticmethod object at 0x8154c58>, 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x5921d70>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x5921938>, '_get_action_name': <function _get_action_name at 0x59219b0>, '__repr__': <function __repr__ at 0x5921050>, 'action': <function action at 0x5921c80>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__doc__': 'A table action used to perform delete operations on table data.\n\n .. attribute:: name\n\n A short name or "slug" representing this action.\n Defaults to \'delete\'\n\n .. method:: action_present\n\n Method accepting an integer/long parameter and returning the display\n forms of the name properly pluralised (depending on the integer) and\n translated in a string or tuple/list.\n\n .. attribute:: action_present (PendingDeprecation)\n\n A string containing the transitive verb describing the delete action.\n Defaults to \'Delete\'\n\n NOTE: action_present attribute is bad for translations and should be\n avoided. Please use the action_present method instead.\n This form is kept for legacy.\n\n .. method:: action_past\n\n Method accepting an integer/long parameter and returning the display\n forms of the name properly pluralised (depending on the integer) and\n translated in a string or tuple/list.\n\n .. attribute:: action_past (PendingDeprecation)\n\n A string set to the past tense of action_present.\n Defaults to \'Deleted\'\n\n NOTE: action_past attribute is bad for translations and should be\n avoided. Please use the action_past method instead.\n This form is kept for legacy.\n\n .. attribute:: data_type_singular (PendingDeprecation)\n\n A string used to name the data to be deleted.\n\n .. attribute:: data_type_plural (PendingDeprecation)\n\n Optional. Plural of ``data_type_singular``.\n Defaults to ``data_type_singular`` appended with an \'s\'. Relying on\n the default is bad for translations and should not be done, so it\'s\n absence will raise a DeprecationWarning. It is currently kept as\n optional for legacy code.\n\n NOTE: data_type_singular and data_type_plural attributes are bad for\n translations and should be avoided. Please use the action_present and\n action_past methods. This form is kept for legacy.\n ', 'delete': <function delete at 0x8145de8>}
DeleteQosSpecs.delete(request, qos_spec_id)[source]
DeleteQosSpecs.policy_rules = (('volume', 'volume_extension:types_manage'),)
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteVolumeType(**kwargs)[source]

Bases: horizon.tables.actions.DeleteAction

static DeleteVolumeType.action_past(count)[source]
static DeleteVolumeType.action_present(count)[source]
DeleteVolumeType.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'handle': <function handle at 0x5921b90>, 'update': <function update at 0x5921aa0>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_success_url': <function get_success_url at 0x5921b18>, 'get_param_name': <function get_param_name at 0x5921140>, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, '__init__': <function __init__ at 0x5921c08>, 'name': 'delete', 'action_present': <staticmethod object at 0x8154520>, 'action_past': <staticmethod object at 0x8154b78>, 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x5921d70>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x5921938>, '_get_action_name': <function _get_action_name at 0x59219b0>, '__repr__': <function __repr__ at 0x5921050>, 'action': <function action at 0x5921c80>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__doc__': 'A table action used to perform delete operations on table data.\n\n .. attribute:: name\n\n A short name or "slug" representing this action.\n Defaults to \'delete\'\n\n .. method:: action_present\n\n Method accepting an integer/long parameter and returning the display\n forms of the name properly pluralised (depending on the integer) and\n translated in a string or tuple/list.\n\n .. attribute:: action_present (PendingDeprecation)\n\n A string containing the transitive verb describing the delete action.\n Defaults to \'Delete\'\n\n NOTE: action_present attribute is bad for translations and should be\n avoided. Please use the action_present method instead.\n This form is kept for legacy.\n\n .. method:: action_past\n\n Method accepting an integer/long parameter and returning the display\n forms of the name properly pluralised (depending on the integer) and\n translated in a string or tuple/list.\n\n .. attribute:: action_past (PendingDeprecation)\n\n A string set to the past tense of action_present.\n Defaults to \'Deleted\'\n\n NOTE: action_past attribute is bad for translations and should be\n avoided. Please use the action_past method instead.\n This form is kept for legacy.\n\n .. attribute:: data_type_singular (PendingDeprecation)\n\n A string used to name the data to be deleted.\n\n .. attribute:: data_type_plural (PendingDeprecation)\n\n Optional. Plural of ``data_type_singular``.\n Defaults to ``data_type_singular`` appended with an \'s\'. Relying on\n the default is bad for translations and should not be done, so it\'s\n absence will raise a DeprecationWarning. It is currently kept as\n optional for legacy code.\n\n NOTE: data_type_singular and data_type_plural attributes are bad for\n translations and should be avoided. Please use the action_present and\n action_past methods. This form is kept for legacy.\n ', 'delete': <function delete at 0x81459b0>}
DeleteVolumeType.delete(request, obj_id)[source]
DeleteVolumeType.policy_rules = (('volume', 'volume_extension:types_manage'),)
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.EditConsumer(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

EditConsumer.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x59212a8>, 'update': <function update at 0x55b8a28>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x5921398>, 'ajax': False, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__init__': <function __init__ at 0x59211b8>, 'icon': 'pencil', 'name': 'edit_consumer', 'url': 'horizon:admin:volumes:volume_types:edit_qos_spec_consumer', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x5921320>, '_allowed': <function _allowed at 0x55b8b90>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x5921050>, 'get_ajax_update_url': <function get_ajax_update_url at 0x5921230>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x814f490>, '__doc__': 'A table action which is simply a link rather than a form POST.\n\n .. attribute:: name\n\n Required. The short name or "slug" representing this\n action. This name should not be changed at runtime.\n\n .. attribute:: verbose_name\n\n A string which will be rendered as the link text. (Required)\n\n .. attribute:: url\n\n A string or a callable which resolves to a url to be used as the link\n target. You must either define the ``url`` attribute or override\n the ``get_link_url`` method on the class.\n\n .. attribute:: allowed_data_types\n\n A list that contains the allowed data types of the action. If the\n datum\'s type is in this list, the action will be shown on the row\n for the datum.\n\n Defaults to be an empty list (``[]``). When set to empty, the action\n will accept any kind of data.\n '}
EditConsumer.classes = ('ajax-modal',)
EditConsumer.icon = 'pencil'
EditConsumer.name = 'edit_consumer'
EditConsumer.policy_rules = (('volume', 'volume_extension:types_manage'),)
EditConsumer.url = 'horizon:admin:volumes:volume_types:edit_qos_spec_consumer'
EditConsumer.verbose_name = <django.utils.functional.__proxy__ object at 0x814f490>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.ManageQosSpec(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

ManageQosSpec.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x59212a8>, 'update': <function update at 0x55b8a28>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x5921398>, 'ajax': False, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__init__': <function __init__ at 0x59211b8>, 'icon': 'pencil', 'name': 'qos_spec', 'url': 'horizon:admin:volumes:volume_types:qos_specs:index', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x5921320>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'get_ajax_update_url': <function get_ajax_update_url at 0x5921230>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x814f250>, '__doc__': 'A table action which is simply a link rather than a form POST.\n\n .. attribute:: name\n\n Required. The short name or "slug" representing this\n action. This name should not be changed at runtime.\n\n .. attribute:: verbose_name\n\n A string which will be rendered as the link text. (Required)\n\n .. attribute:: url\n\n A string or a callable which resolves to a url to be used as the link\n target. You must either define the ``url`` attribute or override\n the ``get_link_url`` method on the class.\n\n .. attribute:: allowed_data_types\n\n A list that contains the allowed data types of the action. If the\n datum\'s type is in this list, the action will be shown on the row\n for the datum.\n\n Defaults to be an empty list (``[]``). When set to empty, the action\n will accept any kind of data.\n '}
ManageQosSpec.icon = 'pencil'
ManageQosSpec.name = 'qos_spec'
ManageQosSpec.policy_rules = (('volume', 'volume_extension:types_manage'),)
ManageQosSpec.url = 'horizon:admin:volumes:volume_types:qos_specs:index'
ManageQosSpec.verbose_name = <django.utils.functional.__proxy__ object at 0x814f250>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.ManageQosSpecAssociation(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

ManageQosSpecAssociation.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x59212a8>, 'update': <function update at 0x55b8a28>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x5921398>, 'ajax': False, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__init__': <function __init__ at 0x59211b8>, 'icon': 'pencil', 'name': 'associate', 'url': 'horizon:admin:volumes:volume_types:manage_qos_spec_association', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x5921320>, '_allowed': <function _allowed at 0x55b8b90>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x5921050>, 'get_ajax_update_url': <function get_ajax_update_url at 0x5921230>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x8149c90>, '__doc__': 'A table action which is simply a link rather than a form POST.\n\n .. attribute:: name\n\n Required. The short name or "slug" representing this\n action. This name should not be changed at runtime.\n\n .. attribute:: verbose_name\n\n A string which will be rendered as the link text. (Required)\n\n .. attribute:: url\n\n A string or a callable which resolves to a url to be used as the link\n target. You must either define the ``url`` attribute or override\n the ``get_link_url`` method on the class.\n\n .. attribute:: allowed_data_types\n\n A list that contains the allowed data types of the action. If the\n datum\'s type is in this list, the action will be shown on the row\n for the datum.\n\n Defaults to be an empty list (``[]``). When set to empty, the action\n will accept any kind of data.\n '}
ManageQosSpecAssociation.classes = ('ajax-modal',)
ManageQosSpecAssociation.icon = 'pencil'
ManageQosSpecAssociation.name = 'associate'
ManageQosSpecAssociation.policy_rules = (('volume', 'volume_extension:types_manage'),)
ManageQosSpecAssociation.url = 'horizon:admin:volumes:volume_types:manage_qos_spec_association'
ManageQosSpecAssociation.verbose_name = <django.utils.functional.__proxy__ object at 0x8149c90>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.QosSpecsTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class QosSpecsTable.Meta[source]
QosSpecsTable.Meta.name = 'qos_specs'
QosSpecsTable.Meta.row_actions = (<class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.ManageQosSpec'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.EditConsumer'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteQosSpecs'>)
QosSpecsTable.Meta.table_actions = (<class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.CreateQosSpec'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteQosSpecs'>)
QosSpecsTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0x814f8d0>
QosSpecsTable.base_actions = {'create': <CreateQosSpec: create>, 'delete': <DeleteQosSpecs: delete>, 'edit_consumer': <EditConsumer: edit_consumer>, 'qos_spec': <ManageQosSpec: qos_spec>}
QosSpecsTable.base_columns = {'name': <Column: name>, 'consumer': <Column: consumer>, 'specs': <Column: specs>}
QosSpecsTable.get_object_display(qos_specs)[source]
QosSpecsTable.get_object_id(qos_specs)[source]
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.ViewVolumeTypeExtras(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

ViewVolumeTypeExtras.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x59212a8>, 'update': <function update at 0x55b8a28>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x5921398>, 'ajax': False, 'allowed': <function allowed at 0x55b88c0>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'update': <function update at 0x55b8a28>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x59210c8>, '_allowed': <function _allowed at 0x55b8b90>, '__repr__': <function __repr__ at 0x5921050>, 'allowed': <function allowed at 0x55b88c0>, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x55b8cf8>}, 'get_default_attrs': <function get_default_attrs at 0x55b8f50>, '__init__': <function __init__ at 0x59211b8>, 'name': 'extras', 'url': 'horizon:admin:volumes:volume_types:extras:index', 'data_type_matched': <function data_type_matched at 0x55b8b18>, 'get_default_classes': <function get_default_classes at 0x55b8848>, 'get_policy_target': <function get_policy_target at 0x55b87d0>, 'associate_with_table': <function associate_with_table at 0x5921320>, '_allowed': <function _allowed at 0x55b8b90>, 'classes': ('btn-edit',), '__repr__': <function __repr__ at 0x5921050>, 'get_ajax_update_url': <function get_ajax_update_url at 0x5921230>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x8149bd0>, '__doc__': 'A table action which is simply a link rather than a form POST.\n\n .. attribute:: name\n\n Required. The short name or "slug" representing this\n action. This name should not be changed at runtime.\n\n .. attribute:: verbose_name\n\n A string which will be rendered as the link text. (Required)\n\n .. attribute:: url\n\n A string or a callable which resolves to a url to be used as the link\n target. You must either define the ``url`` attribute or override\n the ``get_link_url`` method on the class.\n\n .. attribute:: allowed_data_types\n\n A list that contains the allowed data types of the action. If the\n datum\'s type is in this list, the action will be shown on the row\n for the datum.\n\n Defaults to be an empty list (``[]``). When set to empty, the action\n will accept any kind of data.\n '}
ViewVolumeTypeExtras.classes = ('btn-edit',)
ViewVolumeTypeExtras.name = 'extras'
ViewVolumeTypeExtras.policy_rules = (('volume', 'volume_extension:types_manage'),)
ViewVolumeTypeExtras.url = 'horizon:admin:volumes:volume_types:extras:index'
ViewVolumeTypeExtras.verbose_name = <django.utils.functional.__proxy__ object at 0x8149bd0>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.VolumeTypesTable(request, data=None, needs_form_wrapper=None, **kwargs)[source]

Bases: horizon.tables.base.DataTable

class VolumeTypesTable.Meta[source]
VolumeTypesTable.Meta.name = 'volume_types'
VolumeTypesTable.Meta.row_actions = (<class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.ViewVolumeTypeExtras'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.ManageQosSpecAssociation'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteVolumeType'>)
VolumeTypesTable.Meta.table_actions = (<class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.CreateVolumeType'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteVolumeType'>)
VolumeTypesTable.Meta.verbose_name = <django.utils.functional.__proxy__ object at 0x8149f90>
VolumeTypesTable.base_actions = {'associate': <ManageQosSpecAssociation: associate>, 'create': <CreateVolumeType: create>, 'delete': <DeleteVolumeType: delete>, 'extras': <ViewVolumeTypeExtras: extras>}
VolumeTypesTable.base_columns = {'name': <Column: name>, 'assoc_qos_spec': <Column: assoc_qos_spec>}
VolumeTypesTable.get_object_display(vol_type)[source]
VolumeTypesTable.get_object_id(vol_type)[source]
openstack_dashboard.dashboards.admin.volumes.volume_types.tables.render_spec_keys(qos_spec)[source]

Previous topic

The openstack_dashboard.dashboards.admin.volumes Module

Next topic

The openstack_dashboard.dashboards.admin.volumes.volume_types.tests Module

This Page