Attention is currently required from: lynxis lazus.

jolly uploaded patch set #4 to this change.

View Change

The following approvals got outdated and were removed: Verified+1 by Jenkins Builder

Add maintenance mapping support to osmo-remsim-server

A normal mapping and a maintenance mapping may share the same bank/slot.
In this case the normal mapping will be inactive until the maintenance
mapping has been deleted. The maintenance mapping has priority over the
normal mapping.

If a maintenance mapping share the same bank/slot of an existing normal
mapping, the normal mapping is suspended. The maintenance mapping hat
priority over the mapping. The following steps are performed:

* The maintenance mapping is put into INACTIVE state.
* The normal mapping is deleted and put into INACTIVE state.
* The maintenance mapping is created.

Once the maintenance mapping is removed, the normal mapping is restored.
The following steps are performed:

* The maintenance mapping is deleted and then removed.
* The normal mapping in INACTIVE state is created again.

To control the maintenance flag, the rest API is expanded. An optional
'maintenance' tag is added to the URL.

Related: SYS#8159
Change-Id: I885b3b529276f46fbbe6d86be2170b0bffbb8434
---
M src/server/rest_api.c
M src/server/rspro_server.c
M src/slotmap.h
3 files changed, 106 insertions(+), 10 deletions(-)

git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/45/43745/4

To view, visit change 43745. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-MessageType: newpatchset
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I885b3b529276f46fbbe6d86be2170b0bffbb8434
Gerrit-Change-Number: 43745
Gerrit-PatchSet: 4
Gerrit-Owner: jolly <andreas@eversberg.eu>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: lynxis lazus <lynxis@fe80.eu>
Gerrit-Attention: lynxis lazus <lynxis@fe80.eu>