1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474 |
- <?xml version="1.0" encoding="utf-8"?>
- <project version="2.0.0a5" title="">
- <file path="Timer.php" hash="86d806fd77aec5706196f6fce7972761" package="Default">
- <class final="false" abstract="false" namespace="OSS" line="42" package="Default">
- <name>Timer</name>
- <full_name>\OSS\Timer</full_name>
- <extends/>
- <docblock line="42">
- <description><![CDATA[A class for timing PHP scripts]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <property final="false" static="true" visibility="private" line="45" namespace="OSS" package="Default">
- <name>$_start</name>
- <default><![CDATA[NULL]]></default>
- </property>
- <property final="false" static="true" visibility="private" line="48" namespace="OSS" package="Default">
- <name>$_time</name>
- <default><![CDATA[NULL]]></default>
- </property>
- <method final="false" abstract="false" static="true" visibility="public" namespace="OSS" line="50" package="Default">
- <name>start</name>
- <full_name>start</full_name>
- </method>
- <method final="false" abstract="false" static="true" visibility="public" namespace="OSS" line="55" package="Default">
- <name>end</name>
- <full_name>end</full_name>
- </method>
- <method final="false" abstract="false" static="true" visibility="public" namespace="OSS" line="60" package="Default">
- <name>time</name>
- <full_name>time</full_name>
- </method>
- </class>
- <parse_markers>
- <error line="45" code="50018">No DocBlock was found for property $_start</error>
- <error line="48" code="50018">No DocBlock was found for property $_time</error>
- <error line="50" code="50010">No DocBlock was found for method start()</error>
- <error line="55" code="50010">No DocBlock was found for method end()</error>
- <error line="60" code="50010">No DocBlock was found for method time()</error>
- </parse_markers>
- </file>
- <file path="SNMP.php" hash="7458ee03e7ab78617a40db280db7fc0f" package="Default">
- <include line="41" type="Require" package="Default">
- <name/>
- </include>
- <class final="false" abstract="false" namespace="OSS" line="52" package="Default">
- <name>SNMP</name>
- <full_name>\OSS\SNMP</full_name>
- <extends/>
- <docblock line="52">
- <description><![CDATA[A class for performing SNMP V2 queries and processing the results.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="52" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="52" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS" line="104" package="Default">
- <name>OID_OUTPUT_FULL</name>
- <full_name>OID_OUTPUT_FULL</full_name>
- <value><![CDATA[NULL]]></value>
- </constant>
- <constant namespace="OSS" line="105" package="Default">
- <name>OID_OUTPUT_NUMERIC</name>
- <full_name>OID_OUTPUT_NUMERIC</full_name>
- <value><![CDATA[NULL]]></value>
- </constant>
- <constant namespace="OSS" line="111" package="Default">
- <name>SNMP_TRUTHVALUE_TRUE</name>
- <full_name>SNMP_TRUTHVALUE_TRUE</full_name>
- <value><![CDATA[1]]></value>
- </constant>
- <constant namespace="OSS" line="116" package="Default">
- <name>SNMP_TRUTHVALUE_FALSE</name>
- <full_name>SNMP_TRUTHVALUE_FALSE</full_name>
- <value><![CDATA[2]]></value>
- </constant>
- <property final="false" static="false" visibility="protected" line="55" namespace="OSS" package="Default">
- <name>$_community</name>
- <default><![CDATA[]]></default>
- </property>
- <property final="false" static="false" visibility="protected" line="61" namespace="OSS" package="Default">
- <name>$_host</name>
- <default><![CDATA[]]></default>
- </property>
- <property final="false" static="false" visibility="protected" line="67" namespace="OSS" package="Default">
- <name>$_timeout</name>
- <default><![CDATA[1000000]]></default>
- </property>
- <property final="false" static="false" visibility="protected" line="73" namespace="OSS" package="Default">
- <name>$_retry</name>
- <default><![CDATA[5]]></default>
- </property>
- <property final="false" static="false" visibility="protected" line="80" namespace="OSS" package="Default">
- <name>$_lastResult</name>
- <default><![CDATA[NULL]]></default>
- </property>
- <property final="false" static="false" visibility="protected" line="87" namespace="OSS" package="Default">
- <name>$_resultCache</name>
- <default><![CDATA[]]></default>
- </property>
- <property final="false" static="false" visibility="protected" line="100" namespace="OSS" package="Default">
- <name>$_disableCache</name>
- <default><![CDATA[NULL]]></default>
- </property>
- <property final="false" static="true" visibility="public" line="123" namespace="OSS" package="Default">
- <name>$SNMP_TRUTHVALUES</name>
- <default><![CDATA[array(NULL => NULL, NULL => NULL)]]></default>
- </property>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="135" package="Default">
- <name>__construct</name>
- <full_name>__construct</full_name>
- <docblock line="135">
- <description><![CDATA[The constructor.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="135" name="param" description="The target host for SNMP queries." type="string" variable="$host">
- <type by_reference="false">string</type>
- </tag>
- <tag line="135" name="param" description="The community to use for SNMP queries." type="string" variable="$community">
- <type by_reference="false">string</type>
- </tag>
- <tag line="135" name="return" description="An instance of $this (for fluent interfaces)" type="\OSS_SNMP">
- <type by_reference="false">\OSS_SNMP</type>
- </tag>
- </docblock>
- <argument line="135">
- <name>$host</name>
- <default><![CDATA['127.0.0.1']]></default>
- <type/>
- </argument>
- <argument line="135">
- <name>$community</name>
- <default><![CDATA['public']]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="151" package="Default">
- <name>realWalk</name>
- <full_name>realWalk</full_name>
- <docblock line="151">
- <description><![CDATA[Proxy to the snmp2_real_walk command]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="151" name="param" description="The OID to walk" type="string" variable="$oid">
- <type by_reference="false">string</type>
- </tag>
- <tag line="151" name="return" description="The results of the walk" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="151">
- <name>$oid</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="163" package="Default">
- <name>get</name>
- <full_name>get</full_name>
- <docblock line="163">
- <description><![CDATA[Get a single SNMP value]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="163" name="param" description="The OID to get" type="string" variable="$oid">
- <type by_reference="false">string</type>
- </tag>
- <tag line="163" name="return" description="The resultant value" type="mixed">
- <type by_reference="false">mixed</type>
- </tag>
- </docblock>
- <argument line="163">
- <name>$oid</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="198" package="Default">
- <name>walk1d</name>
- <full_name>walk1d</full_name>
- <docblock line="198">
- <description><![CDATA[Get indexed SNMP values (first degree)]]></description>
- <long-description><![CDATA[<p>Walks the SNMP tree returning an array of key => value pairs.</p>
- <p>This is a first degree walk and it will throw an exception if there is more that one degree of values.</p>
- <p>I.e. the following query with sample results:</p>
- <p>walk1d( '.1.0.8802.1.1.2.1.3.7.1.4' )</p>
- <pre><code> .1.0.8802.1.1.2.1.3.7.1.4.1 = STRING: "GigabitEthernet1/0/1"
- .1.0.8802.1.1.2.1.3.7.1.4.2 = STRING: "GigabitEthernet1/0/2"
- .1.0.8802.1.1.2.1.3.7.1.4.3 = STRING: "GigabitEthernet1/0/3"
- .....
- </code></pre>
- <p>would yield an array:</p>
- <pre><code> 1 => GigabitEthernet1/0/1
- 2 => GigabitEthernet1/0/2
- 3 => GigabitEthernet1/0/3
- </code></pre>]]></long-description>
- <tag line="198" name="param" description="The OID to walk" type="string" variable="$oid">
- <type by_reference="false">string</type>
- </tag>
- <tag line="198" name="return" description="The resultant values" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="198">
- <name>$oid</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="243" package="Default">
- <name>subOidWalk</name>
- <full_name>subOidWalk</full_name>
- <docblock line="243">
- <description><![CDATA[Get indexed SNMP values where the array key is the given position of the OID]]></description>
- <long-description><![CDATA[<p>I.e. the following query with sample results:</p>
- <p>subOidWalk( '.1.3.6.1.4.1.9.9.23.1.2.1.1.9', 15 )</p>
- <pre><code> .1.3.6.1.4.1.9.9.23.1.2.1.1.9.10101.5 = Hex-STRING: 00 00 00 01
- .1.3.6.1.4.1.9.9.23.1.2.1.1.9.10105.2 = Hex-STRING: 00 00 00 01
- .1.3.6.1.4.1.9.9.23.1.2.1.1.9.10108.4 = Hex-STRING: 00 00 00 01
- </code></pre>
- <p>would yield an array:</p>
- <pre><code> 10101 => Hex-STRING: 00 00 00 01
- 10105 => Hex-STRING: 00 00 00 01
- 10108 => Hex-STRING: 00 00 00 01
- </code></pre>]]></long-description>
- <tag line="243" name="param" description="The OID to walk" type="string" variable="$oid">
- <type by_reference="false">string</type>
- </tag>
- <tag line="243" name="param" description="The position of the OID to use as the key" type="int" variable="$position">
- <type by_reference="false">int</type>
- </tag>
- <tag line="243" name="return" description="The resultant values" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="243">
- <name>$oid</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- <argument line="243">
- <name>$position</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="272" package="Default">
- <name>parseSnmpValue</name>
- <full_name>parseSnmpValue</full_name>
- <docblock line="272">
- <description><![CDATA[Parse the result of an SNMP query into a PHP type]]></description>
- <long-description><![CDATA[<p>For example, [STRING: "blah"] is parsed to a PHP string containing: blah</p>]]></long-description>
- <tag line="272" name="param" description="The value to parse" type="string" variable="$v">
- <type by_reference="false">string</type>
- </tag>
- <tag line="272" name="return" description="The parsed value" type="mixed">
- <type by_reference="false">mixed</type>
- </tag>
- <tag line="272" name="throws" description="" type="\Exception">
- <type by_reference="false">\Exception</type>
- </tag>
- </docblock>
- <argument line="272">
- <name>$v</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="true" visibility="public" namespace="OSS" line="314" package="Default">
- <name>ppTruthValue</name>
- <full_name>ppTruthValue</full_name>
- <docblock line="314">
- <description><![CDATA[Utility function to convert TruthValue SNMP responses to true / false]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="314" name="param" description="The TruthValue ( 1 => true, 2 => false) to convert" type="integer" variable="$value">
- <type by_reference="false">integer</type>
- </tag>
- <tag line="314" name="return" description="" type="boolean">
- <type by_reference="false">boolean</type>
- </tag>
- </docblock>
- <argument line="314">
- <name>$value</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="true" visibility="public" namespace="OSS" line="337" package="Default">
- <name>translate</name>
- <full_name>translate</full_name>
- <docblock line="337">
- <description><![CDATA[Utility function to translate one value(s) to another via an associated array]]></description>
- <long-description><![CDATA[<p>I.e. all elements '$value' will be replaced with $translator( $value ) where
- $translator is an associated array.</p>
- <p>Huh? Just read the code below!</p>]]></long-description>
- <tag line="337" name="param" description="A scalar or array or values to translate" type="mixed" variable="$values">
- <type by_reference="false">mixed</type>
- </tag>
- <tag line="337" name="param" description="An associated array to use to translate the values" type="array" variable="$translator">
- <type by_reference="false">array</type>
- </tag>
- <tag line="337" name="return" description="The translated scalar or array" type="mixed">
- <type by_reference="false">mixed</type>
- </tag>
- </docblock>
- <argument line="337">
- <name>$values</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- <argument line="337">
- <name>$translator</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="356" package="Default">
- <name>setOidOutputFormat</name>
- <full_name>setOidOutputFormat</full_name>
- <docblock line="356">
- <description><![CDATA[Sets the output format for SNMP queries.]]></description>
- <long-description><![CDATA[<p>Should be one of the class OID_OUTPUT_* constants</p>]]></long-description>
- <tag line="356" name="param" description="The fomat to use" type="int" variable="$f">
- <type by_reference="false">int</type>
- </tag>
- <tag line="356" name="return" description="An instance of $this (for fluent interfaces)" type="\OSS_SNMP">
- <type by_reference="false">\OSS_SNMP</type>
- </tag>
- </docblock>
- <argument line="356">
- <name>$f</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="369" package="Default">
- <name>setHost</name>
- <full_name>setHost</full_name>
- <docblock line="369">
- <description><![CDATA[Sets the target host for SNMP queries.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="369" name="param" description="The target host for SNMP queries." type="string" variable="$h">
- <type by_reference="false">string</type>
- </tag>
- <tag line="369" name="return" description="An instance of $this (for fluent interfaces)" type="\OSS_SNMP">
- <type by_reference="false">\OSS_SNMP</type>
- </tag>
- </docblock>
- <argument line="369">
- <name>$h</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="386" package="Default">
- <name>getHost</name>
- <full_name>getHost</full_name>
- <docblock line="386">
- <description><![CDATA[Returns the target host as currently configured for SNMP queries]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="386" name="return" description="The target host as currently configured for SNMP queries" type="string">
- <type by_reference="false">string</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="397" package="Default">
- <name>setCommunity</name>
- <full_name>setCommunity</full_name>
- <docblock line="397">
- <description><![CDATA[Sets the community string to use for SNMP queries.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="397" name="param" description="The community to use for SNMP queries." type="string" variable="$c">
- <type by_reference="false">string</type>
- </tag>
- <tag line="397" name="return" description="An instance of $this (for fluent interfaces)" type="\OSS_SNMP">
- <type by_reference="false">\OSS_SNMP</type>
- </tag>
- </docblock>
- <argument line="397">
- <name>$c</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="408" package="Default">
- <name>getCommunity</name>
- <full_name>getCommunity</full_name>
- <docblock line="408">
- <description><![CDATA[Returns the community string currently in use.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="408" name="return" description="The community string currently in use." type="string">
- <type by_reference="false">string</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="419" package="Default">
- <name>setTimeout</name>
- <full_name>setTimeout</full_name>
- <docblock line="419">
- <description><![CDATA[Sets the timeout to use for SNMP queries (microseconds).]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="419" name="param" description="The timeout to use for SNMP queries (microseconds)." type="int" variable="$t">
- <type by_reference="false">int</type>
- </tag>
- <tag line="419" name="return" description="An instance of $this (for fluent interfaces)" type="\OSS_SNMP">
- <type by_reference="false">\OSS_SNMP</type>
- </tag>
- </docblock>
- <argument line="419">
- <name>$t</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="430" package="Default">
- <name>getTimeout</name>
- <full_name>getTimeout</full_name>
- <docblock line="430">
- <description><![CDATA[Returns the SNMP query timeout (microseconds).]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="430" name="return" description="The the SNMP query timeout (microseconds)" type="int">
- <type by_reference="false">int</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="441" package="Default">
- <name>setRetry</name>
- <full_name>setRetry</full_name>
- <docblock line="441">
- <description><![CDATA[Sets the SNMP query retry count.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="441" name="param" description="The SNMP query retry count" type="int" variable="$r">
- <type by_reference="false">int</type>
- </tag>
- <tag line="441" name="return" description="An instance of $this (for fluent interfaces)" type="\OSS_SNMP">
- <type by_reference="false">\OSS_SNMP</type>
- </tag>
- </docblock>
- <argument line="441">
- <name>$r</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="452" package="Default">
- <name>getRetry</name>
- <full_name>getRetry</full_name>
- <docblock line="452">
- <description><![CDATA[Returns the SNMP query retry count]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="452" name="return" description="The SNMP query retry count" type="string">
- <type by_reference="false">string</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="462" package="Default">
- <name>getLastResult</name>
- <full_name>getLastResult</full_name>
- <docblock line="462">
- <description><![CDATA[Returns the unaltered original last SNMP result]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="462" name="return" description="The unaltered original last SNMP result" type="mixed">
- <type by_reference="false">mixed</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="472" package="Default">
- <name>getResultCache</name>
- <full_name>getResultCache</full_name>
- <docblock line="472">
- <description><![CDATA[Returns the internal result cache]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="472" name="return" description="The internal result cache" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="483" package="Default">
- <name>disableCache</name>
- <full_name>disableCache</full_name>
- <docblock line="483">
- <description><![CDATA[Disable lookups of the local cache]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="483" name="return" description="An instance of this for fluent interfaces" type="\SNMP">
- <type by_reference="false">\SNMP</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="495" package="Default">
- <name>enableCache</name>
- <full_name>enableCache</full_name>
- <docblock line="495">
- <description><![CDATA[Enable lookups of the local cache]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="495" name="return" description="An instance of this for fluent interfaces" type="\SNMP">
- <type by_reference="false">\SNMP</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="506" package="Default">
- <name>cache</name>
- <full_name>cache</full_name>
- <docblock line="506">
- <description><![CDATA[Query whether we are using the cache or not]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="506" name="return" description="True of the local lookup cache is enabled. Otherwise false." type="boolean">
- <type by_reference="false">boolean</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="519" package="Default">
- <name>__call</name>
- <full_name>__call</full_name>
- <docblock line="519">
- <description><![CDATA[Magic method for generic function calls]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="519" name="param" description="" type="string" variable="$method">
- <type by_reference="false">string</type>
- </tag>
- <tag line="519" name="param" description="" type="array" variable="$args">
- <type by_reference="false">array</type>
- </tag>
- <tag line="519" name="throws" description="" type="\Exception">
- <type by_reference="false">\Exception</type>
- </tag>
- </docblock>
- <argument line="519">
- <name>$method</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- <argument line="519">
- <name>$args</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS" line="541" package="Default">
- <name>useExtension</name>
- <full_name>useExtension</full_name>
- <docblock line="541">
- <description><![CDATA[This is the MIB Extension magic]]></description>
- <long-description><![CDATA[<p>Calling $this->useXXX_YYY_ZZZ()->fn() will instantiate
- an extension MIB class is the given name and this $this SNMP
- instance and then call fn().</p>
- <p>See the examples for more information.</p>]]></long-description>
- <tag line="541" name="param" description="The extension class to use" type="string" variable="$mib">
- <type by_reference="false">string</type>
- </tag>
- <tag line="541" name="param" description="" type="array" variable="$args">
- <type by_reference="false">array</type>
- </tag>
- <tag line="541" name="return" description="" type="\OSS\SNMP\MIBS">
- <type by_reference="false">\OSS\SNMP\MIBS</type>
- </tag>
- </docblock>
- <argument line="541">
- <name>$mib</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- <argument line="541">
- <name>$args</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- </class>
- <parse_markers>
- <error line="55" code="50018">No DocBlock was found for property $_community</error>
- <error line="61" code="50018">No DocBlock was found for property $_host</error>
- <error line="67" code="50018">No DocBlock was found for property $_timeout</error>
- <error line="73" code="50018">No DocBlock was found for property $_retry</error>
- <error line="80" code="50018">No DocBlock was found for property $_lastResult</error>
- <error line="87" code="50018">No DocBlock was found for property $_resultCache</error>
- <error line="100" code="50018">No DocBlock was found for property $_disableCache</error>
- <error line="123" code="50018">No DocBlock was found for property $SNMP_TRUTHVALUES</error>
- </parse_markers>
- </file>
- <file path="SNMP/MIBS/Iface.php" hash="63b5fe8283fc0150f3654dfbbdd82905" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS" line="42" package="Default">
- <name>Iface</name>
- <full_name>\OSS\SNMP\MIBS\Iface</full_name>
- <extends>OSS\SNMP\MIB</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on generic devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS\SNMP\MIBS" line="44" package="Default">
- <name>OID_IF_DESCRIPTION</name>
- <full_name>OID_IF_DESCRIPTION</full_name>
- <value><![CDATA['.1.3.6.1.2.1.2.2.1.2']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="45" package="Default">
- <name>OID_IF_SPEED</name>
- <full_name>OID_IF_SPEED</full_name>
- <value><![CDATA['.1.3.6.1.2.1.2.2.1.5']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="46" package="Default">
- <name>OID_IF_OPER_STATUS</name>
- <full_name>OID_IF_OPER_STATUS</full_name>
- <value><![CDATA['.1.3.6.1.2.1.2.2.1.8']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="47" package="Default">
- <name>OID_IF_NAME</name>
- <full_name>OID_IF_NAME</full_name>
- <value><![CDATA['.1.3.6.1.2.1.31.1.1.1.1']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="48" package="Default">
- <name>OID_IF_ALIAS</name>
- <full_name>OID_IF_ALIAS</full_name>
- <value><![CDATA['.1.3.6.1.2.1.31.1.1.1.18']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="133" package="Default">
- <name>IF_OPER_STATUS_UP</name>
- <full_name>IF_OPER_STATUS_UP</full_name>
- <value><![CDATA[1]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="138" package="Default">
- <name>IF_OPER_STATUS_DOWN</name>
- <full_name>IF_OPER_STATUS_DOWN</full_name>
- <value><![CDATA[2]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="143" package="Default">
- <name>IF_OPER_STATUS_TESTING</name>
- <full_name>IF_OPER_STATUS_TESTING</full_name>
- <value><![CDATA[3]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="148" package="Default">
- <name>IF_OPER_STATUS_UNKNOWN</name>
- <full_name>IF_OPER_STATUS_UNKNOWN</full_name>
- <value><![CDATA[4]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="153" package="Default">
- <name>IF_OPER_STATUS_DORMANT</name>
- <full_name>IF_OPER_STATUS_DORMANT</full_name>
- <value><![CDATA[5]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="158" package="Default">
- <name>IF_OPER_STATUS_NOT_PRESENT</name>
- <full_name>IF_OPER_STATUS_NOT_PRESENT</full_name>
- <value><![CDATA[6]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="163" package="Default">
- <name>IF_OPER_STATUS_LOWER_LAYER_DOWN</name>
- <full_name>IF_OPER_STATUS_LOWER_LAYER_DOWN</full_name>
- <value><![CDATA[7]]></value>
- </constant>
- <property final="false" static="true" visibility="public" line="171" namespace="OSS\SNMP\MIBS" package="Default">
- <name>$IF_OPER_STATES</name>
- <default><![CDATA[array(NULL => 'up', NULL => 'down', NULL => 'testing', NULL => 'unknown', NULL => 'dormant', NULL => 'notPresent', NULL => 'lowerLayerDown')]]></default>
- </property>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="64" package="Default">
- <name>names</name>
- <full_name>names</full_name>
- <docblock line="64">
- <description><![CDATA[Get an array of device interface names]]></description>
- <long-description><![CDATA[<p>E.g. the following SNMP output yields the shown array:</p>
- <p>.1.3.6.1.2.1.31.1.1.1.1.10128 = STRING: Gi1/0/28
- .1.3.6.1.2.1.31.1.1.1.1.10129 = STRING: Gi1/0/29
- ...</p>
- <pre><code> [10128] => "Gi1/0/28"
- [10129] => "Gi1/0/29"
- </code></pre>]]></long-description>
- <tag line="64" name="return" description="An array of interface names" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="83" package="Default">
- <name>aliases</name>
- <full_name>aliases</full_name>
- <docblock line="83">
- <description><![CDATA[Get an array of device interface aliases (e.g. as set by the interface description / port-name parameter)]]></description>
- <long-description><![CDATA[<p>E.g. the followig SNMP output yields the shown array:</p>
- <p>.1.3.6.1.2.1.2.2.1.2.18.10128 = STRING: Connection to switch2
- .1.3.6.1.2.1.2.2.1.2.18.10129 = STRING: Connection to switch3
- ...</p>
- <pre><code> [10128] => "Connection to switch2"
- [10129] => "Connection to switch3"
- </code></pre>]]></long-description>
- <tag line="83" name="return" description="An array of interface aliases" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="102" package="Default">
- <name>descriptions</name>
- <full_name>descriptions</full_name>
- <docblock line="102">
- <description><![CDATA[Get an array of device interface descriptions]]></description>
- <long-description><![CDATA[<p>E.g. the following SNMP output yields the shown array:</p>
- <p>.1.3.6.1.2.1.31.1.1.1.1.10128 = STRING: GigabitEthernet1/0/28
- .1.3.6.1.2.1.31.1.1.1.1.10129 = STRING: GigabitEthernet1/0/29
- ...</p>
- <pre><code> [10128] => "GigabitEthernet1/0/28"
- [10129] => "GigabitEthernet1/0/29"
- </code></pre>]]></long-description>
- <tag line="102" name="return" description="An array of interface descriptions" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="123" package="Default">
- <name>speeds</name>
- <full_name>speeds</full_name>
- <docblock line="123">
- <description><![CDATA[Get an array of device interface (operating) speeds]]></description>
- <long-description><![CDATA[<p>E.g. the following SNMP output yields the shown array:</p>
- <p>.1.3.6.1.2.1.2.2.1.5.10128 = Gauge32: 1000000000
- .1.3.6.1.2.1.2.2.1.5.10129 = Gauge32: 100000000
- ...</p>
- <pre><code> [10128] => 1000000000
- [10129] => 100000000
- </code></pre>
- <p>NB: operating speed as opposed to maximum speed</p>]]></long-description>
- <tag line="123" name="return" description="An array of interface operating speeds" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="197" package="Default">
- <name>operationStates</name>
- <full_name>operationStates</full_name>
- <docblock line="197">
- <description><![CDATA[Get an array of device interface operating status (up / down)]]></description>
- <long-description><![CDATA[<p>E.g. the follow SNMP output yields the shown array:</p>
- <p>.1.3.6.1.2.1.2.2.1.8.10128 = INTEGER: up(1)
- .1.3.6.1.2.1.2.2.1.8.10129 = INTEGER: down(2)
- ...</p>
- <pre><code> [10128] => 1
- [10129] => 2
- </code></pre>]]></long-description>
- <tag line="197" name="see" description="\IF_OPER_STATES" refers="\IF_OPER_STATES"/>
- <tag line="197" name="param" description="If true, return the string representation" type="boolean" variable="$translate">
- <type by_reference="false">boolean</type>
- </tag>
- <tag line="197" name="return" description="An array of interface states" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="197">
- <name>$translate</name>
- <default><![CDATA[NULL]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="216" package="Default">
- <name>bridgeBasePortIfIndexes</name>
- <full_name>bridgeBasePortIfIndexes</full_name>
- <docblock line="216">
- <description><![CDATA[Returns an associate array of STP port IDs (key) to interface IDs (value)]]></description>
- <long-description><![CDATA[<p>e.g. [22] => 10122</p>]]></long-description>
- <tag line="216" name="return" description="Associate array of STP port IDs (key) to interface IDs (value)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- </class>
- <parse_markers>
- <error line="171" code="50018">No DocBlock was found for property $IF_OPER_STATES</error>
- </parse_markers>
- </file>
- <file path="SNMP/MIBS/Bridge.php" hash="75389224eb58374662892e1f3d109a17" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS" line="42" package="Default">
- <name>Bridge</name>
- <full_name>\OSS\SNMP\MIBS\Bridge</full_name>
- <extends>OSS\SNMP\MIB</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on generic devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS\SNMP\MIBS" line="44" package="Default">
- <name>OID_BRIDGE_BASE_PORT_IF_INDEX</name>
- <full_name>OID_BRIDGE_BASE_PORT_IF_INDEX</full_name>
- <value><![CDATA['.1.3.6.1.2.1.17.1.4.1.2']]></value>
- </constant>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="54" package="Default">
- <name>basePortIfIndexes</name>
- <full_name>basePortIfIndexes</full_name>
- <docblock line="54">
- <description><![CDATA[Returns an associate array of STP port IDs (key) to interface IDs (value)]]></description>
- <long-description><![CDATA[<p>e.g. [22] => 10122</p>]]></long-description>
- <tag line="54" name="return" description="Associate array of STP port IDs (key) to interface IDs (value)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- </class>
- </file>
- <file path="SNMP/MIBS/LAG.php" hash="5ef4604fc27cbf4ae2617a27a31377be" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS" line="42" package="Default">
- <name>LAG</name>
- <full_name>\OSS\SNMP\MIBS\LAG</full_name>
- <extends>OSS\SNMP\MIB</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on generic devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS\SNMP\MIBS" line="48" package="Default">
- <name>OID_LAG_PORT_ATTACHED_ID</name>
- <full_name>OID_LAG_PORT_ATTACHED_ID</full_name>
- <value><![CDATA['.1.2.840.10006.300.43.1.2.1.1.13']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS" line="53" package="Default">
- <name>OID_LAG_AGGREGATE_OR_INDIVIDUAL</name>
- <full_name>OID_LAG_AGGREGATE_OR_INDIVIDUAL</full_name>
- <value><![CDATA['.1.2.840.10006.300.43.1.2.1.1.24']]></value>
- </constant>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="61" package="Default">
- <name>isAggregatePorts</name>
- <full_name>isAggregatePorts</full_name>
- <docblock line="61">
- <description><![CDATA[Returns an associate array of port IDs with a boolean value to indicate if it's an aggregate port (true)
- or an individual port (false).]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="61" name="return" description="Associate array of port IDs with a boolean value to indicate if it's an aggregate port (true) or not" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="73" package="Default">
- <name>portAttachedIds</name>
- <full_name>portAttachedIds</full_name>
- <docblock line="73">
- <description><![CDATA[Returns an associate array of port IDs with the ID of the aggregate port that
- they are a member of (else 0 if not a LAG port)]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="73" name="return" description="Associate array of port IDs with the ID of the aggregate port that they are a member of" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="90" package="Default">
- <name>getLAGPorts</name>
- <full_name>getLAGPorts</full_name>
- <docblock line="90">
- <description><![CDATA[Gets an associate array of LAG ports with the [id] => name of it's constituent ports]]></description>
- <long-description><![CDATA[<p>E.g.:
- [5048] => Array
- (
- [10111] => GigabitEthernet1/0/11
- [10112] => GigabitEthernet1/0/12
- )</p>]]></long-description>
- <tag line="90" name="return" description="Associate array of LAG ports with the [id] => name of it's constituent ports" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS" line="107" package="Default">
- <name>findFailedLAGPorts</name>
- <full_name>findFailedLAGPorts</full_name>
- <docblock line="107">
- <description><![CDATA[Utility function to identify configured but unattached LAG ports]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="107" name="return" description="Array of indexed port ids (array index, not value) of configured but unattached LAG ports" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- </class>
- </file>
- <file path="SNMP/MIBS/Cisco.php" hash="99d51cbd4145aadb28a6939480cb0bfa" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS" line="42" package="Default">
- <name>Cisco</name>
- <full_name>\OSS\SNMP\MIBS\Cisco</full_name>
- <extends>OSS\SNMP\MIB</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on Cisco devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- </class>
- </file>
- <file path="SNMP/MIBS/Host.php" hash="ba79fe7579c63b99d758a879c1b5ab0d" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS" line="42" package="Default">
- <name>Host</name>
- <full_name>\OSS\SNMP\MIBS\Host</full_name>
- <extends>OSS\SNMP\MIB</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on generic devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- </class>
- </file>
- <file path="SNMP/MIBS/Cisco/CDP.php" hash="d367ae7032447aa83d44c8a1d6f69bb9" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS\Cisco" line="42" package="Default">
- <name>CDP</name>
- <full_name>\OSS\SNMP\MIBS\Cisco\CDP</full_name>
- <extends>OSS\SNMP\MIBS\Cisco</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on Cisco devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="45" package="Default">
- <name>OID_CDP_INTERFACE_ENABLED</name>
- <full_name>OID_CDP_INTERFACE_ENABLED</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.23.1.1.1.1.2']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="46" package="Default">
- <name>OID_CDP_INTERFACE_NAME</name>
- <full_name>OID_CDP_INTERFACE_NAME</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.23.1.1.1.1.6']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="47" package="Default">
- <name>OID_CDP_NEIGHBOUR_ID</name>
- <full_name>OID_CDP_NEIGHBOUR_ID</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.23.1.2.1.1.6']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="48" package="Default">
- <name>OID_CDP_NEIGHBOUR_PORT</name>
- <full_name>OID_CDP_NEIGHBOUR_PORT</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.23.1.2.1.1.7']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="49" package="Default">
- <name>OID_CDP_NEIGHBOUR_CAPABILITY</name>
- <full_name>OID_CDP_NEIGHBOUR_CAPABILITY</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.23.1.2.1.1.9']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="50" package="Default">
- <name>OID_CDP_DEVICE_ID</name>
- <full_name>OID_CDP_DEVICE_ID</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.23.1.3.4.0']]></value>
- </constant>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="58" package="Default">
- <name>deviceId</name>
- <full_name>deviceId</full_name>
- <docblock line="58">
- <description><![CDATA[Get the device's CDP (Cisco Discovery Protocol) ID]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="58" name="return" description="The device's CDP (Cisco Discovery Protocol) ID" type="string">
- <type by_reference="false">string</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="72" package="Default">
- <name>interfaceEnabled</name>
- <full_name>interfaceEnabled</full_name>
- <docblock line="72">
- <description><![CDATA[Get the device's interfaces CDP enabled status]]></description>
- <long-description><![CDATA[<p>Applies the TruthValue post processor (self::ppTruthValue()) to turn
- SNMP values into true / false.</p>]]></long-description>
- <tag line="72" name="return" description="The device's interfaces CDP enabled status' (as boolean true / false)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="82" package="Default">
- <name>interfaceNames</name>
- <full_name>interfaceNames</full_name>
- <docblock line="82">
- <description><![CDATA[Get the device's interface names as seen in CDP]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="82" name="return" description="The device's interface names as seen in CDP" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="92" package="Default">
- <name>neighbourId</name>
- <full_name>neighbourId</full_name>
- <docblock line="92">
- <description><![CDATA[Get the device's CDP neighbours (by their CDP ID) indexed by the current device's port ID]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="92" name="return" description="The device's CDP neighbours (by their CDP ID) indexed by the current device's port ID" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="116" package="Default">
- <name>neighbourPort</name>
- <full_name>neighbourPort</full_name>
- <docblock line="116">
- <description><![CDATA[Get the device's CDP neighbours connected port *description* indexed by the current device's port ID]]></description>
- <long-description><![CDATA[<p>E.g. a sample call may return:</p>
- <p>Array
- (
- [10101] => GigabitEthernet0/1
- [10102] => FastEthernet0/2
- [10103] => GigabitEthernet1/0/24
- [10105] => GigabitEthernet1/0/2
- )</p>
- <p>meaning, for example, that our local port with ID 10101 is connected to port GigabitEthernet0/1 on the neighbour
- connected to that local port. You can discover the neighbour ID via neighbourId().</p>]]></long-description>
- <tag line="116" name="see" description="\neighbourId()" refers="\neighbourId()"/>
- <tag line="116" name="return" description="The device's CDP neighbours connected port *description* indexed by the current device's port ID" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="126" package="Default">
- <name>neighbourCapability</name>
- <full_name>neighbourCapability</full_name>
- <docblock line="126">
- <description><![CDATA[Get the device's CDP neighbour capabilities (as a decimal integer) indexed by the current device's port ID]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="126" name="return" description="The device's CDP neighbour capabilities (as a decimal integer) indexed by the current device's port ID" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="169" package="Default">
- <name>neighbourInformation</name>
- <full_name>neighbourInformation</full_name>
- <docblock line="169">
- <description><![CDATA[CDP utility function to get all CDP neighbours and their connected ports.]]></description>
- <long-description><![CDATA[<p>Returns an array of neighbours indexed by the neighbour CDP ID. For example:</p>
- <p>Array
- (
- [cr-sw03.ixdub1.opensolutions.ie] => Array
- (
- [0] => Array
- (
- [localPortId] => 10101
- [localPort] => GigabitEthernet1/0/1
- [remotePort] => GigabitEthernet0/1
- )</p>
- <pre><code> [1] => Array
- (
- [localPortId] => 10102
- [localPort] => GigabitEthernet1/0/2
- [remotePort] => FastEthernet0/2
- )
- )
- [ ... ]
- </code></pre>
- <p>)</p>]]></long-description>
- <tag line="169" name="see" description="\neighbourId()" refers="\neighbourId()"/>
- <tag line="169" name="see" description="\OSS\SNMP\MIBS\Interface::descriptions()" refers="\OSS\SNMP\MIBS\Interface::descriptions()"/>
- <tag line="169" name="see" description="\neighbourPort()" refers="\neighbourPort()"/>
- <tag line="169" name="return" description="CDP neighbours and their connected ports" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- </class>
- </file>
- <file path="SNMP/MIBS/Cisco/VTP.php" hash="10dea5a8e18089b376247533eec84a34" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS\Cisco" line="42" package="Default">
- <name>VTP</name>
- <full_name>\OSS\SNMP\MIBS\Cisco\VTP</full_name>
- <extends>OSS\SNMP\MIBS\Cisco</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on Cisco devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="46" package="Default">
- <name>OID_VTP_VLAN_STATUS</name>
- <full_name>OID_VTP_VLAN_STATUS</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.46.1.3.1.1.2.1']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="47" package="Default">
- <name>OID_VTP_VLAN_TYPE</name>
- <full_name>OID_VTP_VLAN_TYPE</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.46.1.3.1.1.3.1']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="48" package="Default">
- <name>OID_VTP_VLAN_NAME</name>
- <full_name>OID_VTP_VLAN_NAME</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.46.1.3.1.1.4.1']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="51" package="Default">
- <name>OID_STP_X_RSTP_PORT_ROLE</name>
- <full_name>OID_STP_X_RSTP_PORT_ROLE</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.82.1.12.2.1.3']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="58" package="Default">
- <name>VTP_VLAN_STATE_OPERATIONAL</name>
- <full_name>VTP_VLAN_STATE_OPERATIONAL</full_name>
- <value><![CDATA[1]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="64" package="Default">
- <name>VTP_VLAN_STATE_SUSPENDED</name>
- <full_name>VTP_VLAN_STATE_SUSPENDED</full_name>
- <value><![CDATA[2]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="70" package="Default">
- <name>VTP_VLAN_STATE_MTU_TOO_BIG_FOR_DEVICE</name>
- <full_name>VTP_VLAN_STATE_MTU_TOO_BIG_FOR_DEVICE</full_name>
- <value><![CDATA[3]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="76" package="Default">
- <name>VTP_VLAN_STATE_MTU_TOO_BIG_FOR_TRUNK</name>
- <full_name>VTP_VLAN_STATE_MTU_TOO_BIG_FOR_TRUNK</full_name>
- <value><![CDATA[4]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="117" package="Default">
- <name>VTP_VLAN_TYPE_ETHERNET</name>
- <full_name>VTP_VLAN_TYPE_ETHERNET</full_name>
- <value><![CDATA[1]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="123" package="Default">
- <name>VTP_VLAN_TYPE_FDDI</name>
- <full_name>VTP_VLAN_TYPE_FDDI</full_name>
- <value><![CDATA[2]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="129" package="Default">
- <name>VTP_VLAN_TYPE_TOKEN_RING</name>
- <full_name>VTP_VLAN_TYPE_TOKEN_RING</full_name>
- <value><![CDATA[3]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="135" package="Default">
- <name>VTP_VLAN_TYPE_FDDI_NET</name>
- <full_name>VTP_VLAN_TYPE_FDDI_NET</full_name>
- <value><![CDATA[4]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="141" package="Default">
- <name>VTP_VLAN_TYPE_TR_NET</name>
- <full_name>VTP_VLAN_TYPE_TR_NET</full_name>
- <value><![CDATA[5]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="147" package="Default">
- <name>VTP_VLAN_TYPE_DEPRECATED</name>
- <full_name>VTP_VLAN_TYPE_DEPRECATED</full_name>
- <value><![CDATA[6]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="201" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_DISABLED</name>
- <full_name>STP_X_RSTP_PORT_ROLE_DISABLED</full_name>
- <value><![CDATA[1]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="207" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_ROOT</name>
- <full_name>STP_X_RSTP_PORT_ROLE_ROOT</full_name>
- <value><![CDATA[2]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="213" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_DESIGNATED</name>
- <full_name>STP_X_RSTP_PORT_ROLE_DESIGNATED</full_name>
- <value><![CDATA[3]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="219" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_ALTERNATE</name>
- <full_name>STP_X_RSTP_PORT_ROLE_ALTERNATE</full_name>
- <value><![CDATA[4]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="225" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_BACKUP</name>
- <full_name>STP_X_RSTP_PORT_ROLE_BACKUP</full_name>
- <value><![CDATA[5]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="231" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_BOUNDARY</name>
- <full_name>STP_X_RSTP_PORT_ROLE_BOUNDARY</full_name>
- <value><![CDATA[6]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="237" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_MASTER</name>
- <full_name>STP_X_RSTP_PORT_ROLE_MASTER</full_name>
- <value><![CDATA[6]]></value>
- </constant>
- <property final="false" static="true" visibility="public" line="84" namespace="OSS\SNMP\MIBS\Cisco" package="Default">
- <name>$VTP_VLAN_STATES</name>
- <default><![CDATA[array(NULL => 'operational', NULL => 'suspended', NULL => 'mtuTooBigForDevice', NULL => 'mtuTooBigForTrunk')]]></default>
- </property>
- <property final="false" static="true" visibility="public" line="155" namespace="OSS\SNMP\MIBS\Cisco" package="Default">
- <name>$VTP_VLAN_TYPES</name>
- <default><![CDATA[array(NULL => 'ethernet', NULL => 'fddi', NULL => 'tokenRing', NULL => 'fddiNet', NULL => 'trNet', NULL => 'deprecated')]]></default>
- </property>
- <property final="false" static="true" visibility="public" line="245" namespace="OSS\SNMP\MIBS\Cisco" package="Default">
- <name>$STP_X_RSTP_PORT_ROLES</name>
- <default><![CDATA[array(NULL => 'disabled', NULL => 'root', NULL => 'designated', NULL => 'alternate', NULL => 'backUp', NULL => 'boundary', NULL => 'master')]]></default>
- </property>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="100" package="Default">
- <name>vlanStates</name>
- <full_name>vlanStates</full_name>
- <docblock line="100">
- <description><![CDATA[Get the device's VTP VLAN States (indexed by VLAN ID)]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="100" name="see" description="\$VTP_VLAN_STATES" refers="\$VTP_VLAN_STATES"/>
- <tag line="100" name="see" description="\VTP_VLAN_STATE_OPERATIONAL" refers="\VTP_VLAN_STATE_OPERATIONAL"/>
- <tag line="100" name="param" description="If true, return the string representation via self::$VTP_VLAN_TYPES" type="boolean" variable="$translate">
- <type by_reference="false">boolean</type>
- </tag>
- <tag line="100" name="return" description="The device's VTP VLAN States (indexed by VLAN ID)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="100">
- <name>$translate</name>
- <default><![CDATA[NULL]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="173" package="Default">
- <name>vlanTypes</name>
- <full_name>vlanTypes</full_name>
- <docblock line="173">
- <description><![CDATA[Get the device's VTP VLAN Types (indexed by VLAN ID)]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="173" name="see" description="\$VTP_VLAN_TYPES" refers="\$VTP_VLAN_TYPES"/>
- <tag line="173" name="see" description="\VTP_VLAN_TYPE_ETHERNET" refers="\VTP_VLAN_TYPE_ETHERNET"/>
- <tag line="173" name="param" description="If true, return the string representation via self::$VTP_VLAN_TYPES" type="boolean" variable="$translate">
- <type by_reference="false">boolean</type>
- </tag>
- <tag line="173" name="return" description="The device's VTP VLAN types (indexed by VLAN ID)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="173">
- <name>$translate</name>
- <default><![CDATA[NULL]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="188" package="Default">
- <name>vlanNames</name>
- <full_name>vlanNames</full_name>
- <docblock line="188">
- <description><![CDATA[Get the device's VTP VLAN names (indexed by VLAN ID)]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="188" name="return" description="The device's VTP VLAN names (indexed by VLAN ID)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="280" package="Default">
- <name>rstpPortRole</name>
- <full_name>rstpPortRole</full_name>
- <docblock line="280">
- <description><![CDATA[Get the device's RSTP port roles (by given vlan id)]]></description>
- <long-description><![CDATA[<p>Only ports participating in RSTP for the given VLAN id are returned.</p>
- <p>This function will also convert STP port IDs to the device proper port IDs.
- E.g. sample output:</p>
- <p>Array
- (
- [10101] => 3
- [10103] => 3
- [10105] => 3
- [5048] => 2
- )</p>]]></long-description>
- <tag line="280" name="see" description="\$STP_X_RSTP_PORT_ROLES" refers="\$STP_X_RSTP_PORT_ROLES"/>
- <tag line="280" name="see" description="\STP_X_RSTP_PORT_ROLE_ROOT" refers="\STP_X_RSTP_PORT_ROLE_ROOT"/>
- <tag line="280" name="param" description="The RSTP VLAN ID to query port roles for" type="int" variable="$vid">
- <type by_reference="false">int</type>
- </tag>
- <tag line="280" name="param" description="If true, return the string representation via self::$STP_X_RSTP_PORT_ROLES" type="boolean" variable="$translate">
- <type by_reference="false">boolean</type>
- </tag>
- <tag line="280" name="return" description="The device's RSTP port roles (by given vlan id)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="280">
- <name>$vid</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- <argument line="280">
- <name>$translate</name>
- <default><![CDATA[NULL]]></default>
- <type/>
- </argument>
- </method>
- </class>
- <parse_markers>
- <error line="84" code="50018">No DocBlock was found for property $VTP_VLAN_STATES</error>
- <error line="155" code="50018">No DocBlock was found for property $VTP_VLAN_TYPES</error>
- <error line="245" code="50018">No DocBlock was found for property $STP_X_RSTP_PORT_ROLES</error>
- </parse_markers>
- </file>
- <file path="SNMP/MIBS/Cisco/RSTP.php" hash="58829284efc460dfde569f089452a137" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP\MIBS\Cisco" line="42" package="Default">
- <name>RSTP</name>
- <full_name>\OSS\SNMP\MIBS\Cisco\RSTP</full_name>
- <extends>OSS\SNMP\MIBS\Cisco</extends>
- <docblock line="42">
- <description><![CDATA[A class for performing SNMP V2 queries on Cisco devices]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="46" package="Default">
- <name>OID_STP_X_RSTP_PORT_ROLE</name>
- <full_name>OID_STP_X_RSTP_PORT_ROLE</full_name>
- <value><![CDATA['.1.3.6.1.4.1.9.9.82.1.12.2.1.3']]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="53" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_DISABLED</name>
- <full_name>STP_X_RSTP_PORT_ROLE_DISABLED</full_name>
- <value><![CDATA[1]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="59" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_ROOT</name>
- <full_name>STP_X_RSTP_PORT_ROLE_ROOT</full_name>
- <value><![CDATA[2]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="65" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_DESIGNATED</name>
- <full_name>STP_X_RSTP_PORT_ROLE_DESIGNATED</full_name>
- <value><![CDATA[3]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="71" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_ALTERNATE</name>
- <full_name>STP_X_RSTP_PORT_ROLE_ALTERNATE</full_name>
- <value><![CDATA[4]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="77" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_BACKUP</name>
- <full_name>STP_X_RSTP_PORT_ROLE_BACKUP</full_name>
- <value><![CDATA[5]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="83" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_BOUNDARY</name>
- <full_name>STP_X_RSTP_PORT_ROLE_BOUNDARY</full_name>
- <value><![CDATA[6]]></value>
- </constant>
- <constant namespace="OSS\SNMP\MIBS\Cisco" line="89" package="Default">
- <name>STP_X_RSTP_PORT_ROLE_MASTER</name>
- <full_name>STP_X_RSTP_PORT_ROLE_MASTER</full_name>
- <value><![CDATA[6]]></value>
- </constant>
- <property final="false" static="true" visibility="public" line="97" namespace="OSS\SNMP\MIBS\Cisco" package="Default">
- <name>$STP_X_RSTP_PORT_ROLES</name>
- <default><![CDATA[array(NULL => 'disabled', NULL => 'root', NULL => 'designated', NULL => 'alternate', NULL => 'backUp', NULL => 'boundary', NULL => 'master')]]></default>
- </property>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP\MIBS\Cisco" line="132" package="Default">
- <name>rstpPortRole</name>
- <full_name>rstpPortRole</full_name>
- <docblock line="132">
- <description><![CDATA[Get the device's RSTP port roles (by given vlan id)]]></description>
- <long-description><![CDATA[<p>Only ports participating in RSTP for the given VLAN id are returned.</p>
- <p>This function will also convert STP port IDs to the device proper port IDs.
- E.g. sample output:</p>
- <p>Array
- (
- [10101] => 3
- [10103] => 3
- [10105] => 3
- [5048] => 2
- )</p>]]></long-description>
- <tag line="132" name="see" description="\$STP_X_RSTP_PORT_ROLES" refers="\$STP_X_RSTP_PORT_ROLES"/>
- <tag line="132" name="see" description="\STP_X_RSTP_PORT_ROLE_ROOT" refers="\STP_X_RSTP_PORT_ROLE_ROOT"/>
- <tag line="132" name="param" description="The RSTP VLAN ID to query port roles for" type="int" variable="$vid">
- <type by_reference="false">int</type>
- </tag>
- <tag line="132" name="param" description="If true, return the string representation via self::$STP_X_RSTP_PORT_ROLES" type="boolean" variable="$translate">
- <type by_reference="false">boolean</type>
- </tag>
- <tag line="132" name="return" description="The device's RSTP port roles (by given vlan id)" type="array">
- <type by_reference="false">array</type>
- </tag>
- </docblock>
- <argument line="132">
- <name>$vid</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- <argument line="132">
- <name>$translate</name>
- <default><![CDATA[NULL]]></default>
- <type/>
- </argument>
- </method>
- </class>
- <parse_markers>
- <error line="97" code="50018">No DocBlock was found for property $STP_X_RSTP_PORT_ROLES</error>
- </parse_markers>
- </file>
- <file path="SNMP/MIB.php" hash="5d551cca390b2385f33b3896ed293bf8" package="Default">
- <class final="false" abstract="false" namespace="OSS\SNMP" line="42" package="Default">
- <name>MIB</name>
- <full_name>\OSS\SNMP\MIB</full_name>
- <extends/>
- <docblock line="42">
- <description><![CDATA[Parent class for all "MIB" extensions.]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="42" name="copyright" description="Copyright (c) 2012, Open Source Solutions Limited, Dublin, Ireland"/>
- <tag line="42" name="author" description="Barry O'Donovan <barry@opensolutions.ie>"/>
- </docblock>
- <property final="false" static="false" visibility="private" line="47" namespace="OSS\SNMP" package="Default">
- <name>$_snmp</name>
- <default><![CDATA[NULL]]></default>
- </property>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP" line="56" package="Default">
- <name>setSNMP</name>
- <full_name>setSNMP</full_name>
- <docblock line="56">
- <description><![CDATA[Set the SNMP instance]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="56" name="param" description="the SNMP instance" type="\OSS\SNMP" variable="$snmp">
- <type by_reference="false">\OSS\SNMP</type>
- </tag>
- <tag line="56" name="return" description="An instance of this class for fluent interfaces" type="\OSS\SNMP\MIB">
- <type by_reference="false">\OSS\SNMP\MIB</type>
- </tag>
- </docblock>
- <argument line="56">
- <name>$snmp</name>
- <default><![CDATA[]]></default>
- <type/>
- </argument>
- </method>
- <method final="false" abstract="false" static="false" visibility="public" namespace="OSS\SNMP" line="66" package="Default">
- <name>getSNMP</name>
- <full_name>getSNMP</full_name>
- <docblock line="66">
- <description><![CDATA[Get the SNMP instance]]></description>
- <long-description><![CDATA[]]></long-description>
- <tag line="66" name="return" description="Instance of the SNMP object" type="\OSS\SNMP">
- <type by_reference="false">\OSS\SNMP</type>
- </tag>
- </docblock>
- </method>
- </class>
- <parse_markers>
- <error line="47" code="50018">No DocBlock was found for property $_snmp</error>
- </parse_markers>
- </file>
- <file path="Exception.php" hash="42bb0a661ddb1ce2764c5ad1f05866c3" package="Default">
- <class final="false" abstract="false" namespace="OSS" line="41" package="Default">
- <name>Exception</name>
- <full_name>\OSS\Exception</full_name>
- <extends>Exception</extends>
- <docblock line="41">
- <description><![CDATA[OSS\SNMP\Exception class]]></description>
- <long-description><![CDATA[]]></long-description>
- </docblock>
- </class>
- </file>
- <package name="Default" full_name="Default"/>
- <namespace name="OSS" full_name="OSS">
- <namespace name="SNMP" full_name="OSS\SNMP">
- <namespace name="MIBS" full_name="OSS\SNMP\MIBS">
- <namespace name="Cisco" full_name="OSS\SNMP\MIBS\Cisco"/>
- </namespace>
- </namespace>
- </namespace>
- <marker count="0">todo</marker>
- <marker count="0">fixme</marker>
- <deprecated count="0"/>
- </project>
|