Details
-
Bug
-
Resolution: Incomplete
-
Minor
-
None
-
None
-
Cisco 6500s
Description
A couple of changes were made today in the code 1 of which was to the dbInsert line in pseudowires ("includes/discovery/cisco-pw.inc.php") adding the field 'peer_addr' but there hasn't been a release for the .sql update altering the table. This causes inserts to completely fail. Can someone include the sql update to add the column into mysql?
Other issue is i'm using the pseudowires discovery across 6x 6500's but this line:- $pws = snmpwalk_cache_oid($device, "cpwVcPeerAddr", $pws, "CISCO-IETF-PW-MPLS-MIB"); does not work with the 6500's or at least the IOS ver that we're running here 12.2(33) XXX
I made 2 code changes to get it working:-
1: remove the 'peer_addr' from the insert completely.
2: change the 'if' statement for the peer_addr to as below:-
list($peer_addr,$cpw_remote_id) = explode(":", $pw['cpwVcMplsPeerLdpID']);