This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/13181
Change subject: slotmap: Add "DELETE_REQ" state
......................................................................
slotmap: Add "DELETE_REQ" state
Change-Id: I953e72e304d6403b2e47f7546a36abfdf246e44b
---
M src/slotmap.c
M src/slotmap.h
2 files changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/81/13181/1
diff --git a/src/slotmap.c b/src/slotmap.c
index 12d7777..a8874fb 100644
--- a/src/slotmap.c
+++ b/src/slotmap.c
@@ -17,6 +17,7 @@
{ SLMAP_S_NEW, "NEW" },
{ SLMAP_S_UNACKNOWLEDGED, "UNACKNOWLEDGED" },
{ SLMAP_S_ACTIVE, "ACTIVE" },
+ { SLMAP_S_DELETE_REQ, "DELETE_REQ" },
{ SLMAP_S_DELETING, "DELETING" },
{ 0, NULL }
};
diff --git a/src/slotmap.h b/src/slotmap.h
index af08a81..5d3d891 100644
--- a/src/slotmap.h
+++ b/src/slotmap.h
@@ -36,7 +36,8 @@
SLMAP_S_NEW, /* created; not yet sent to bankd */
SLMAP_S_UNACKNOWLEDGED, /* created + sent to bankd but not yet acknowledge by bankd */
SLMAP_S_ACTIVE, /* fully active map; acknowledged by bankd */
- SLMAP_S_DELETING, /* we were asked to delete it; bankd hasn't confirmed yet */
+ SLMAP_S_DELETE_REQ, /* fully active map; REST has requested deletion */
+ SLMAP_S_DELETING, /* RSPRO has issued Remove to bankd, but bankd hasn't confirmed yet */
};
extern const struct value_string slot_map_state_name[];
static inline const char *slotmap_state_name(enum slot_mapping_state st)
--
To view, visit https://gerrit.osmocom.org/13181
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I953e72e304d6403b2e47f7546a36abfdf246e44b
Gerrit-Change-Number: 13181
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190307/afa56e91/attachment.htm>