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 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'plus', 'name': 'create', 'url': 'horizon:admin:volumes:volume_types:create_qos_spec', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0xac90b50>, '__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 0xac90b50>
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 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'plus', 'name': 'create', 'url': 'horizon:admin:volumes:volume_types:create_type', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x7909a90>, '__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 0x7909a90>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.CreateVolumeTypeEncryption(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

CreateVolumeTypeEncryption.allowed(request, volume_type)[source]
CreateVolumeTypeEncryption.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:volume_type_encryption'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0xb839500>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'plus', 'name': 'create_encryption', 'url': 'horizon:admin:volumes:volume_types:create_type_encryption', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x7909e10>, '__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 '}
CreateVolumeTypeEncryption.classes = ('ajax-modal',)
CreateVolumeTypeEncryption.icon = 'plus'
CreateVolumeTypeEncryption.name = 'create_encryption'
CreateVolumeTypeEncryption.policy_rules = (('volume', 'volume_extension:volume_type_encryption'),)
CreateVolumeTypeEncryption.url = 'horizon:admin:volumes:volume_types:create_type_encryption'
CreateVolumeTypeEncryption.verbose_name = <django.utils.functional.__proxy__ object at 0x7909e10>
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 0x3b14230>, 'update': <function update at 0x3b140c8>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_success_url': <function get_success_url at 0x3b14140>, 'get_param_name': <function get_param_name at 0x3b13668>, 'allowed': <function allowed at 0x3b13320>, 'help_text': <django.utils.functional.__proxy__ object at 0x3b0eb10>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, '__init__': <function __init__ at 0x3b142a8>, 'name': 'delete', 'action_present': <staticmethod object at 0xb825e18>, 'action_past': <staticmethod object at 0xb8258a0>, 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b14410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13ed8>, '_get_action_name': <function _get_action_name at 0x3b13f50>, '__repr__': <function __repr__ at 0x3b13578>, 'action': <function action at 0x3b14320>, 'get_default_attrs': <function get_default_attrs at 0x3b141b8>, '__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 0xb846050>}
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 0x3b14230>, 'update': <function update at 0x3b140c8>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_success_url': <function get_success_url at 0x3b14140>, 'get_param_name': <function get_param_name at 0x3b13668>, 'allowed': <function allowed at 0x3b13320>, 'help_text': <django.utils.functional.__proxy__ object at 0x3b0eb10>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, '__init__': <function __init__ at 0x3b142a8>, 'name': 'delete', 'action_present': <staticmethod object at 0xb5e42f0>, 'action_past': <staticmethod object at 0xb825de0>, 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b14410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13ed8>, '_get_action_name': <function _get_action_name at 0x3b13f50>, '__repr__': <function __repr__ at 0x3b13578>, 'action': <function action at 0x3b14320>, 'get_default_attrs': <function get_default_attrs at 0x3b141b8>, '__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 0xb839488>}
DeleteVolumeType.delete(request, obj_id)[source]
DeleteVolumeType.policy_rules = (('volume', 'volume_extension:types_manage'),)
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteVolumeTypeEncryption(**kwargs)[source]

Bases: horizon.tables.actions.DeleteAction

static DeleteVolumeTypeEncryption.action_past(count)[source]
static DeleteVolumeTypeEncryption.action_present(count)[source]
DeleteVolumeTypeEncryption.allowed(request, volume_type=None)[source]
DeleteVolumeTypeEncryption.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'handle': <function handle at 0x3b14230>, 'update': <function update at 0x3b140c8>, 'policy_rules': (('volume', 'volume_extension:volume_type_encryption'),), 'get_success_url': <function get_success_url at 0x3b14140>, 'get_param_name': <function get_param_name at 0x3b13668>, 'allowed': <function allowed at 0xb8396e0>, 'help_text': <django.utils.functional.__proxy__ object at 0x3b0eb10>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, '__init__': <function __init__ at 0x3b142a8>, 'name': 'delete_encryption', 'action_present': <staticmethod object at 0xb825788>, 'action_past': <staticmethod object at 0xb825d00>, 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b14410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13ed8>, '_get_action_name': <function _get_action_name at 0x3b13f50>, '__repr__': <function __repr__ at 0x3b13578>, 'action': <function action at 0x3b14320>, 'get_default_attrs': <function get_default_attrs at 0x3b141b8>, '__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 0xb839668>}
DeleteVolumeTypeEncryption.delete(request, volume_type_id)[source]
DeleteVolumeTypeEncryption.name = 'delete_encryption'
DeleteVolumeTypeEncryption.policy_rules = (('volume', 'volume_extension:volume_type_encryption'),)
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 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'pencil', 'name': 'edit_consumer', 'url': 'horizon:admin:volumes:volume_types:edit_qos_spec_consumer', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0xac90dd0>, '__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 0xac90dd0>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.EditVolumeType(attrs=None, **kwargs)[source]

