diff options
Diffstat (limited to 'test/mocks/pnfsimulator/README.md')
-rw-r--r-- | test/mocks/pnfsimulator/README.md | 22 |
1 files changed, 17 insertions, 5 deletions
diff --git a/test/mocks/pnfsimulator/README.md b/test/mocks/pnfsimulator/README.md index 14b62eecc..567c5d06b 100644 --- a/test/mocks/pnfsimulator/README.md +++ b/test/mocks/pnfsimulator/README.md @@ -36,13 +36,25 @@ After that again execute sftp command: *sftp -P 2222 -i ssh/ssh_host_rsa_key sft In order to disable usage of SSH keys and start using password, change in *docker-compose.yml* service *sftp-service* entry *command* from *sftp-user::1001* to *sftp-user:password:1001* ###FTPES support -PNF Simulator allows to serve files via FTPES server. FTPES server has predefined user: onap with password: pano. -In order to connect we execute command *ftp-ssl host* and then enter user name and password. -In order to download execute command while logged in*get file_name*. -In order to add a new file execute command while logged in*put file_name*. +PNF Simulator allows to serve files via FTPES server. FTPES server has predefined user *onap* with password *pano*. + +####FTPES support with TLS enabled +By default TLS support is enabled. In order to verify connection, please use *FileZilla* for testing. + +####FTPES support for TLS disabled +For local testing TLS may be disabled, but it's not recommended. +In order to set up such configuration, comment or remove in *ftpes-server* service section in *docker-compose.yml* following entries: +- *./ftpes/tls/:/etc/ssl/private/* +- *ADDED_FLAGS: --tls=2* + +After that execute *./simulator.sh stop* and when it's finished *./simulator.sh start* . + +In order to connect execute command *ftp -p localhost 2221* and, when requested, provide user and password. +In order to download a file execute, while still being logged in, *get file-name-to-be-downloaded*. + ###Developer mode -For development of PNF Simulator, run *simulator.sh* start-dev in order to run Netopeer. +For development of PNF Simulator, run *simulator.sh* start-dev in order to run minimal necessary set of supporting services such as Netopeer of FTP servers. After that it is possible to run PNF Simulator from IDE. |