Inject "wim_port_mappings" from "wim.config" 63/7063/4
authorAnderson Bravalheri <a.bravalheri@bristol.ac.uk>
Sun, 16 Dec 2018 20:44:08 +0000 (20:44 +0000)
committerAnderson Bravalheri <a.bravalheri@bristol.ac.uk>
Fri, 18 Jan 2019 12:24:01 +0000 (12:24 +0000)
commitfed47b0903b8e5ee93591ef53540432d3ecce796
treeca8abc044e154e6cdcf72df97edfff4641d0cec3
parent0fb702806f0ae0e3157fffcd541537293edb84b8
Inject "wim_port_mappings" from "wim.config"

Automatically create/update port mappings during WIM creation/update,
as discussed in the WIM implementation meeting (12/Dec/2018).

Additionally fix small related errors and ensure wan_port_mappings
are returned by the HTTP server using the same keys forming the schema.

Change-Id: Icc27ad85c1de826ed96cb42b377055ea1b0c2cab
Signed-off-by: Anderson Bravalheri <a.bravalheri@bristol.ac.uk>
osm_ro/wim/engine.py
osm_ro/wim/http_handler.py
osm_ro/wim/persistence.py
osm_ro/wim/schemas.py
osm_ro/wim/tests/fixtures.py
osm_ro/wim/tests/test_http_handler.py
osm_ro/wim/tests/test_persistence.py