pcp
[Top] [All Lists]

pcp updates: pmcd service advertising (discovery phase#1)

To: PCP <pcp@xxxxxxxxxxx>
Subject: pcp updates: pmcd service advertising (discovery phase#1)
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Tue, 29 Oct 2013 22:58:19 -0400 (EDT)
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <527116882.14636308.1383101850518.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: ktaYn8nPPy+EAFWdo/pwU+gN0eHxtw==
Thread-topic: pcp updates: pmcd service advertising (discovery phase#1)
Changes committed to git://oss.sgi.com/pcp/pcp.git dev

 CHANGELOG                     |    8 
 build/rpm/GNUmakefile         |    3 
 build/rpm/fedora.spec         |    1 
 build/rpm/pcp.spec.in         |    5 
 configure                     | 1178 ++++++++++++++++++++++++------------------
 configure.in                  |   94 ++-
 debian/control                |    2 
 qa/454                        |    1 
 qa/546                        |    1 
 qa/640                        |   60 --
 qa/640.out                    |    3 
 qa/840                        |   46 +
 qa/840.out                    |    2 
 qa/944                        |    1 
 qa/group                      |    4 
 qa/src/GNUlocaldefs           |    2 
 qa/src/pmpost-exploit.c       |   95 ---
 src/include/builddefs.in      |    5 
 src/include/pcp/config.h.in   |    4 
 src/include/pcp/impl.h        |   24 
 src/libpcp/src/GNUmakefile    |   25 
 src/libpcp/src/auxserver.c    |  255 ++++++---
 src/libpcp/src/avahi.c        |  724 +++++++++++++++++++------
 src/libpcp/src/avahi.h        |   61 +-
 src/libpcp/src/check-statics  |   10 
 src/libpcp/src/config.c       |    6 
 src/libpcp/src/internal.h     |   16 
 src/libpcp/src/secureserver.c |   40 -
 src/pmcd/src/pmcd.c           |   12 
 src/pmdbg/pmdbg.c             |    2 
 30 files changed, 1675 insertions(+), 1015 deletions(-)

commit cc5afacc0a22fdbd3952a772cfaddd7233488896
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 13:05:01 2013 +1100

    Filter Avahi warning from tests intentionally running an extra pmcd

commit de104f8be37379c8335780e46e417bc259d6e2e6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 10:51:27 2013 +1100

    Update test 640 output after recent test changes

commit c845ba02f282511298d46adf39c18ba404aed5dd
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 10:35:41 2013 +1100

    Small changelog updates for planned small bugfix release

commit 8b6d2e95a773095b6f75d6ef3122a0ba9d57e8ea
Merge: 472edd3 169b84b
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 10:29:52 2013 +1100

    Merge branch 'brolley/dev' of ../pcpfans into dev

commit 169b84b6fe596a983d728f0077169f9f349cbcc3
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 10:27:55 2013 +1100

    Add a DBG_DISCOVERY tracing flag, and begin using it for Avahi

commit 472edd343bfb5e61c635f29b9ae892a5e6a7274e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 10:22:54 2013 +1100

    Rework the old pmpost exploit test so it does useful work

commit f7e39ca5140380f02f197df1d434127714cb2295
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 09:48:02 2013 +1100

    Trivial code consistency cleanups in shiny new Avahi code

commit 836946462a62311b7a13ec9bb9432aa28921239f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Wed Oct 30 09:47:16 2013 +1100

    Make qa/840 seek more widely for avahi-daemon (in /usr/sbin here)

commit a8419b4b71b4a406eb6278f8c962576d82643c9e
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Tue Oct 29 15:44:55 2013 -0400

    New test 840, checks that PMCD is advertising using avahi
    when supported.

commit 028fb3122faa8596ccc1cfcc3ad4fcf2b89a7b86
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Tue Oct 29 12:39:06 2013 -0400

    Some code consistency fixups for the new avahi.c
    
    Mainly naming conventions changes: Use mixedCaseNames instead of
    lower_case_with_underscore where possible. The avahi API uses
    the latter, so those names could not be changed.

commit a64c28341a86ee777fc02ac2104b66d0d5f8cd99
Merge: 17cd682 d7bb8c1
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Tue Oct 29 12:20:45 2013 -0400

    Merge remote-tracking branch 'origin/dev' into brolley/dev

commit 17cd68292f88e2d9be8606df5c8ff4e0c81aa77a
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date:   Tue Oct 29 12:06:04 2013 -0400

    Implement build-configuration detection for service_discovery.

commit e62d61223fe358b6466744b08332416dc2a9966b
Merge: 97b1d9e c044afc
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 28 13:53:46 2013 -0400

    Merge remote-tracking branch 'origin/dev' into brolley/dev

commit 97b1d9e75832624b0d1250b9d23513125fbdbf90
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 28 12:46:24 2013 -0400

    Configuration enhancements for dns-sd from nathans.
    
    Also a few tweaks to make it merge cleanly with the current
    code.

commit c554195887ace7d3c5007be893ffe8d0c539db92
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 28 11:10:44 2013 -0400

    Rework libpcp support for servers to announce their presence on the network.
    
    - Plug the leak of avahi-ness in the API:
      - abstracted  __pmServerPresence to be an opaque struct which
        can contain information about multiple broadcast methods.
        Currently only avahi is represented. The server need not be
        aware of which one(s) are available/active.
      - Replaced __pmServerSetServiceName() and __pmServerSetServiceTag()
        with __pmServerSetServiceSpec(const char *). The argument is
        a string which identifies the service to be advertised. Currently,
        it is simply the name of the server (e.g. "pmcd").
    
    - __pmServerAdvertisePresence() can now use multiple methods
      (currently only avahi) to advertise the server. Similarly,
      __pmServerUnadvertisePresence() can clean up all of the
      active announcements.

commit fc0d8cb59e6b2a3c22e895f657f5707ad0b81d3c
Merge: 2c2bb7e fd4214f
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 21 10:39:24 2013 -0400

    Merge remote-tracking branch 'origin/dev' into brolley/dev

commit 2c2bb7e60f8229076ac1ca5b43435d412e55168e
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 21 10:38:28 2013 -0400

    Reformat code to eliminate long source lines.

commit d7912266708a553b610aff363610069f019b8dd1
Merge: 5cdeaa1 2942bd8
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 7 16:30:55 2013 -0400

    Merge remote-tracking branch 'origin/dev' into brolley/dev

commit 5cdeaa18b367a16d80a1a6066116d74749281929
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date:   Mon Oct 7 16:21:55 2013 -0400

    libpcp support for servers to advertise on the local network.
    
    - Support is provided by Avahi, where available and otherwise disabled.
    - Servers indicate that they want to advertise their presence by
      calling __pmServerSetServiceName() and/or __pmServerSetServiceTag().
      When one or both of these functions has been called before
      __pmServerOpenRequestPorts(), then __pmServerOpenRequestPorts() will
      advertise the server once for each port it is listening on. The service
      for each port will be unadvertised when __pmCloseRequestPorts() is
      called or when the server shuts down.
    - Servers may also advertise themselves directly by calling
      __pmServerAdvertisePresence()/__pmServerUnadvertisePresence()
    
    This code is accessed via the new API functions 
__pmServerAdvertisePresence() and __pmServerUnadvertisePresence()

<Prev in Thread] Current Thread [Next in Thread>
  • pcp updates: pmcd service advertising (discovery phase#1), Nathan Scott <=