Change in ...osmo-remsim[master]: add examples to remsim-server (json output)

roh gerrit-no-reply at lists.osmocom.org
Wed Jul 3 17:15:17 UTC 2019


roh has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-remsim/+/14668


Change subject: add examples to remsim-server (json output)
......................................................................

add examples to remsim-server (json output)

Change-Id: I102a79a5d1f0055586a9fa1f9688acd4258f585b
---
M doc/manuals/chapters/remsim-server.adoc
1 file changed, 10 insertions(+), 0 deletions(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-remsim refs/changes/68/14668/1

diff --git a/doc/manuals/chapters/remsim-server.adoc b/doc/manuals/chapters/remsim-server.adoc
index 01d24b2..c0ca6b8 100644
--- a/doc/manuals/chapters/remsim-server.adoc
+++ b/doc/manuals/chapters/remsim-server.adoc
@@ -76,3 +76,13 @@
 
 *POST* performs a global reset of the `osmo-remsim-server` state.  This
 means all mappings are removed.
+
+==== Examples
+.remsim-server is on 10.2.3.4, one simbank with 5 cards: http://10.2.3.4:9997/api/backend/v1/banks
+----
+{"banks":[{"peer":"B1","state":"CONNECTED_BANKD","component_id":{"type_":"remsimBankd","name":"fixme-name","software":"remsim-bankd","swVersion":"0.1.0.17-6d8a"},"bankId":1,"numberOfSlots":5}]}
+----
+.remsim-server is on 10.2.3.4, 4 clients: http://10.2.3.4:9997/api/backend/v1/clients
+----
+{"clients":[{"peer":"C0:0","state":"CONNECTED_CLIENT","component_id":{"type_":"remsimClient","name":"simtrace2-remsim-client","software":"remsim-client","swVersion":"0.1.0.17-6d8a"}},{"peer":"C0:0","state":"CONNECTED_CLIENT","component_id":{"type_":"remsimClient","name":"simtrace2-remsim-client","software":"remsim-client","swVersion":"0.1.0.17-6d8a"}},{"peer":"C0:0","state":"CONNECTED_CLIENT","component_id":{"type_":"remsimClient","name":"simtrace2-remsim-client","software":"remsim-client","swVersion":"0.1.0.17-6d8a"}},{"peer":"C0:0","state":"CONNECTED_CLIENT","component_id":{"type_":"remsimClient","name":"simtrace2-remsim-client","software":"remsim-client","swVersion":"0.1.0.17-6d8a"}}]}
+----

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-remsim/+/14668
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-remsim
Gerrit-Branch: master
Gerrit-Change-Id: I102a79a5d1f0055586a9fa1f9688acd4258f585b
Gerrit-Change-Number: 14668
Gerrit-PatchSet: 1
Gerrit-Owner: roh <jsteiger at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190703/f5dbe9f7/attachment.html>


More information about the gerrit-log mailing list