aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
diff options
context:
space:
mode:
authorebo <eliezio.oliveira@est.tech>2020-04-19 01:33:21 +0100
committerBartek Grzybowski <b.grzybowski@partner.samsung.com>2020-04-20 07:11:26 +0000
commitee0c74e28de9552e683724264b101362c144694c (patch)
tree84aef9e38cbdd4c88e25f3bbbe6bff6af703fb20 /test/mocks/netconf-pnp-simulator/engine/tests/settings.py
parent93d2ff22d0c8c1bc1fc7a2ea5e5643c88a345667 (diff)
netconf-pnp-simulator: fix sysrepod crash on TLS reconfig
The crash was caused by: - the '--permanent' option while updating the ietf-keystore by sysrepocfg - missing some Yang modules on sysrepo installation Other changes: 1. Added TLS integration tests, including reconfiguration 2. reconfigure-*.sh are now synchronous, only returnig after restart is completed Issue-ID: INT-1516 Change-Id: Iddc03fc968aaab60931596045437ba0c78448b08 Signed-off-by: ebo <eliezio.oliveira@est.tech>
Diffstat (limited to 'test/mocks/netconf-pnp-simulator/engine/tests/settings.py')
-rw-r--r--test/mocks/netconf-pnp-simulator/engine/tests/settings.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/mocks/netconf-pnp-simulator/engine/tests/settings.py b/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
index 124e333cd..0c665c738 100644
--- a/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
+++ b/test/mocks/netconf-pnp-simulator/engine/tests/settings.py
@@ -2,6 +2,7 @@ import os
HOST = "127.0.0.1"
# Set by tox-docker
-PORT = int(os.environ["NETCONF_PNP_SIMULATOR_830_TCP_PORT"])
+SSH_PORT = int(os.environ["NETCONF_PNP_SIMULATOR_830_TCP_PORT"])
+TLS_PORT = int(os.environ["NETCONF_PNP_SIMULATOR_6513_TCP_PORT"])
USERNAME = "netconf"
-KEY_FILENAME = "../config/ssh/id_rsa"
+SSH_KEY_FILENAME = "../config/ssh/id_rsa"