aboutsummaryrefslogtreecommitdiffstats
path: root/test/mocks/mass-pnf-sim/mass-pnf-sim.py
diff options
context:
space:
mode:
authorRehanRaza <muhammad.rehan.raza@est.tech>2019-05-03 14:28:39 +0000
committerRehanRaza <muhammad.rehan.raza@est.tech>2019-05-03 14:28:39 +0000
commit4b50bdd791fdfcb62ec24317ab6b9a907b3a1b9d (patch)
tree777ef0fc28f423107a2f6860beb7a886a82bf9fc /test/mocks/mass-pnf-sim/mass-pnf-sim.py
parent3783f88709ce31c05c7a32572ee398aa9fe5e961 (diff)
Pass typefileserver as parameter in mass-pnf-sim
Change-Id: I1168a5f10cce9b7d17324504a57d90dd9ee7790d Issue-ID: DCAEGEN2-1434 Signed-off-by: RehanRaza <muhammad.rehan.raza@est.tech>
Diffstat (limited to 'test/mocks/mass-pnf-sim/mass-pnf-sim.py')
-rwxr-xr-xtest/mocks/mass-pnf-sim/mass-pnf-sim.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/mocks/mass-pnf-sim/mass-pnf-sim.py b/test/mocks/mass-pnf-sim/mass-pnf-sim.py
index 773b97193..a02e3fdd2 100755
--- a/test/mocks/mass-pnf-sim/mass-pnf-sim.py
+++ b/test/mocks/mass-pnf-sim/mass-pnf-sim.py
@@ -40,6 +40,11 @@ parser.add_argument(
)
parser.add_argument(
+ '--typefileserver',
+ help='Type of the file server (SFTP/FTPS) to be included in the VES event',
+)
+
+parser.add_argument(
'--ipstart',
help='IP address range beginning',
)
@@ -87,6 +92,7 @@ if args.bootstrap and args.ipstart and args.urlves:
print("\tIp Pnf SIM:" + str(IpPnfSim))
IpFileServer = args.ipfileserver
+ TypeFileServer = args.typefileserver
PortSftp=start_port +1
@@ -114,6 +120,7 @@ if args.bootstrap and args.ipstart and args.urlves:
str(args.urlves) + " " + \
str(IpPnfSim) + " " + \
str(IpFileServer) + " " + \
+ str(TypeFileServer) + " " + \
str(PortSftp) + " " + \
str(PortFtps) + " " + \
str(UrlFtps) + " " + \