Grammar for parsing and writing lpfc.conf

Version 2
    Share This:

    From Stathy Touloumis and Sean Berry:



  grammar for parsing multi-line values.


    There can be many variations on the multi-line format, this assumes a strict format as described below and in the attached lpfc.conf.





    It currently reads and writes all same-line entries, but does not correctly read or write multiline values, ala:





    These are most commonly the WWPN’s, ala:








    This grammar is most suitable for Compliance and Audit purposes: it may still need some work for doing deploys