From 634764bdb133f65515088be91f3a5049d6eb027e Mon Sep 17 00:00:00 2001 From: ahothan Date: Sun, 17 Mar 2019 22:34:25 -0700 Subject: NFVBENCH-126 Remove socketio support (debt reduction) Allow REST server to start in no-openstack mode Fix pbr version (was set to 0.0.0) Add docker-compose support Update documentation for REST API Change-Id: Ib520b09283ba6a878f802365292a7a829e6ccd09 Signed-off-by: ahothan --- docs/testing/user/userguide/server.rst | 30 ------------------------------ 1 file changed, 30 deletions(-) (limited to 'docs/testing/user/userguide/server.rst') diff --git a/docs/testing/user/userguide/server.rst b/docs/testing/user/userguide/server.rst index 921e3bc..806927b 100644 --- a/docs/testing/user/userguide/server.rst +++ b/docs/testing/user/userguide/server.rst @@ -5,36 +5,6 @@ NFVbench Server mode and NFVbench client API ============================================ -NFVbench can run as an HTTP server to: - -- optionally provide access to any arbitrary HTLM files (HTTP server function) - this is optional -- service fully parameterized aynchronous run requests using the HTTP protocol (REST/json with polling) -- service fully parameterized run requests with interval stats reporting using the WebSocket/SocketIO protocol. - -Start the NFVbench server -------------------------- -To run in server mode, simply use the --server and optionally the listen address to use (--host , default is 0.0.0.0) and listening port to use (--port , default is 7555). - - -If HTTP files are to be serviced, they must be stored right under the http root path. -This root path must contain a static folder to hold static files (css, js) and a templates folder with at least an index.html file to hold the template of the index.html file to be used. -This mode is convenient when you do not already have a WEB server hosting the UI front end. -If HTTP files servicing is not needed (REST only or WebSocket/SocketIO mode), the root path can point to any dummy folder. - -Once started, the NFVbench server will be ready to service HTTP or WebSocket/SocketIO requests at the advertised URL. - -Example of NFVbench server start in a container: - -.. code-block:: bash - - # get to the container shell (assume the container name is "nfvbench") - docker exec -it nfvbench bash - # from the container shell start the NFVbench server in the background - nfvbench -c /tmp/nfvbench/nfvbench.cfg --server /tmp & - # exit container - exit - - HTTP Interface -------------- -- cgit 1.2.3-korg