From 4b50bdd791fdfcb62ec24317ab6b9a907b3a1b9d Mon Sep 17 00:00:00 2001 From: RehanRaza Date: Fri, 3 May 2019 14:28:39 +0000 Subject: Pass typefileserver as parameter in mass-pnf-sim Change-Id: I1168a5f10cce9b7d17324504a57d90dd9ee7790d Issue-ID: DCAEGEN2-1434 Signed-off-by: RehanRaza --- test/mocks/mass-pnf-sim/mass-pnf-sim.py | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'test/mocks/mass-pnf-sim/mass-pnf-sim.py') 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 @@ -39,6 +39,11 @@ parser.add_argument( help='Visible IP of the file server (SFTP/FTPS) to be included in the VES event', ) +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) + " " + \ -- cgit 1.2.3-korg