Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 4b137326f38b5adf1f9ffd3dbbb48a7b > files > 302

deltacloud-core-doc-0.4.0-4.fc15.noarch.rpm

<?xml version="1.0" encoding="iso-8859-1"?>
<!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" xml:lang="en" lang="en">
<head>
  <title>Class: Deltacloud::Drivers::Eucalyptus::EucalyptusDriver</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <meta http-equiv="Content-Script-Type" content="text/javascript" />
  <link rel="stylesheet" href="../../../.././rdoc-style.css" type="text/css" media="screen" />
  <script type="text/javascript">
  // <![CDATA[

  function popupCode( url ) {
    window.open(url, "Code", "resizable=yes,scrollbars=yes,toolbar=no,status=no,height=150,width=400")
  }

  function toggleCode( id ) {
    if ( document.getElementById )
      elem = document.getElementById( id );
    else if ( document.all )
      elem = eval( "document.all." + id );
    else
      return false;

    elemStyle = elem.style;
    
    if ( elemStyle.display != "block" ) {
      elemStyle.display = "block"
    } else {
      elemStyle.display = "none"
    }

    return true;
  }
  
  // Make codeblocks hidden by default
  document.writeln( "<style type=\"text/css\">div.method-source-code { display: none }</style>" )
  
  // ]]>
  </script>

