<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>The horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables Module — Horizon 2012.2.3 documentation</title> <link rel="stylesheet" href="../../_static/nature.css" type="text/css" /> <link rel="stylesheet" href="../../_static/pygments.css" type="text/css" /> <link rel="stylesheet" href="../../_static/tweaks.css" type="text/css" /> <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../../', VERSION: '2012.2.3', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: true }; </script> <script type="text/javascript" src="../../_static/jquery.js"></script> <script type="text/javascript" src="../../_static/underscore.js"></script> <script type="text/javascript" src="../../_static/doctools.js"></script> <script type="text/javascript" src="../../_static/jquery.tweet.js"></script> <link rel="top" title="Horizon 2012.2.3 documentation" href="../../index.html" /> <link rel="up" title="Source Code Index" href="../autoindex.html" /> <link rel="next" title="The horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tabs Module" href="horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tabs.html" /> <link rel="prev" title="The horizon.dashboards.nova.images_and_snapshots.volume_snapshots Module" href="horizon.dashboards.nova.images_and_snapshots.volume_snapshots.html" /> </head> <body> <div id="header"> <h1 id="logo"><a href="http://www.openstack.org/">OpenStack</a></h1> <ul id="navigation"> <li><a href="http://www.openstack.org/" title="Go to the Home page" class="link">Home</a></li> <li><a href="http://www.openstack.org/projects/" title="Go to the OpenStack Projects page">Projects</a></li> <li><a href="http://www.openstack.org/user-stories/" title="Go to the User Stories page" class="link">User Stories</a></li> <li><a href="http://www.openstack.org/community/" title="Go to the Community page" class="link">Community</a></li> <li><a href="http://www.openstack.org/blog/" title="Go to the OpenStack Blog">Blog</a></li> <li><a href="http://wiki.openstack.org/" title="Go to the OpenStack Wiki">Wiki</a></li> <li><a href="http://docs.openstack.org/" title="Go to OpenStack Documentation" class="current">Documentation</a></li> </ul> </div> <div class="document"> <div class="documentwrapper"> <div class="bodywrapper"> <div class="body"> <div class="section" id="the-horizon-dashboards-nova-images-and-snapshots-volume-snapshots-tables-module"> <h1>The <tt class="xref py py-mod docutils literal"><span class="pre">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables</span></tt> Module<a class="headerlink" href="#the-horizon-dashboards-nova-images-and-snapshots-volume-snapshots-tables-module" title="Permalink to this headline">ΒΆ</a></h1> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.</tt><tt class="descname">CreateVolumeFromSnapshot</tt><big>(</big><em>verbose_name=None</em>, <em>allowed_data_types=</em><span class="optional">[</span><span class="optional">]</span>, <em>url=None</em>, <em>attrs=None</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#CreateVolumeFromSnapshot"><span class="viewcode-link">[source]</span></a></dt> <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">horizon.tables.actions.LinkAction</span></tt></p> <dl class="method"> <dt> <tt class="descclassname">CreateVolumeFromSnapshot.</tt><tt class="descname">allowed</tt><big>(</big><em>request</em>, <em>volume=None</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#CreateVolumeFromSnapshot.allowed"><span class="viewcode-link">[source]</span></a></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">CreateVolumeFromSnapshot.</tt><tt class="descname">classes</tt><em class="property"> = ('ajax-modal', 'btn-camera')</em></dt> <dd></dd></dl> <dl class="method"> <dt> <tt class="descclassname">CreateVolumeFromSnapshot.</tt><tt class="descname">get_link_url</tt><big>(</big><em>datum</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#CreateVolumeFromSnapshot.get_link_url"><span class="viewcode-link">[source]</span></a></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">CreateVolumeFromSnapshot.</tt><tt class="descname">name</tt><em class="property"> = 'create_from_snapshot'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">CreateVolumeFromSnapshot.</tt><tt class="descname">url</tt><em class="property"> = 'horizon:nova:volumes:create'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">CreateVolumeFromSnapshot.</tt><tt class="descname">verbose_name</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xad3818c></em></dt> <dd></dd></dl> </dd></dl> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.</tt><tt class="descname">DeleteVolumeSnapshot</tt><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#DeleteVolumeSnapshot"><span class="viewcode-link">[source]</span></a></dt> <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">horizon.tables.actions.DeleteAction</span></tt></p> <dl class="attribute"> <dt> <tt class="descclassname">DeleteVolumeSnapshot.</tt><tt class="descname">data_type_plural</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xad380ac></em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">DeleteVolumeSnapshot.</tt><tt class="descname">data_type_singular</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xad383ec></em></dt> <dd></dd></dl> <dl class="method"> <dt> <tt class="descclassname">DeleteVolumeSnapshot.</tt><tt class="descname">delete</tt><big>(</big><em>request</em>, <em>obj_id</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#DeleteVolumeSnapshot.delete"><span class="viewcode-link">[source]</span></a></dt> <dd></dd></dl> </dd></dl> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.</tt><tt class="descname">SnapshotVolumeNameColumn</tt><big>(</big><em>transform</em>, <em>verbose_name=None</em>, <em>sortable=True</em>, <em>link=None</em>, <em>allowed_data_types=</em><span class="optional">[</span><span class="optional">]</span>, <em>hidden=False</em>, <em>attrs=None</em>, <em>status=False</em>, <em>status_choices=None</em>, <em>display_choices=None</em>, <em>empty_value=None</em>, <em>filters=None</em>, <em>classes=None</em>, <em>summation=None</em>, <em>auto=None</em>, <em>truncate=None</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#SnapshotVolumeNameColumn"><span class="viewcode-link">[source]</span></a></dt> <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">horizon.tables.base.Column</span></tt></p> <dl class="method"> <dt> <tt class="descclassname">SnapshotVolumeNameColumn.</tt><tt class="descname">get_link_url</tt><big>(</big><em>snapshot</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#SnapshotVolumeNameColumn.get_link_url"><span class="viewcode-link">[source]</span></a></dt> <dd></dd></dl> <dl class="method"> <dt> <tt class="descclassname">SnapshotVolumeNameColumn.</tt><tt class="descname">get_raw_data</tt><big>(</big><em>snapshot</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#SnapshotVolumeNameColumn.get_raw_data"><span class="viewcode-link">[source]</span></a></dt> <dd></dd></dl> </dd></dl> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.</tt><tt class="descname">UpdateRow</tt><big>(</big><em>table</em>, <em>datum=None</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#UpdateRow"><span class="viewcode-link">[source]</span></a></dt> <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">horizon.tables.base.Row</span></tt></p> <dl class="attribute"> <dt> <tt class="descclassname">UpdateRow.</tt><tt class="descname">ajax</tt><em class="property"> = True</em></dt> <dd></dd></dl> <dl class="method"> <dt> <tt class="descclassname">UpdateRow.</tt><tt class="descname">get_data</tt><big>(</big><em>request</em>, <em>snapshot_id</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#UpdateRow.get_data"><span class="viewcode-link">[source]</span></a></dt> <dd></dd></dl> </dd></dl> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.</tt><tt class="descname">VolumeSnapshotsTable</tt><big>(</big><em>request</em>, <em>data=None</em>, <em>needs_form_wrapper=None</em>, <em>**kwargs</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#VolumeSnapshotsTable"><span class="viewcode-link">[source]</span></a></dt> <dd><p>Bases: <tt class="xref py py-class docutils literal"><span class="pre">horizon.dashboards.nova.volumes.tables.VolumesTableBase</span></tt></p> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">VolumeSnapshotsTable.</tt><tt class="descname">Meta</tt><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/volume_snapshots/tables.html#VolumeSnapshotsTable.Meta"><span class="viewcode-link">[source]</span></a></dt> <dd><dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.Meta.</tt><tt class="descname">name</tt><em class="property"> = 'volume_snapshots'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.Meta.</tt><tt class="descname">row_actions</tt><em class="property"> = (<class 'horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.CreateVolumeFromSnapshot'>, <class 'horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.DeleteVolumeSnapshot'>)</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.Meta.</tt><tt class="descname">row_class</tt></dt> <dd><p>alias of <tt class="xref py py-class docutils literal"><span class="pre">UpdateRow</span></tt></p> </dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.Meta.</tt><tt class="descname">status_columns</tt><em class="property"> = ('status',)</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.Meta.</tt><tt class="descname">table_actions</tt><em class="property"> = (<class 'horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.DeleteVolumeSnapshot'>,)</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.Meta.</tt><tt class="descname">verbose_name</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xad3884c></em></dt> <dd></dd></dl> </dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.</tt><tt class="descname">base_actions</tt><em class="property"> = {'create_from_snapshot': <CreateVolumeFromSnapshot: create_from_snapshot>, 'delete': <DeleteVolumeSnapshot: delete>}</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">VolumeSnapshotsTable.</tt><tt class="descname">base_columns</tt><em class="property"> = {'name': <Column: name>, 'description': <Column: description>, 'size': <Column: size>, 'status': <Column: status>, 'volume_name': <SnapshotVolumeNameColumn: volume_name>}</em></dt> <dd></dd></dl> </dd></dl> </div> </div> </div> </div> <div class="sphinxsidebar"> <div class="sphinxsidebarwrapper"> <h4>Previous topic</h4> <p class="topless"><a href="horizon.dashboards.nova.images_and_snapshots.volume_snapshots.html" title="previous chapter">The <tt class="docutils literal docutils literal docutils literal"><span class="pre">horizon.dashboards.nova.images_and_snapshots.volume_snapshots</span></tt> Module</a></p> <h4>Next topic</h4> <p class="topless"><a href="horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tabs.html" title="next chapter">The <tt class="docutils literal"><span class="pre">horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tabs</span></tt> Module</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../../_sources/sourcecode/horizon/horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tables.txt" rel="nofollow">Show Source</a></li> </ul> <div id="searchbox" style="display: none"> <h3>Quick search</h3> <form class="search" action="../../search.html" method="get"> <input type="text" name="q" size="18" /> <input type="submit" value="Go" /> <input type="hidden" name="check_keywords" value="yes" /> <input type="hidden" name="area" value="default" /> </form> <p class="searchtip" style="font-size: 90%"> Enter search terms or a module, class or function name. </p> </div> <script type="text/javascript">$('#searchbox').show(0);</script> </div> </div> <div class="clearer"></div> </div> <div class="related"> <h3>Navigation</h3> <ul> <li class="right" style="margin-right: 10px"> <a href="../../genindex.html" title="General Index" accesskey="I">index</a></li> <li class="right" > <a href="../../py-modindex.html" title="Python Module Index" >modules</a> |</li> <li class="right" > <a href="horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tabs.html" title="The horizon.dashboards.nova.images_and_snapshots.volume_snapshots.tabs Module" accesskey="N">next</a> |</li> <li class="right" > <a href="horizon.dashboards.nova.images_and_snapshots.volume_snapshots.html" title="The horizon.dashboards.nova.images_and_snapshots.volume_snapshots Module" accesskey="P">previous</a> |</li> <li><a href="../../index.html">Horizon 2012.2.3 documentation</a> »</li> <li><a href="../autoindex.html" accesskey="U">Source Code Index</a> »</li> </ul> </div> <div class="footer"> © Copyright 2012, OpenStack, LLC. Last updated on Feb 08, 2013. Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3. </div> </body> </html>