Pārlūkot izejas kodu

Rename directory

Barry O'Donovan 13 gadi atpakaļ
vecāks
revīzija
d2bccc36db

OSS/Cache.php → OSS_SNMP/Cache.php


OSS/Cache/APC.php → OSS_SNMP/Cache/APC.php


OSS/Cache/Basic.php → OSS_SNMP/Cache/Basic.php


OSS/Exception.php → OSS_SNMP/Exception.php


OSS/SNMP.php → OSS_SNMP/SNMP.php


OSS/SNMP/MIB.php → OSS_SNMP/SNMP/MIB.php


OSS/SNMP/MIBS/Asterisk.php → OSS_SNMP/SNMP/MIBS/Asterisk.php


OSS/SNMP/MIBS/Asterisk/Channels.php → OSS_SNMP/SNMP/MIBS/Asterisk/Channels.php


OSS/SNMP/MIBS/Asterisk/Indications.php → OSS_SNMP/SNMP/MIBS/Asterisk/Indications.php


OSS/SNMP/MIBS/Bridge.php → OSS_SNMP/SNMP/MIBS/Bridge.php


OSS/SNMP/MIBS/Cisco.php → OSS_SNMP/SNMP/MIBS/Cisco.php


OSS/SNMP/MIBS/Cisco/CDP.php → OSS_SNMP/SNMP/MIBS/Cisco/CDP.php


OSS/SNMP/MIBS/Cisco/RSTP.php → OSS_SNMP/SNMP/MIBS/Cisco/RSTP.php


OSS/SNMP/MIBS/Cisco/VTP.php → OSS_SNMP/SNMP/MIBS/Cisco/VTP.php


OSS/SNMP/MIBS/Entity.php → OSS_SNMP/SNMP/MIBS/Entity.php


OSS/SNMP/MIBS/Host.php → OSS_SNMP/SNMP/MIBS/Host.php


OSS/SNMP/MIBS/Iface.php → OSS_SNMP/SNMP/MIBS/Iface.php


OSS/SNMP/MIBS/LAG.php → OSS_SNMP/SNMP/MIBS/LAG.php


OSS/SNMP/MIBS/System.php → OSS_SNMP/SNMP/MIBS/System.php


OSS/Timer.php → OSS_SNMP/Timer.php


+ 5 - 5
README.md

@@ -4,7 +4,7 @@ OSS_SNMP
 A PHP SNMP Library for People Who HATE SNMP, MIBs and OIDs!
 A PHP SNMP Library for People Who HATE SNMP, MIBs and OIDs!
 ------------------------------------------------------------
 ------------------------------------------------------------
 
 
-I ([Barry O'Donovan](http://www,barryodonovan.com/)) hate SNMP! But I have
+I ([Barry O'Donovan](http://www.barryodonovan.com/)) hate SNMP! But I have
 to use it on a daily basis with my company, [Open
 to use it on a daily basis with my company, [Open
 Solutions](http://www.opensolutions.ie/).
 Solutions](http://www.opensolutions.ie/).
 
 
@@ -32,7 +32,7 @@ Example Usage
 First, we need to instantiate an SNMP object with a hostname / IP address and
 First, we need to instantiate an SNMP object with a hostname / IP address and
 a community string:
 a community string:
 
 
-    $ciscosw = new \OSS\SNMP( $ip, $community );
+    $ciscosw = new \OSS_SNMP( $ip, $community );
 
 
 Assuming the above is a standard Cisco switch, let's say I want to get an
 Assuming the above is a standard Cisco switch, let's say I want to get an
 associate array of VLAN names indexed by the VLAN ids:
 associate array of VLAN names indexed by the VLAN ids:
@@ -66,7 +66,7 @@ for the full text.
 The Bad News... with some Good News
 The Bad News... with some Good News
 ------------------------------------
 ------------------------------------
 
 
-The, what I'm calling, *MIBs* are defined in `OSS/SNMP/MIBS` and these define the functionality as per the examples above.
+The, what I'm calling, *MIBs* are defined in `OSS_SNMP/MIBS` and these define the functionality as per the examples above.
 
 
 There's only a handful of MIBs currently defined - essentially what I've needed so far for other projects.
 There's only a handful of MIBs currently defined - essentially what I've needed so far for other projects.
 
 
@@ -94,7 +94,7 @@ rather than the old way:
 And as most of the defined MIBs *walk* a given tree, almost all defined functions return an array.
 And as most of the defined MIBs *walk* a given tree, almost all defined functions return an array.
 
 
 Right now it's SNMP v2. This can be easily updated for multiple version support. Also, it's read only
 Right now it's SNMP v2. This can be easily updated for multiple version support. Also, it's read only
-as, at time of writing, I have no requirement to set SNMP values. 
+as, at time of writing, I have no requirement to set SNMP values.
 
 
 
 
 Code / phpDoc Documentation
 Code / phpDoc Documentation
@@ -104,6 +104,6 @@ Documentation can be generated from the root directory by executing:
 
 
     ./bin/phpdoc.sh --force
     ./bin/phpdoc.sh --force
 
 
-and it will be found under the `doc/` directory. There is 
+and it will be found under the `doc/` directory. There is
 [an online version available here](http://opensolutions.github.com/OSS_SNMP/doc/).
 [an online version available here](http://opensolutions.github.com/OSS_SNMP/doc/).