summaryrefslogtreecommitdiffstats
path: root/test/mocks/pnfsimulator/docker-compose.yml
diff options
context:
space:
mode:
authorRahul Tyagi <rahul.tyagi@ericsson.com>2019-02-22 19:59:54 +0000
committerRahul Tyagi <rahul.tyagi@ericsson.com>2019-02-25 03:23:17 +0000
commite7f4e5e64679f1c4c028dcb5c150d3c2f30a4f7c (patch)
treedee0b4350bfe4b3f5983fd617358b39eac90d1ad /test/mocks/pnfsimulator/docker-compose.yml
parentfb2929fa11d5ad6679797b1295acdf2cd92db1fd (diff)
INT-885:Enhancing the PNF-sim for netconf over TLS
This commit add a script and a known_hosts file so that while starting the netopeer2 it readily start listening at 6513 port for tls. This commit also adds a yang data model for testing of usecases developed under Netconf over tls usecase. Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com> Issue-ID: INT-885 Change-Id: I26b059c293f0684f475f51618d905e10a9efe391 Signed-off-by: Rahul Tyagi <rahul.tyagi@ericsson.com>
Diffstat (limited to 'test/mocks/pnfsimulator/docker-compose.yml')
-rw-r--r--test/mocks/pnfsimulator/docker-compose.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/mocks/pnfsimulator/docker-compose.yml b/test/mocks/pnfsimulator/docker-compose.yml
index 52ded3574..0a0860d0f 100644
--- a/test/mocks/pnfsimulator/docker-compose.yml
+++ b/test/mocks/pnfsimulator/docker-compose.yml
@@ -20,8 +20,10 @@ services:
image: sysrepo/sysrepo-netopeer2:latest
ports:
- "830:830"
+ - "6513:6513"
volumes:
- ./netconf:/netconf
+ - ./netopeer_tls_cfg:/netopeer_tls_cfg
env_file:
- ./config/netconf.env
restart: on-failure
@@ -29,6 +31,7 @@ services:
- sftp-server
- ftpes-server-pure-ftpd
- ftpes-server-vsftpd
+ command: bash -c "/netopeer_tls_cfg/update_tls.sh"
sftp-server:
container_name: sftp-server