</head>
<body>



    <div id="classHeader">
        <table class="header-table">
        <tr class="top-aligned-row">
          <td><strong>Class</strong></td>
          <td class="class-name-in-header">Deltacloud::Drivers::Eucalyptus::EucalyptusDriver</td>
        </tr>
        <tr class="top-aligned-row">
            <td><strong>In:</strong></td>
            <td>
                <a href="../../../../files/lib/deltacloud/drivers/eucalyptus/eucalyptus_driver_rb.html">
                lib/deltacloud/drivers/eucalyptus/eucalyptus_driver.rb
                </a>
        <br />
            </td>
        </tr>

        <tr class="top-aligned-row">
            <td><strong>Parent:</strong></td>
            <td>
                EC2::EC2Driver
            </td>
        </tr>
        </table>
    </div>
  <!-- banner header -->

  <div id="bodyContent">



  <div id="contextContent">



   </div>

    <div id="method-list">
      <h3 class="section-bar">Methods</h3>

      <div class="name-list">
      <a href="#M000455">create_firewall_rule</a>&nbsp;&nbsp;
      <a href="#M000451">create_load_balancer</a>&nbsp;&nbsp;
      <a href="#M000445">default_image_owner</a>&nbsp;&nbsp;
      <a href="#M000446">default_image_type</a>&nbsp;&nbsp;
      <a href="#M000456">delete_firewall_rule</a>&nbsp;&nbsp;
      <a href="#M000452">destroy_load_balancer</a>&nbsp;&nbsp;
      <a href="#M000458">endpoint_for_service</a>&nbsp;&nbsp;
      <a href="#M000444">instance_state_machine</a>&nbsp;&nbsp;
      <a href="#M000443">instance_state_machine</a>&nbsp;&nbsp;
      <a href="#M000453">lb_register_instance</a>&nbsp;&nbsp;
      <a href="#M000454">lb_unregister_instance</a>&nbsp;&nbsp;
      <a href="#M000449">load_balancer</a>&nbsp;&nbsp;
      <a href="#M000450">load_balancers</a>&nbsp;&nbsp;
      <a href="#M000457">new_client</a>&nbsp;&nbsp;
      <a href="#M000442">supported_collections</a>&nbsp;&nbsp;
      <a href="#M000447">tag_instance</a>&nbsp;&nbsp;
      <a href="#M000448">untag_instance</a>&nbsp;&nbsp;
      </div>
    </div>

  </div>


    <!-- if includes -->

    <div id="section">


    <div id="constants-list">
      <h3 class="section-bar">Constants</h3>

      <div class="name-list">
        <table summary="Constants">
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">SERVICE_STUBS</td>
          <td>=</td>
          <td class="context-item-value">{           &quot;ec2&quot; =&gt; &quot;/services/Eucalyptus&quot;,           &quot;s3&quot; =&gt; &quot;/services/Walrus&quot;</td>
        </tr>
        <tr class="top-aligned-row context-row">
          <td class="context-item-name">DEFAULT_PORT</td>
          <td>=</td>
          <td class="context-item-value">8773</td>
        </tr>
        </table>
      </div>
    </div>



      


    <!-- if method_list -->
    <div id="methods">
      <h3 class="section-bar">Public Class methods</h3>

      <div id="method-M000443" class="method-detail">
        <a name="M000443"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000443.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000443.html');return false;">
          <span class="method-name">instance_state_machine</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <h3 class="section-bar">Public Instance methods</h3>

      <div id="method-M000455" class="method-detail">
        <a name="M000455"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000455.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000455.html');return false;">
          <span class="method-name">create_firewall_rule</span><span class="method-args">(credentials, opts={})</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
override <a href="../EC2.html">EC2</a> implementation; <a
href="../Eucalyptus.html">Eucalyptus</a> implements the older definition of
<a href="../EC2.html">EC2</a> security group; <a
href="http://docs.amazonwebservices.com/AWSEC2/2009-07-15/APIReference/index.html?ApiReference-query-AuthorizeSecurityGroupIngress.html">docs.amazonwebservices.com/AWSEC2/2009-07-15/APIReference/index.html?ApiReference-query-AuthorizeSecurityGroupIngress.html</a>
if the rule specifies a source group, port&amp;protocol will be ignored.
And source group and cidr range can&#8216;t be mixed in a request
</p>
        </div>
      </div>

      <div id="method-M000451" class="method-detail">
        <a name="M000451"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000451.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000451.html');return false;">
          <span class="method-name">create_load_balancer</span><span class="method-args">(credentials, opts={})</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000445" class="method-detail">
        <a name="M000445"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000445.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000445.html');return false;">
          <span class="method-name">default_image_owner</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000446" class="method-detail">
        <a name="M000446"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000446.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000446.html');return false;">
          <span class="method-name">default_image_type</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000456" class="method-detail">
        <a name="M000456"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000456.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000456.html');return false;">
          <span class="method-name">delete_firewall_rule</span><span class="method-args">(credentials, opts={})</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000452" class="method-detail">
        <a name="M000452"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000452.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000452.html');return false;">
          <span class="method-name">destroy_load_balancer</span><span class="method-args">(credentials, id)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000458" class="method-detail">
        <a name="M000458"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000458.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000458.html');return false;">
          <span class="method-name">endpoint_for_service</span><span class="method-args">(service)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000444" class="method-detail">
        <a name="M000444"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000444.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000444.html');return false;">
          <span class="method-name">instance_state_machine</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000453" class="method-detail">
        <a name="M000453"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000453.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000453.html');return false;">
          <span class="method-name">lb_register_instance</span><span class="method-args">(credentials, opts={})</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000454" class="method-detail">
        <a name="M000454"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000454.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000454.html');return false;">
          <span class="method-name">lb_unregister_instance</span><span class="method-args">(credentials, opts={})</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000449" class="method-detail">
        <a name="M000449"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000449.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000449.html');return false;">
          <span class="method-name">load_balancer</span><span class="method-args">(credentials, opts={})</span>
          </a>
        </div>
      
        <div class="method-description">
          <p>
because load balancer is not on the <a
href="EucalyptusDriver.html#M000442">supported_collections</a>, the
following methods shouldn&#8216;t be called.
</p>
        </div>
      </div>

      <div id="method-M000450" class="method-detail">
        <a name="M000450"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000450.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000450.html');return false;">
          <span class="method-name">load_balancers</span><span class="method-args">(credentials, opts=nil)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000457" class="method-detail">
        <a name="M000457"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000457.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000457.html');return false;">
          <span class="method-name">new_client</span><span class="method-args">(credentials, type = :ec2)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000442" class="method-detail">
        <a name="M000442"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000442.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000442.html');return false;">
          <span class="method-name">supported_collections</span><span class="method-args">()</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000447" class="method-detail">
        <a name="M000447"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000447.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000447.html');return false;">
          <span class="method-name">tag_instance</span><span class="method-args">(credentials, instance, name)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>

      <div id="method-M000448" class="method-detail">
        <a name="M000448"></a>

        <div class="method-heading">
          <a href="EucalyptusDriver.src/M000448.html" target="Code" class="method-signature"
            onclick="popupCode('EucalyptusDriver.src/M000448.html');return false;">
          <span class="method-name">untag_instance</span><span class="method-args">(credentials, instance_id)</span>
          </a>
        </div>
      
        <div class="method-description">
        </div>
      </div>


    </div>


  </div>


<div id="validator-badges">
  <p><small><a href="http://validator.w3.org/check/referer">[Validate]</a></small></p>
</div>

</body>
</html>