<div dir="ltr">Hi All,<div><br></div><div>Below is the design document for enhancing the discovery class infrastructure.</div><div><br></div><div># Enhance Discovery class infrastructure<br><br>Primary assignee:<br>  Asmitha KR<br><br>Other contributors:<br>  Ratan K Gupta<br><br>Created:<br>  2019-06-28<br><br>## Problem Description<br>Avahi is a system which facilitates service discovery on a local network via<br>the mDNS/DNS-SD protocol suite. It allows programs to publish and discover<br>services running on a local network. The format of the Avahi service file is<br>in the "Background and References[1]" section. We have a requirement where the<br>management console needs to identify the vendor-specific servers in a network.<br><br>## Background and References<br>[1] <a href="https://github.com/lathiat/avahi/blob/master/avahi-daemon/example.service">https://github.com/lathiat/avahi/blob/master/avahi-daemon/example.service</a><br>[2] <a href="https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/22950">https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/22950</a><br>[3] <a href="https://gerrit.openbmc-project.xyz/c/openbmc/meta-ibm/+/22951">https://gerrit.openbmc-project.xyz/c/openbmc/meta-ibm/+/22951</a><br><br>## Requirements<br>None.<br><br>## Proposed Design<br>The services that are being published by avahi have various fields like -<br>service name, type, port, hostname, address, port, and a text record. To solve<br>the above-listed problem, we are proposing a solution in which the<br>vendor-specific information is included in the text record field of the avahi<br>service file.<br><br>To do so, currently, in OpenBMC we have the infrastructure where the<br>service-specific data is passed through a specific service bb file. Depending<br><div>on the distro feature(slp or avahi), it generates the service file with the<br>given data. We are enhancing this infrastructure to add the vendor-specific<br>information in the avahi service file(under txt-record).<br><br>There is a commit "Background and References[2 & 3]" section which is up for<br>review.<br><br>## Alternatives Considered<br>None.<br><br>## Impacts<br>None.<br><br>## Testing<br>The path /etc/avahi/services contain all the services that avahi publishes on<br>startup.<br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">Thanks & Regards,<div>Asmitha Karunanithi</div></div></div></div></div></div></div>