In this revision, the parsing code is now external; it has been split out to “fcparsers.jar” from fcparsers-java rpm visible at github.com/chickenandpork/fibrechannel-parsers/ … this was done to improve code visibility and to allow bug reports to be created more closely to the specific piece of code involved.
In doing so, I also chased down a parsing issue in that the following block would produce a nickname short:
alias: NASMany_654321 10:00:00:00:c9:44:44:10; 10:00:00:00:c9:44:44:11 10:00:00:00:c9:44:44:20; 10:00:00:00:c9:44:44:21 10:00:00:00:c9:44:44:30; 10:00:00:00:c9:44:44:31
Results:
10:00:00:00:c9:44:44:11,"NASMany_654321" 10:00:00:00:c9:44:44:20,"NASMany_654321" 10:00:00:00:c9:44:44:21,"NASMany_654321" 10:00:00:00:c9:44:44:30,"NASMany_654321" 10:00:00:00:c9:44:44:31,"NASMany_654321"
… clearly missing “10:00:00:00:c9:44:44:10” (and yes, per the weak consuming parser to which we send this result, no space can be between the WWN and the alias).
That was resolved by fixing the byacc parser code. All six members now show up.