Skip to content
Success

Changes

Summary

  1. enb_registry: new module (details)
  2. enb_registry: track eNB uptime (details)
  3. enb_registry: fetch_enb_list/0: return sorted list (details)
  4. contrib/generate_build_dep.sh: pass '-n' to mv (details)
  5. debian: add missing libsctp dependency (details)
  6. debian: add osmo-s1gw.install (details)
Commit ada15bf75ae1718c8a8bf22a61137df053ee48d8 by Vadim Yanitskiy
enb_registry: new module

The purpose of this new module is to maintain a centralized eNB
registry, that can be easily queried via the upcoming REST interface.
This avoids the need to fetch the eNB connection list from the
sctp_server process and then query the individual processes
handling each connection.

Change-Id: I77a5a750ca6342da3a99926a44926b3973ab19c4
Related: SYS#7066
The file was modifiedtest/s1ap_proxy_test.erl
The file was modifiedsrc/sctp_proxy.erl
The file was modifiedsrc/osmo_s1gw_sup.erl
The file was modifiedsrc/s1ap_proxy.erl
The file was addedsrc/enb_registry.erl
The file was modifiedsrc/sctp_server.erl
Commit 7edca44a7abb2a2371b122e83390158d2b619f51 by Vadim Yanitskiy
enb_registry: track eNB uptime

Now that we have the global eNB registry, it makes more sense to
perform uptime tracking there instead of spawning a separate
enb_uptime process for each eNB connection.

Change-Id: I94fd06e559ae52d4d9c8b22e618e48dff718b53c
Related: SYS#7594, SYS#7066
The file was modifiedsrc/enb_registry.erl
The file was modifiedsrc/s1ap_proxy.erl
The file was removedsrc/enb_uptime.erl
Commit ba568c87a7379b63f5e1f94140c7bbf00c72c356 by Vadim Yanitskiy
enb_registry: fetch_enb_list/0: return sorted list

Change-Id: I51cc55982dda5f88e967b63433fb7e5be292aca1
The file was modifiedsrc/enb_registry.erl
Commit 738704a2aac9279147986f21679b38c94e4c41c6 by Vadim Yanitskiy
contrib/generate_build_dep.sh: pass '-n' to mv

It may happen that the same directory is present in both
`_build/default/lib` and `_build/default/plugins` directories.
In this case the `mv` command will fail, and this is exactly
what happens when adding a new dependency in a follow-up patch:

mv: cannot move './_build/default/plugins/ncalendar' to '_checkouts/ncalendar': Directory not empty
mv: cannot move './_build/default/plugins/ndto' to '_checkouts/ndto': Directory not empty
mv: cannot move './_build/default/plugins/njson' to '_checkouts/njson': Directory not empty

Pass `-n` to skip already existing checkouts.

Change-Id: I9a95afcac54dec9684f34224a912574bb387e96c
The file was modifiedcontrib/generate_build_dep.sh
Commit 9455ca17066850c9d55c6a03c667023ebeb3c98c by Vadim Yanitskiy
debian: add missing libsctp dependency

This dependency is *not* added automatically by `${shlibs:Depends}`
because it's not a dependency of `erlang-base`: it's listed as a
recommendation (in `Recommends`).  The `osmo-s1gw` package needs
to depend on libsctp explicitly;  otherwise it will not work
in a clean environment.

Change-Id: I9add00e501110b54447faf89fce0f18432663463
The file was modifieddebian/control
Commit 095edd35bc2574c5034f036534225e21f7752554 by Vadim Yanitskiy
debian: add osmo-s1gw.install

The `*.install` files give precise control over what gets packaged,
allowing to exclude files and/or include additional ones.  This will
be needed in a follow-up patches adding misc files.

Change-Id: Ia396351a73b665cbb9927b525e01ab451a6b0f78
The file was addeddebian/osmo-s1gw.install
The file was modifieddebian/rules