<!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.syspanel.flavors.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.syspanel.flavors.tests Module" href="horizon.dashboards.syspanel.flavors.tests.html" /> <link rel="prev" title="The horizon.dashboards.syspanel.flavors Module" href="horizon.dashboards.syspanel.flavors.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-syspanel-flavors-tables-module"> <h1>The <tt class="xref py py-mod docutils literal"><span class="pre">horizon.dashboards.syspanel.flavors.tables</span></tt> Module<a class="headerlink" href="#the-horizon-dashboards-syspanel-flavors-tables-module" title="Permalink to this headline">ΒΆ</a></h1> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.syspanel.flavors.tables.</tt><tt class="descname">CreateFlavor</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/syspanel/flavors/tables.html#CreateFlavor"><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">CreateFlavor.</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">CreateFlavor.</tt><tt class="descname">name</tt><em class="property"> = 'create'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">CreateFlavor.</tt><tt class="descname">url</tt><em class="property"> = 'horizon:syspanel:flavors:create'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">CreateFlavor.</tt><tt class="descname">verbose_name</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xb1324ac></em></dt> <dd></dd></dl> </dd></dl> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.syspanel.flavors.tables.</tt><tt class="descname">DeleteFlavor</tt><a class="reference internal" href="../../_modules/horizon/dashboards/syspanel/flavors/tables.html#DeleteFlavor"><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">DeleteFlavor.</tt><tt class="descname">data_type_plural</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xb13244c></em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">DeleteFlavor.</tt><tt class="descname">data_type_singular</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xb13242c></em></dt> <dd></dd></dl> <dl class="method"> <dt> <tt class="descclassname">DeleteFlavor.</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/syspanel/flavors/tables.html#DeleteFlavor.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.syspanel.flavors.tables.</tt><tt class="descname">EditFlavor</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/syspanel/flavors/tables.html#EditFlavor"><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">EditFlavor.</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">EditFlavor.</tt><tt class="descname">name</tt><em class="property"> = 'edit'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">EditFlavor.</tt><tt class="descname">url</tt><em class="property"> = 'horizon:syspanel:flavors:edit'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">EditFlavor.</tt><tt class="descname">verbose_name</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xb1325ac></em></dt> <dd></dd></dl> </dd></dl> <dl class="class"> <dt> <em class="property">class </em><tt class="descclassname">horizon.dashboards.syspanel.flavors.tables.</tt><tt class="descname">FlavorsTable</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/syspanel/flavors/tables.html#FlavorsTable"><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">FlavorsTable.</tt><tt class="descname">Meta</tt><a class="reference internal" href="../../_modules/horizon/dashboards/syspanel/flavors/tables.html#FlavorsTable.Meta"><span class="viewcode-link">[source]</span></a></dt> <dd><dl class="attribute"> <dt> <tt class="descclassname">FlavorsTable.Meta.</tt><tt class="descname">name</tt><em class="property"> = 'flavors'</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">FlavorsTable.Meta.</tt><tt class="descname">row_actions</tt><em class="property"> = (<class 'horizon.dashboards.syspanel.flavors.tables.EditFlavor'>, <class 'horizon.dashboards.syspanel.flavors.tables.DeleteFlavor'>)</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">FlavorsTable.Meta.</tt><tt class="descname">table_actions</tt><em class="property"> = (<class 'horizon.dashboards.syspanel.flavors.tables.CreateFlavor'>, <class 'horizon.dashboards.syspanel.flavors.tables.DeleteFlavor'>)</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">FlavorsTable.Meta.</tt><tt class="descname">verbose_name</tt><em class="property"> = <django.utils.functional.__proxy__ object at 0xb132a6c></em></dt> <dd></dd></dl> </dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">FlavorsTable.</tt><tt class="descname">base_actions</tt><em class="property"> = {'create': <CreateFlavor: create>, 'delete': <DeleteFlavor: delete>, 'edit': <EditFlavor: edit>}</em></dt> <dd></dd></dl> <dl class="attribute"> <dt> <tt class="descclassname">FlavorsTable.</tt><tt class="descname">base_columns</tt><em class="property"> = {'name': <Column: name>, 'vcpus': <Column: vcpus>, 'ram': <Column: ram>, 'disk': <Column: disk>, 'ephemeral': <Column: ephemeral>, 'flavor_id': <Column: flavor_id>}</em></dt> <dd></dd></dl> </dd></dl> <dl class="function"> <dt> <tt class="descclassname">horizon.dashboards.syspanel.flavors.tables.</tt><tt class="descname">get_size</tt><big>(</big><em>flavor</em><big>)</big><a class="reference internal" href="../../_modules/horizon/dashboards/syspanel/flavors/tables.html#get_size"><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.syspanel.flavors.html" title="previous chapter">The <tt class="docutils literal docutils literal docutils literal"><span class="pre">horizon.dashboards.syspanel.flavors</span></tt> Module</a></p> <h4>Next topic</h4> <p class="topless"><a href="horizon.dashboards.syspanel.flavors.tests.html" title="next chapter">The <tt class="docutils literal"><span class="pre">horizon.dashboards.syspanel.flavors.tests</span></tt> Module</a></p> <h3>This Page</h3> <ul class="this-page-menu"> <li><a href="../../_sources/sourcecode/horizon/horizon.dashboards.syspanel.flavors.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.syspanel.flavors.tests.html" title="The horizon.dashboards.syspanel.flavors.tests Module" accesskey="N">next</a> |</li> <li class="right" > <a href="horizon.dashboards.syspanel.flavors.html" title="The horizon.dashboards.syspanel.flavors 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>