libosmocore.git branch neels/bind updated. 0.9.0-80-ga606593

gitosis at gitosis at
Tue Feb 23 23:23:51 UTC 2016

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "An utility library for Open Source Mobile Communications".

The branch, neels/bind has been updated
  discards  a74977772a2cba5eae9e11d9fdb67798469a4cf0 (commit)
  discards  ab602da4c5002e64e9079ddd56d246d05b5ee7e1 (commit)
       via  a60659327dec987d2e6cd92fecf9a5ee919eccd2 (commit)
       via  c1c9376a65ab21879470fe59573a6ddaf534b672 (commit)
       via  b8f79757ea9f0fd16fbfa65a9de4a550ff542f01 (commit)
       via  cc00bf8779f48fd1e592fc7d0a60fc00b04826cd (commit)

This update added new revisions after undoing existing revisions.  That is
to say, the old revision is not a strict subset of the new revision.  This
situation occurs when you --force push a change and generate a repository
containing something like this:

 * -- * -- B -- O -- O -- O (a74977772a2cba5eae9e11d9fdb67798469a4cf0)
             N -- N -- N (a60659327dec987d2e6cd92fecf9a5ee919eccd2)

When this happens we assume that you've already had alert emails for all
of the O revisions, and so we here report only the revisions in the N
branch from the common base, B.

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit a60659327dec987d2e6cd92fecf9a5ee919eccd2
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Feb 24 00:10:41 2016 +0100

    Add VTY section for Control interface bind address
    This may seem like overkill for a mere const char * config item, but it makes
    the Control interface VTY commands reusable in any main() scope (inspired by
    libosmo-abis' VTY config).
    Add API functions ctrl_vty_init() and ctrl_vty_get_bind_addr(), in new files
    src/ctrl/control_vty.c and include/osmocom/ctrl/control_vty.h, compiled and/or
    installed dependent on ENABLE_VTY.
    Using these functions allows configuring a static const char* with the VTY
         bind A.B.C.D
    which callers shall subsequently use to bind the Control interface to a
    specific local interface address, by passing the return value of
    ctrl_vty_get_bind_addr() to control_interface_setup().
    Add CTRL_NODE to enum node_type, "eating" RESERVED4_NODE to heed that comment
    on avoiding ABI changes.

commit c1c9376a65ab21879470fe59573a6ddaf534b672
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Wed Feb 24 00:09:40 2016 +0100

    add bind address parameter to ctrl_interface_setup()
    Make the ctrl interface bind address configurable, so that it may be made
    available on other addresses than The specific aim is to allow
    running multiple osmo-nitbs alongside each other (commits in openbsc follow).

commit b8f79757ea9f0fd16fbfa65a9de4a550ff542f01
Author: Neels Hofmeyr <nhofmeyr at>
Date:   Tue Feb 23 14:01:41 2016 +0100

    vty: add bind command for telnet vty line
    Add VTY command
        line vty
         bind A.B.C.D
    The command merely stores the configured IP-address, which can then be used by
    the calling main program to set the telnet port of the VTY line. (Commits in
    openbsc and osmo-iuh will follow up on this.)
    Add function vty_get_bind_addr() to publish the address in the vty.h API.
    Add static vty_bind_addr to store.
    For allocation/freeing reasons, a NULL address defaults to
    BTW, I decided against allowing keywords 'any' and 'localhost' in place of an
    actual IP address to make sure a written config is always identical to the
    parsed config.


Summary of changes:
 TODO-RELEASE                       |  1 +
 include/                |  3 +-
 include/osmocom/ctrl/control_if.h  |  4 +-
 include/osmocom/ctrl/control_vty.h |  9 ++++
 include/osmocom/gsm/l1sap.h        | 11 +++++
 include/osmocom/vty/command.h      |  3 +-
 src/ctrl/               |  4 ++
 src/ctrl/control_vty.c             | 90 ++++++++++++++++++++++++++++++++++++++
 8 files changed, 121 insertions(+), 4 deletions(-)
 create mode 100644 include/osmocom/ctrl/control_vty.h
 create mode 100644 src/ctrl/control_vty.c

An utility library for Open Source Mobile Communications

More information about the osmocom-commitlog mailing list