History log of /system/weaved/buffet/avahi_mdns_client.h
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3dae2c9f756721a220f8b59c70306031568a3ff2 17-Dec-2015 Alex Vakulenko <avakulenko@google.com> Fix avahi host name resolution scenarios

When host name collision is detected, avahi picks a new host name,
however it fails to update any published services with the new name
which leads to wrong IP address resolution for the service.

As a work-around, when we detect an avahi-client restart, we just
re-publish our service, so it picks up the new host name.

BUG: 26237307
Change-Id: I980735890c62957e1bc433a07c319eff646c358c
/system/weaved/buffet/avahi_mdns_client.h
494b72473a1c436751003c249e1e4a9f81102329 14-Dec-2015 Casey Dahlin <sadmac@google.com> Refactor weaved to use Avahi client library

Change-Id: Iaa82d85fd88a7a252efc9d509dad4c33a576172d
Test: Manual testing by avakulenko
Bug: 26184797
Signed-off-by: Casey Dahlin <sadmac@google.com>
/system/weaved/buffet/avahi_mdns_client.h
0022b7523bca3bde23c0f982384f83a39791e88b 02-Oct-2015 Alex Vakulenko <avakulenko@google.com> Sync with latest version of libweave

Pull the latest changes of libweave and update weaved correspondingly

Change-Id: I0a24a948c9296d4f8a12d1f26f808cb7b78fe572
/system/weaved/buffet/avahi_mdns_client.h
e32375bdf73d6e79a003a194e4c6931f38348520 28-Sep-2015 Alex Vakulenko <avakulenko@google.com> Update interface implementations to reflect changes to libweave

Pulling current version of libweave and making necessary changes to
weaved implementation of libweave's interfaces

Change-Id: I31d5d00ce1c7d2338257d62ec2dd510608ff71af
/system/weaved/buffet/avahi_mdns_client.h
0fef815c8c01278307e211b6952efbca53d82132 25-Sep-2015 Alex Vakulenko <avakulenko@google.com> Pull new version of libweave and update weaved's implementation

libweave had some interface clean-up work done, so reflecting the
current state of library in Brillo.

Change-Id: I987ed3721df917fe59f623a8e00110e2ede4f72f
/system/weaved/buffet/avahi_mdns_client.h
35d119ab40cdfd317c46abe08472e2981adf90b5 11-Sep-2015 Alex Vakulenko <avakulenko@google.com> Sync weaved with the latest version of libweave

Made corresponding changes to weaved to reflect the changes to
public interfaces from libweave

Change-Id: I5c2c276a75f869820b35f739b3a33f6e4b878876
/system/weaved/buffet/avahi_mdns_client.h
b50bf54e001269bf2132860612f9249f727c70a5 25-Aug-2015 Robert Ginda <rginda@google.com> Update service txt records when possible.

When possible, use the avahi UpdateServiceTxt api to update an existing
service rather than delete and re-create it.

Bug: 23495262
Test: Image dragonboard with these changes, provision the device,
rename the device, verify that no new Avahi groups were created
in the process and service txt record has actually been changed.

Change-Id: I36fdc3200eccabf134934a9962b61cca3b24a3c9
/system/weaved/buffet/avahi_mdns_client.h
7f019f8f9ac0c5e4db6255e23267cca362839136 22-Aug-2015 Alex Vakulenko <avakulenko@google.com> Fix crash in weaved when re-publishing mDNS records

After calling StopPublishing() |entry_group_| is freed, so subsequent
call to CreateService() will segfault. Must re-create the entry group
before publishing the mDNS records.

Also the base class already has the generated GUID for device_id, so
use that instead of |service_name_|, since service ID should in theory
be persistent (or else clients will see "new device" each time we
change the mDNS records)

Change-Id: I8c58fc594c130e9f73528c2b9979f6d1196da8ea
/system/weaved/buffet/avahi_mdns_client.h
cf92c66d1aa30678beaa64501c9febc3933c23a9 20-Aug-2015 Robert Ginda <rginda@google.com> Implement AvahiMdnsClient

Implement the AvahiMdnsClient interface. This is based on code
from peerd/avahi_client.cc and avahi_service_publisher.cc.

Bug: 23288773
Change-Id: If58df0bf3d71c665c764ca8994b43dcff237549e
/system/weaved/buffet/avahi_mdns_client.h
f0f55340a10fea9d106b832cd1392441a5efcfd4 19-Aug-2015 Alex Vakulenko <avakulenko@google.com> system/weaved: Make weaved compile and run on Brillo

This is an intermediate step in making weaved daemon compile
and run on Brillo. Right now it starts up successfully at system
boot.

Now we just need to hook it up to other system components such as
web server, avahi, etc.

Bug: 23113639
Change-Id: I163e2558ff2a2ed800d8e4eb28fab727bf844602
/system/weaved/buffet/avahi_mdns_client.h