Bases: horizon.tables.actions.LinkAction

EditVolumeType.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'render': <function render at 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'pencil', 'name': 'edit', 'url': 'horizon:admin:volumes:volume_types:update_type', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x7909390>, '__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 '}
EditVolumeType.classes = ('ajax-modal',)
EditVolumeType.icon = 'pencil'
EditVolumeType.name = 'edit'
EditVolumeType.policy_rules = (('volume', 'volume_extension:types_manage'),)
EditVolumeType.url = 'horizon:admin:volumes:volume_types:update_type'
EditVolumeType.verbose_name = <django.utils.functional.__proxy__ object at 0x7909390>
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 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'pencil', 'name': 'qos_spec', 'url': 'horizon:admin:volumes:volume_types:qos_specs:index', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0xac90f90>, '__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 0xac90f90>
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 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'pencil', 'name': 'associate', 'url': 'horizon:admin:volumes:volume_types:manage_qos_spec_association', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x7909710>, '__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 0x7909710>
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]

Bases: object

QosSpecsTable.Meta.hidden_title = False
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 0xac90fd0>
QosSpecsTable.base_actions = OrderedDict([('create', <CreateQosSpec: create>), ('delete', <DeleteQosSpecs: delete>), ('edit_consumer', <EditConsumer: edit_consumer>), ('qos_spec', <ManageQosSpec: qos_spec>)])
QosSpecsTable.base_columns = OrderedDict([('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.UpdateCell[source]

Bases: horizon.tables.actions.UpdateAction

UpdateCell.allowed(request, volume_type, cell)[source]
UpdateCell.update_cell(request, data, volume_type_id, cell_name, new_cell_value)[source]
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.UpdateRow(table, datum=None)[source]

Bases: horizon.tables.base.Row

UpdateRow.ajax = True
UpdateRow.get_data(request, volume_type_id)[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 0x3b137d0>, 'update': <function update at 0x3b13410>, 'policy_rules': (('volume', 'volume_extension:types_manage'),), 'get_link_url': <function get_link_url at 0x3b138c0>, 'ajax': False, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, '__init__': <function __init__ at 0x3b136e0>, 'icon': 'pencil', 'name': 'extras', 'url': 'horizon:admin:volumes:volume_types:extras:index', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b13848>, '_allowed': <function _allowed at 0x3b13398>, 'classes': ('ajax-modal',), '__repr__': <function __repr__ at 0x3b13578>, 'get_ajax_update_url': <function get_ajax_update_url at 0x3b13758>, 'verbose_name': <django.utils.functional.__proxy__ object at 0x7909610>, '__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 = ('ajax-modal',)
ViewVolumeTypeExtras.icon = 'pencil'
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 0x7909610>
class openstack_dashboard.dashboards.admin.volumes.volume_types.tables.VolumeTypesFilterAction(**kwargs)[source]

Bases: horizon.tables.actions.FilterAction

VolumeTypesFilterAction.base_options = {'__module__': 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables', 'is_api_filter': <function is_api_filter at 0x3b13b90>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'allowed': <function allowed at 0x3b13320>, 'base_options': {'__module__': 'horizon.tables.actions', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'update': <function update at 0x3b13410>, 'get_policy_target': <function get_policy_target at 0x3b132a8>, 'associate_with_table': <function associate_with_table at 0x3b135f0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'allowed': <function allowed at 0x3b13320>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'base_options': {...}, '__doc__': 'Common base class for all ``Action`` classes.', '__init__': <function __init__ at 0x3b131b8>}, '__init__': <function __init__ at 0x3b13938>, 'filter': <function filter at 0xb839848>, 'name': 'filter', 'data_type_matched': <function data_type_matched at 0x3b13230>, 'get_default_classes': <function get_default_classes at 0x3b13488>, 'get_param_name': <function get_param_name at 0x3b139b0>, '__doc__': 'A base class representing a filter action for a table.\n\n .. attribute:: name\n\n The short name or "slug" representing this action. Defaults to\n ``"filter"``.\n\n .. attribute:: verbose_name\n\n A descriptive name used for display purposes. Defaults to the\n value of ``name`` with the first letter of each word capitalized.\n\n .. attribute:: param_name\n\n A string representing the name of the request parameter used for the\n search term. Default: ``"q"``.\n\n .. attribute:: filter_type\n\n A string representing the type of this filter. If this is set to\n ``"server"`` then ``filter_choices`` must also be provided.\n Default: ``"query"``.\n\n .. attribute:: filter_choices\n\n Required for server type filters. A tuple of tuples representing the\n filter options. Tuple composition should evaluate to (string, string,\n boolean), representing the filter parameter, display value, and whether\n or not it should be applied to the API request as an API query\n attribute. API type filters do not need to be accounted for in the\n filter method since the API will do the filtering. However, server\n type filters in general will need to be performed in the filter method.\n By default this attribute is not provided.\n\n .. attribute:: needs_preloading\n\n If True, the filter function will be called for the initial\n GET request with an empty ``filter_string``, regardless of the\n value of ``method``.\n ', 'data_type_filter': <function data_type_filter at 0x3b13aa0>, '_allowed': <function _allowed at 0x3b13398>, '__repr__': <function __repr__ at 0x3b13578>, 'get_default_attrs': <function get_default_attrs at 0x3b13500>, 'assign_type_string': <function assign_type_string at 0x3b13a28>, 'associate_with_table': <function associate_with_table at 0x3b135f0>}
VolumeTypesFilterAction.filter(table, volume_types, filter_string)[source]

Naive case-insensitive search.

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]

Bases: object

VolumeTypesTable.Meta.hidden_title = False
VolumeTypesTable.Meta.name = 'volume_types'
VolumeTypesTable.Meta.row_actions = (<class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.CreateVolumeTypeEncryption'>, <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.EditVolumeType'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteVolumeTypeEncryption'>, <class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.DeleteVolumeType'>)
VolumeTypesTable.Meta.row_class

alias of UpdateRow

VolumeTypesTable.Meta.table_actions = (<class 'openstack_dashboard.dashboards.admin.volumes.volume_types.tables.VolumeTypesFilterAction'>, <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 0xa3f0f50>
VolumeTypesTable.base_actions = OrderedDict([('associate', <ManageQosSpecAssociation: associate>), ('create', <CreateVolumeType: create>), ('create_encryption', <CreateVolumeTypeEncryption: create_encryption>), ('delete', <DeleteVolumeType: delete>), ('delete_encryption', <DeleteVolumeTypeEncryption: delete_encryption>), ('edit', <EditVolumeType: edit>), ('extras', <ViewVolumeTypeExtras: extras>), ('filter', <VolumeTypesFilterAction: filter>)])
VolumeTypesTable.base_columns = OrderedDict([('name', <Column: name>), ('description', <Column: description>), ('assoc_qos_spec', <Column: assoc_qos_spec>), ('encryption', <Column: encryption>)])
VolumeTypesTable.get_object_display(vol_type)[source]
VolumeTypesTable.get_object_id(vol_type)[source]
openstack_dashboard.dashboards.admin.volumes.volume_types.tables.get_volume_type_encryption(volume_type)[source]
openstack_dashboard.dashboards.admin.volumes.volume_types.tables.render_spec_keys(qos_spec)[source]

Previous topic

The openstack_dashboard.dashboards.admin.volumes.tabs Module

Next topic

The openstack_dashboard.dashboards.admin.volumes.volume_types Module

This Page