Sophie

Sophie

distrib > Fedora > 18 > i386 > by-pkgid > 6f61f4fc58119d17ef9d99939eb417b3 > files > 634

python-django-horizon-doc-2012.2.3-1.fc18.noarch.rpm


<!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.images.tables Module &mdash; 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.images.tabs Module" href="horizon.dashboards.nova.images_and_snapshots.images.tabs.html" />
    <link rel="prev" title="The horizon.dashboards.nova.images_and_snapshots.images Module" href="horizon.dashboards.nova.images_and_snapshots.images.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-images-tables-module">
<h1>The <tt class="xref py py-mod docutils literal"><span class="pre">horizon.dashboards.nova.images_and_snapshots.images.tables</span></tt> Module<a class="headerlink" href="#the-horizon-dashboards-nova-images-and-snapshots-images-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.images.tables.</tt><tt class="descname">CreateImage</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/images/tables.html#CreateImage"><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="attribute">
<dt>
<tt class="descclassname">CreateImage.</tt><tt class="descname">classes</tt><em class="property"> = ('ajax-modal', 'btn-create')</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">CreateImage.</tt><tt class="descname">name</tt><em class="property"> = 'create'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">CreateImage.</tt><tt class="descname">url</tt><em class="property"> = 'horizon:nova:images_and_snapshots:images:create'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">CreateImage.</tt><tt class="descname">verbose_name</tt><em class="property"> = &lt;django.utils.functional.__proxy__ object at 0xadad52c&gt;</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.images.tables.</tt><tt class="descname">DeleteImage</tt><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#DeleteImage"><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="method">
<dt>
<tt class="descclassname">DeleteImage.</tt><tt class="descname">allowed</tt><big>(</big><em>request</em>, <em>image=None</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#DeleteImage.allowed"><span class="viewcode-link">[source]</span></a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">DeleteImage.</tt><tt class="descname">data_type_plural</tt><em class="property"> = &lt;django.utils.functional.__proxy__ object at 0xad72acc&gt;</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">DeleteImage.</tt><tt class="descname">data_type_singular</tt><em class="property"> = &lt;django.utils.functional.__proxy__ object at 0xacd490c&gt;</em></dt>
<dd></dd></dl>

<dl class="method">
<dt>
<tt class="descclassname">DeleteImage.</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/images/tables.html#DeleteImage.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.images.tables.</tt><tt class="descname">EditImage</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/images/tables.html#EditImage"><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">EditImage.</tt><tt class="descname">allowed</tt><big>(</big><em>request</em>, <em>image=None</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#EditImage.allowed"><span class="viewcode-link">[source]</span></a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">EditImage.</tt><tt class="descname">classes</tt><em class="property"> = ('ajax-modal', 'btn-edit')</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">EditImage.</tt><tt class="descname">name</tt><em class="property"> = 'edit'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">EditImage.</tt><tt class="descname">url</tt><em class="property"> = 'horizon:nova:images_and_snapshots:images:update'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">EditImage.</tt><tt class="descname">verbose_name</tt><em class="property"> = &lt;django.utils.functional.__proxy__ object at 0xad72e2c&gt;</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.images.tables.</tt><tt class="descname">ImagesTable</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/images/tables.html#ImagesTable"><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.DataTable</span></tt></p>
<dl class="class">
<dt>
<em class="property">class </em><tt class="descclassname">ImagesTable.</tt><tt class="descname">Meta</tt><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#ImagesTable.Meta"><span class="viewcode-link">[source]</span></a></dt>
<dd><dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.Meta.</tt><tt class="descname">name</tt><em class="property"> = 'images'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.Meta.</tt><tt class="descname">pagination_param</tt><em class="property"> = 'image_marker'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.Meta.</tt><tt class="descname">row_actions</tt><em class="property"> = (&lt;class 'horizon.dashboards.nova.images_and_snapshots.images.tables.LaunchImage'&gt;, &lt;class 'horizon.dashboards.nova.images_and_snapshots.images.tables.EditImage'&gt;, &lt;class 'horizon.dashboards.nova.images_and_snapshots.images.tables.DeleteImage'&gt;)</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.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">ImagesTable.Meta.</tt><tt class="descname">status_columns</tt><em class="property"> = ['status']</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.Meta.</tt><tt class="descname">table_actions</tt><em class="property"> = (&lt;class 'horizon.dashboards.nova.images_and_snapshots.images.tables.CreateImage'&gt;, &lt;class 'horizon.dashboards.nova.images_and_snapshots.images.tables.DeleteImage'&gt;)</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.Meta.</tt><tt class="descname">verbose_name</tt><em class="property"> = &lt;django.utils.functional.__proxy__ object at 0xad6562c&gt;</em></dt>
<dd></dd></dl>

</dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.</tt><tt class="descname">STATUS_CHOICES</tt><em class="property"> = (('active', True), ('saving', None), ('queued', None), ('pending_delete', None), ('killed', False), ('deleted', False))</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.</tt><tt class="descname">base_actions</tt><em class="property"> = {'create': &lt;CreateImage: create&gt;, 'delete': &lt;DeleteImage: delete&gt;, 'edit': &lt;EditImage: edit&gt;, 'launch_image': &lt;LaunchImage: launch_image&gt;}</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">ImagesTable.</tt><tt class="descname">base_columns</tt><em class="property"> = {'name': &lt;Column: name&gt;, 'image_type': &lt;Column: image_type&gt;, 'status': &lt;Column: status&gt;, 'public': &lt;Column: public&gt;, 'disk_format': &lt;Column: disk_format&gt;}</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.images.tables.</tt><tt class="descname">LaunchImage</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/images/tables.html#LaunchImage"><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="attribute">
<dt>
<tt class="descclassname">LaunchImage.</tt><tt class="descname">classes</tt><em class="property"> = ('btn-launch', 'ajax-modal')</em></dt>
<dd></dd></dl>

<dl class="method">
<dt>
<tt class="descclassname">LaunchImage.</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/images/tables.html#LaunchImage.get_link_url"><span class="viewcode-link">[source]</span></a></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">LaunchImage.</tt><tt class="descname">name</tt><em class="property"> = 'launch_image'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">LaunchImage.</tt><tt class="descname">url</tt><em class="property"> = 'horizon:nova:instances:launch'</em></dt>
<dd></dd></dl>

<dl class="attribute">
<dt>
<tt class="descclassname">LaunchImage.</tt><tt class="descname">verbose_name</tt><em class="property"> = &lt;django.utils.functional.__proxy__ object at 0xada9fcc&gt;</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.images.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/images/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>image_id</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#UpdateRow.get_data"><span class="viewcode-link">[source]</span></a></dt>
<dd></dd></dl>

</dd></dl>

<dl class="function">
<dt>
<tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.images.tables.</tt><tt class="descname">get_format</tt><big>(</big><em>image</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#get_format"><span class="viewcode-link">[source]</span></a></dt>
<dd></dd></dl>

<dl class="function">
<dt>
<tt class="descclassname">horizon.dashboards.nova.images_and_snapshots.images.tables.</tt><tt class="descname">get_image_type</tt><big>(</big><em>image</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/nova/images_and_snapshots/images/tables.html#get_image_type"><span class="viewcode-link">[source]</span></a></dt>
<dd></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.images.html"
                                  title="previous chapter">The <tt class="docutils literal docutils literal docutils literal"><span class="pre">horizon.dashboards.nova.images_and_snapshots.images</span></tt> Module</a></p>
            <h4>Next topic</h4>
            <p class="topless"><a href="horizon.dashboards.nova.images_and_snapshots.images.tabs.html"
                                  title="next chapter">The <tt class="docutils literal"><span class="pre">horizon.dashboards.nova.images_and_snapshots.images.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.images.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.images.tabs.html" title="The horizon.dashboards.nova.images_and_snapshots.images.tabs Module"
             accesskey="N">next</a> |</li>
        <li class="right" >
          <a href="horizon.dashboards.nova.images_and_snapshots.images.html" title="The horizon.dashboards.nova.images_and_snapshots.images Module"
             accesskey="P">previous</a> |</li>
        <li><a href="../../index.html">Horizon 2012.2.3 documentation</a> &raquo;</li>
          <li><a href="../autoindex.html" accesskey="U">Source Code Index</a> &raquo;</li> 
      </ul>
    </div>
    <div class="footer">
        &copy; 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>