NA needs to support Serial Number for Brocade MLX's right now Mar driver pack is incorrect RegEx

NA needs to support Serial Number for Brocade MLX's right now Mar driver pack is incorrect RegEx

The March Driver Pack for NA has the wrong RegEx for finding the Serial Number for Brocade MLX switches.  The workaround is to unzip the Foundry_JS.rdp file change the snapshot_parser.js file.

The problem is with the regex expression for

cake.snapshot.patter_SerialNumber = /\n[\t ]+Serial +#: ?(\S+)/;

 A more correct regex pattern that works with Brocade MLX’s should show the following: 

cake.snapshot.pattern_SerialNumber = /\n[\t ]+Serial +#: ?(\S+)|Chassis.*?Serial +#: ?(\S+?)[, ]/;

Once you make the change rezip the file Foundry_JS.rdp and then reload the drivers.  Please fix this defect.

 

4 Comments
Warcraft Contributor.
Contributor.

Found another case where above does not quite work, suggest updating to:

cake.snapshot.pattern_SerialNumber = /\n[\t ]+Serial +#: ?(\S+)|Chassis.*?Serial +#: +(\S+?)[, ]/;

Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
Status changed to: Declined
Dear Submitter, This forum is to handle any enhancements that you need in the product. For defects in the product, I would recommend you to follow the regular support process.
Warcraft Contributor.
Contributor.

@AkashDeep 

We submitted this as a defect, and Support came back and said this is an enhancment. Seems Development and Support are pointing fingers at each other, someone should make a decision which it is.

Whitlock Support Honored Contributor.
Honored Contributor.

This was submitted under this case ID: SD02466478  and was escalated and the support engineer asked for this to be put on the idea exchange as an enhancement for the next driver pack.

The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.