obmc-phosphor-discovery-service: Include hostname in service names

Currently, we'll export avahi services solely under their service names.
With multiple BMCs on a network, this ends up with multiple
indistinguisable services exposed over avahi:

  [jk@pecola ~]$ avahi-browse _obmc_console._tcp
  +    br0 IPv6 obmc_console             _obmc_console._tcp   local
  +    br0 IPv4 obmc_console             _obmc_console._tcp   local
  +    br0 IPv4 obmc_console #2          _obmc_console._tcp   local
  +    br0 IPv6 obmc_console #2          _obmc_console._tcp   local

This change uses the hostname as the identifier instead. There's no need
to include the service name, as that's what the service type field is
for.

Signed-off-by: Jeremy Kerr <jk@codeconstruct.com.au>
Change-Id: I23fcbf23b7f2b41a82f9be32c09117438f44e986
1 file changed
tree: 835434f125e3480b7baf1eb6b4adee829fe02df0
  1. aspeed-layer/
  2. classes/
  3. conf/
  4. nuvoton-layer/
  5. raspberrypi/
  6. recipes-connectivity/
  7. recipes-core/
  8. recipes-devtools/
  9. recipes-extended/
  10. recipes-graphics/
  11. recipes-phosphor/
  12. recipes-protocols/
  13. recipes-support/
  14. recipes-textproc/
  15. recipes-x86/
  16. COPYING.apache-2.0
  17. COPYING.MIT
  18. LICENSE
  19. MAINTAINERS
  20. README.md
  21. recipes.txt
README.md

OpenBMC

meta-phosphor is the OpenBMC layer. This layer should be included for all OpenBMC systems. The OpenBMC layer contains content which is shared between all OpenBMC systems.