aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/README.md
diff options
context:
space:
mode:
authorMarcin Migdal <marcin.migdal@nokia.com>2018-08-30 14:39:02 +0200
committerMarcin Migdal <marcin.migdal@nokia.com>2018-08-30 14:55:05 +0200
commit01473522bb70ef4df7f4bfd2c49dbb8bd1178cbf (patch)
treef83eb8ec151d61ddc6e3a70c0bb9f425ac752dbb /test/mocks/pnfsimulator/README.md
parent136068d7a5d421eb6bde8b9e49efcf4e202aa87b (diff)
Draft for INT-607
Logging with SSH keys Change-Id: I7749b67723a7025c39d404ae31de985fafc80eab Issue-ID: INT-607 Signed-off-by: Marcin Migdal <marcin.migdal@nokia.com>
Diffstat (limited to 'test/mocks/pnfsimulator/README.md')
-rw-r--r--test/mocks/pnfsimulator/README.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/mocks/pnfsimulator/README.md b/test/mocks/pnfsimulator/README.md
index a2a5e5539..d53a07521 100644
--- a/test/mocks/pnfsimulator/README.md
+++ b/test/mocks/pnfsimulator/README.md
@@ -26,6 +26,12 @@ It is possible to get access to logs by invocation of *./simulator.sh* logs.
The content of the logs is related to the last simulator run.
Every start of simulator will generate new logs.
+###SFTP support
+PNF Simulator allows to serve files via SFTP server. SFTP server has predefined user sftp-user.
+Connection to SFTP server is being done with usage of SSH keys. Private key is stored in *ssh* directory.
+In order to download *sftp-file.txt* file simply run *sftp -P 2222 -i ssh/ssh_host_rsa_key sftp-user@localhost:sftp/sftp-file.txt*
+In order to add a new file (e.g. test.zip), put the file into *sftp* directory and run simulator.
+After that again execute sftp command: *sftp -P 2222 -i ssh/ssh_host_rsa_key sftp-user@localhost:sftp/test.zip*
###Developer mode
For development of PNF Simulator, run *simulator.sh* start-dev in order to run Netopeer.