OSS_SNMP.MIBS.LAG.html 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. <!DOCTYPE html><html xmlns:date="http://exslt.org/dates-and-times" lang="en">
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  4. <meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
  5. <meta charset="utf-8">
  6. <title>OSS_SNMP » \OSS_SNMP\MIBS\LAG</title>
  7. <meta name="author" content="Mike van Riel">
  8. <meta name="description" content="">
  9. <link href="../css/template.css" rel="stylesheet" media="all">
  10. <script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
  11. <link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
  12. <link rel="apple-touch-icon" sizes="72x72" href="../img/apple-touch-icon-72x72.png">
  13. <link rel="apple-touch-icon" sizes="114x114" href="../img/apple-touch-icon-114x114.png">
  14. </head>
  15. <body>
  16. <div class="navbar navbar-fixed-top">
  17. <div class="navbar-inner"><div class="container">
  18. <a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">OSS_SNMP</a><div class="nav-collapse"><ul class="nav">
  19. <li class="dropdown">
  20. <a href="#api" class="dropdown-toggle" data-toggle="dropdown">
  21. API Documentation <b class="caret"></b></a><ul class="dropdown-menu">
  22. <li><a>Namespaces</a></li>
  23. <li><a href="../namespaces/OSS.html"><i class="icon-th"></i> OSS</a></li>
  24. <li><a href="../namespaces/OSS_SNMP.html"><i class="icon-th"></i> OSS_SNMP</a></li>
  25. </ul>
  26. </li>
  27. <li class="dropdown" id="charts-menu">
  28. <a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
  29. Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
  30. </li>
  31. <li class="dropdown" id="reports-menu">
  32. <a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
  33. Reports <b class="caret"></b></a><ul class="dropdown-menu">
  34. <li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors 
  35. <span class="label label-info">32</span></a></li>
  36. <li><a href="../markers.html"><i class="icon-map-marker"></i> Markers 
  37. <ul><li>todo 
  38. <span class="label label-info">1</span>
  39. </li></ul></a></li>
  40. <li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements 
  41. <span class="label label-info">0</span></a></li>
  42. </ul>
  43. </li>
  44. </ul></div>
  45. </div></div>
  46. <div class="go_to_top"><a href="#___" style="color: inherit">Back to top  <i class="icon-upload icon-white"></i></a></div>
  47. </div>
  48. <div id="___" class="container">
  49. <noscript><div class="alert alert-warning">
  50. Javascript is disabled; several features are only available
  51. if Javascript is enabled.
  52. </div></noscript>
  53. <div class="row">
  54. <div class="span4">
  55. <span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
  56. <button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
  57. </div>
  58. <ul class="side-nav nav nav-list">
  59. <li class="nav-header">
  60. <i class="icon-custom icon-method"></i> Methods</li>
  61. <li class="method public "><a href="#findFailedLAGPorts" title="findFailedLAGPorts :: Utility function to identify configured but unattached LAG ports"><span class="description">Utility function to identify configured but unattached LAG ports</span><pre>findFailedLAGPorts()</pre></a></li>
  62. <li class="method public "><a href="#getLAGPorts" title="getLAGPorts :: Gets an associate array of LAG ports with the [id] =&gt; name of it's constituent ports"><span class="description">Gets an associate array of LAG ports with the [id] =&gt; name of it's constituent ports</span><pre>getLAGPorts()</pre></a></li>
  63. <li class="method public "><a href="#isAggregatePorts" title="isAggregatePorts :: Returns an associate array of port IDs with a boolean value to indicate if it's an aggregate port (true)
  64. or an individual port (false)."><span class="description">Returns an associate array of port IDs with a boolean value to indicate if it's an aggregate port (true)
  65. or an individual port (false).</span><pre>isAggregatePorts()</pre></a></li>
  66. <li class="method public "><a href="#portAttachedIds" title="portAttachedIds :: Returns an associate array of port IDs with the ID of the aggregate port that
  67. they are a member of (else 0 if not a LAG port)"><span class="description">Returns an associate array of port IDs with the ID of the aggregate port that
  68. they are a member of (else 0 if not a LAG port)</span><pre>portAttachedIds()</pre></a></li>
  69. <li class="nav-header">
  70. <i class="icon-custom icon-constant"></i> Constants</li>
  71. <li class="constant "><a href="#OID_LAG_AGGREGATE_OR_INDIVIDUAL" title="OID_LAG_AGGREGATE_OR_INDIVIDUAL :: "><span class="description">OID_LAG_AGGREGATE_OR_INDIVIDUAL</span><pre>OID_LAG_AGGREGATE_OR_INDIVIDUAL</pre></a></li>
  72. <li class="constant "><a href="#OID_LAG_PORT_ATTACHED_ID" title="OID_LAG_PORT_ATTACHED_ID :: "><span class="description">OID_LAG_PORT_ATTACHED_ID</span><pre>OID_LAG_PORT_ATTACHED_ID</pre></a></li>
  73. </ul>
  74. </div>
  75. <div class="span8">
  76. <a name="%5COSS_SNMP%5CMIBS%5CLAG" id="\OSS_SNMP\MIBS\LAG"></a><ul class="breadcrumb">
  77. <li>
  78. <a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
  79. </li>
  80. <li><a href="../namespaces/OSS_SNMP.html">OSS_SNMP</a></li>
  81. <span class="divider">\</span><li><a href="../namespaces/OSS_SNMP.MIBS.html">MIBS</a></li>
  82. <li class="active">
  83. <span class="divider">\</span><a href="../classes/OSS_SNMP.MIBS.LAG.html">LAG</a>
  84. </li>
  85. </ul>
  86. <div href="../classes/OSS_SNMP.MIBS.LAG.html" class="element class">
  87. <p class="short_description">A class for performing SNMP V2 queries on generic devices</p>
  88. <div class="details">
  89. <p class="long_description"></p>
  90. <table class="table table-bordered">
  91. <tr>
  92. <th>copyright</th>
  93. <td>Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland</td>
  94. </tr>
  95. <tr>
  96. <th>author</th>
  97. <td><a href="mailto:barry@opensolutions.ie">Barry O'Donovan</a></td>
  98. </tr>
  99. </table>
  100. <h3>
  101. <i class="icon-custom icon-method"></i> Methods</h3>
  102. <a name="findFailedLAGPorts" id="findFailedLAGPorts"></a><div class="element clickable method public findFailedLAGPorts" data-toggle="collapse" data-target=".findFailedLAGPorts .collapse">
  103. <h2>Utility function to identify configured but unattached LAG ports</h2>
  104. <pre>findFailedLAGPorts() : array</pre>
  105. <div class="labels"></div>
  106. <div class="row collapse"><div class="detail-description">
  107. <p class="long_description"></p>
  108. <h3>Returns</h3>
  109. <div class="subelement response">
  110. <code>array</code>Array of indexed port ids (array index, not value) of configured but unattached LAG ports</div>
  111. </div></div>
  112. </div>
  113. <a name="getLAGPorts" id="getLAGPorts"></a><div class="element clickable method public getLAGPorts" data-toggle="collapse" data-target=".getLAGPorts .collapse">
  114. <h2>Gets an associate array of LAG ports with the [id] =&gt; name of it's constituent ports</h2>
  115. <pre>getLAGPorts() : array</pre>
  116. <div class="labels"></div>
  117. <div class="row collapse"><div class="detail-description">
  118. <p class="long_description"><p>E.g.:
  119. [5048] => Array
  120. (
  121. [10111] => GigabitEthernet1/0/11
  122. [10112] => GigabitEthernet1/0/12
  123. )</p></p>
  124. <h3>Returns</h3>
  125. <div class="subelement response">
  126. <code>array</code>Associate array of LAG ports with the [id] => name of it's constituent ports</div>
  127. </div></div>
  128. </div>
  129. <a name="isAggregatePorts" id="isAggregatePorts"></a><div class="element clickable method public isAggregatePorts" data-toggle="collapse" data-target=".isAggregatePorts .collapse">
  130. <h2>Returns an associate array of port IDs with a boolean value to indicate if it's an aggregate port (true)
  131. or an individual port (false).</h2>
  132. <pre>isAggregatePorts() : array</pre>
  133. <div class="labels"></div>
  134. <div class="row collapse"><div class="detail-description">
  135. <p class="long_description"></p>
  136. <h3>Returns</h3>
  137. <div class="subelement response">
  138. <code>array</code>Associate array of port IDs with a boolean value to indicate if it's an aggregate port (true) or not</div>
  139. </div></div>
  140. </div>
  141. <a name="portAttachedIds" id="portAttachedIds"></a><div class="element clickable method public portAttachedIds" data-toggle="collapse" data-target=".portAttachedIds .collapse">
  142. <h2>Returns an associate array of port IDs with the ID of the aggregate port that
  143. they are a member of (else 0 if not a LAG port)</h2>
  144. <pre>portAttachedIds() : array</pre>
  145. <div class="labels"></div>
  146. <div class="row collapse"><div class="detail-description">
  147. <p class="long_description"></p>
  148. <h3>Returns</h3>
  149. <div class="subelement response">
  150. <code>array</code>Associate array of port IDs with the ID of the aggregate port that they are a member of</div>
  151. </div></div>
  152. </div>
  153. <h3>
  154. <i class="icon-custom icon-constant"></i> Constants</h3>
  155. <a name="OID_LAG_AGGREGATE_OR_INDIVIDUAL" id="OID_LAG_AGGREGATE_OR_INDIVIDUAL"> </a><div class="element clickable constant OID_LAG_AGGREGATE_OR_INDIVIDUAL" data-toggle="collapse" data-target=".OID_LAG_AGGREGATE_OR_INDIVIDUAL .collapse">
  156. <h2>OID_LAG_AGGREGATE_OR_INDIVIDUAL</h2>
  157. <pre>OID_LAG_AGGREGATE_OR_INDIVIDUAL </pre>
  158. <div class="labels"></div>
  159. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  160. </div>
  161. <a name="OID_LAG_PORT_ATTACHED_ID" id="OID_LAG_PORT_ATTACHED_ID"> </a><div class="element clickable constant OID_LAG_PORT_ATTACHED_ID" data-toggle="collapse" data-target=".OID_LAG_PORT_ATTACHED_ID .collapse">
  162. <h2>OID_LAG_PORT_ATTACHED_ID</h2>
  163. <pre>OID_LAG_PORT_ATTACHED_ID </pre>
  164. <div class="labels"></div>
  165. <div class="row collapse"><div class="detail-description"><p class="long_description"></p></div></div>
  166. </div>
  167. </div>
  168. </div>
  169. </div>
  170. </div>
  171. <div class="row"><footer class="span12">
  172. Template is built using <a href="http://twitter.github.com/bootstrap/">Twitter Bootstrap 2</a> and icons provided by <a href="http://glyphicons.com/">Glyphicons</a>.<br>
  173. Documentation is powered by <a href="http://www.phpdoc.org/">phpDocumentor 2.0.0a5</a> and<br>
  174. generated on 2012-06-20T19:41:09+01:00.<br></footer></div>
  175. </div>
  176. </body>
  177. </html>