openLLDP Patch
This patch is for openLLDP http://openlldp.sourceforge.net/. Location information is stored in a file that can be read by Zap for LLDP-MED location determination. Get openlldp-0.3alpha and apply the patch. Do not forget to install libconfuse http://www.nongnu.org/confuse/. For debian, a package called libconfuse-dev is available (apt-get install libconfuse-dev)
Apply the patch by executing:
patch -Np1 -i openlldppatch.txt
in the openLLDP folder.
Note: the current CVS version of openLLDP has LLDP-MED support, but does not write the location information to a file.
Sample output of the openLLDP location file: LLDP-MED
Example location configuration file lldp.conf for openLLDP:
location_data_format = 1 civic_countrycode = "AT" civic_what = 1 civic_ca0 = "" civic_ca1 = "Burgenland" civic_ca2 = "Neusiedl am See" civic_ca3 = "Neusiedl am See" civic_ca4 = "" civic_ca5 = "" civic_ca6 = "Hauptplatz" civic_ca7 = "" civic_ca8 = "" civic_ca9 = "" civic_ca10 = "" civic_ca11 = "" civic_ca12 = "" civic_ca13 = "" civic_ca14 = "" civic_ca15 = "" civic_ca16 = "" civic_ca17 = "" civic_ca18 = "" civic_ca19 = "1" civic_ca20 = "" civic_ca21 = "" civic_ca22 = "" civic_ca23 = "Gemeindeamt" civic_ca24 = "7100" civic_ca25 = "" civic_ca26 = "" civic_ca27 = "" civic_ca28 = "" civic_ca29 = "" civic_ca30 = "" civic_ca31 = "" coordinate_based_lci = "4B:BD:C2:8F:5C:49:2E:6E:2E:C3:13:C0:00:21:B3:01" elin = "001234567890123"
Attachments
- openlldppatch.txt (380.8 kB) - added by karlheinzw 4 years ago.
