linux-bluetooth.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH BlueZ 0/9] mesh: Configuration storage re-org
@ 2019-07-10  5:09 Inga Stotland
  2019-07-10  5:09 ` [PATCH BlueZ 1/9] mesh: Move network config setup from storage.c to node.c Inga Stotland
                   ` (8 more replies)
  0 siblings, 9 replies; 19+ messages in thread
From: Inga Stotland @ 2019-07-10  5:09 UTC (permalink / raw)
  To: linux-bluetooth
  Cc: brian.gix, michal.lowas-rzechonek, jakub.witowski, Inga Stotland

This set of patches introduces the notion of generic mesh-config API
that allows the daemon to be agnostic of the underlying node configuration
directory layout and the format of the file(s) in which node configuration
is saved. The only assumption is that the configuration is stored in
<mesh_storage_directory>/<node_uuid> directory.

Currently, the daemon supports only JSON-based configuration format.
It is expected that other configuration formats may be added in future.


Inga Stotland (9):
  mesh: Move network config setup from storage.c to node.c
  mesh: Rename mesh-db.c to mesh-config-json.c
  mesh: Change mesh_db prefix to mesh_config
  mesh: Generalize mesh-config APIs
  mesh: Change variable prefix "jconfig" to "config"
  mesh: Define storage format specific read/write routines
  mesh: Implement config read/write for mesh json format
  mesh: Switch to using mesh-config routines for storage
  mesh: Make storage.c json-c agnostic

 Makefile.mesh                          |   2 +-
 mesh/cfgmod-server.c                   |  27 +-
 mesh/{mesh-db.c => mesh-config-json.c} | 515 ++++++++++++++++++-------
 mesh/mesh-config.h                     | 161 ++++++++
 mesh/mesh-db.h                         | 157 --------
 mesh/mesh.c                            |  11 +-
 mesh/model.c                           |   7 +-
 mesh/node.c                            |  83 ++--
 mesh/node.h                            |   4 +-
 mesh/storage.c                         | 385 +++++++-----------
 10 files changed, 745 insertions(+), 607 deletions(-)
 rename mesh/{mesh-db.c => mesh-config-json.c} (73%)
 create mode 100644 mesh/mesh-config.h
 delete mode 100644 mesh/mesh-db.h

-- 
2.21.0


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2019-07-10 19:32 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-07-10  5:09 [PATCH BlueZ 0/9] mesh: Configuration storage re-org Inga Stotland
2019-07-10  5:09 ` [PATCH BlueZ 1/9] mesh: Move network config setup from storage.c to node.c Inga Stotland
2019-07-10  5:09 ` [PATCH BlueZ 2/9] mesh: Rename mesh-db.c to mesh-config-json.c Inga Stotland
2019-07-10  5:09 ` [PATCH BlueZ 3/9] mesh: Change mesh_db prefix to mesh_config Inga Stotland
2019-07-10  5:09 ` [PATCH BlueZ 4/9] mesh: Generalize mesh-config APIs Inga Stotland
2019-07-10  7:38   ` Michał Lowas-Rzechonek
2019-07-10 15:01     ` Michał Lowas-Rzechonek
2019-07-10 15:58       ` Stotland, Inga
2019-07-10  5:09 ` [PATCH BlueZ 5/9] mesh: Change variable prefix "jconfig" to "config" Inga Stotland
2019-07-10  8:29   ` Michał Lowas-Rzechonek
2019-07-10  5:09 ` [PATCH BlueZ 6/9] mesh: Define storage format specific read/write routines Inga Stotland
2019-07-10  7:52   ` Michał Lowas-Rzechonek
2019-07-10 16:53     ` Stotland, Inga
2019-07-10 17:00       ` michal.lowas-rzechonek
2019-07-10 17:20     ` Gix, Brian
2019-07-10 19:32       ` Michal Lowas-Rzechonek
2019-07-10  5:09 ` [PATCH BlueZ 7/9] mesh: Implement config read/write for mesh json format Inga Stotland
2019-07-10  5:09 ` [PATCH BlueZ 8/9] mesh: Switch to using mesh-config routines for storage Inga Stotland
2019-07-10  5:09 ` [PATCH BlueZ 9/9] mesh: Make storage.c json-c agnostic Inga Stotland

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).