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/.
tsaitgaist gerrit-no-reply at lists.osmocom.orgtsaitgaist has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/15469 Change subject: remsim-apitool.py: pass IDs as integer ...................................................................... remsim-apitool.py: pass IDs as integer currently the bankId, clientId, and slotNr are passed as strings. this is not the format expected by the server, which returns 400 "Bad Request". the issue was that the python tool did not parse the arguments as integer. Change-Id: I8baab1b516067f47a7d230213e44d8f85e6d9919 --- M contrib/remsim-apitool.py 1 file changed, 2 insertions(+), 2 deletions(-) git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/69/15469/1 diff --git a/contrib/remsim-apitool.py b/contrib/remsim-apitool.py index 35c8826..4b9874a 100755 --- a/contrib/remsim-apitool.py +++ b/contrib/remsim-apitool.py @@ -103,10 +103,10 @@ rest_get("/slotmaps/" + str(args.show_slotmaps)) return if args.create_slotmap: - slotmap_create(args.create_slotmap[0],args.create_slotmap[1],args.create_slotmap[2],args.create_slotmap[3]) + slotmap_create(int(args.create_slotmap[0]),int(args.create_slotmap[1]),int(args.create_slotmap[2]),int(args.create_slotmap[3])) return if args.delete_slotmap: - slotmap_delete(args.delete_slotmap[0],args.delete_slotmap[1]) + slotmap_delete(int(args.delete_slotmap[0]),int(args.delete_slotmap[1])) return rest_get("/clients") rest_get("/banks") -- To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/15469 To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings Gerrit-Project: osmo-remsim Gerrit-Branch: master Gerrit-Change-Id: I8baab1b516067f47a7d230213e44d8f85e6d9919 Gerrit-Change-Number: 15469 Gerrit-PatchSet: 1 Gerrit-Owner: tsaitgaist <kredon at sysmocom.de> Gerrit-MessageType: newchange -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190910/67e47dfa/attachment.htm>