# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at:
from resources.libraries.python.Constants import Constants
from resources.libraries.python.PapiHistory import PapiHistory
from resources.libraries.python.ssh import SSH, SSHTimeout
from resources.libraries.python.Constants import Constants
from resources.libraries.python.PapiHistory import PapiHistory
from resources.libraries.python.ssh import SSH, SSHTimeout
- # pylint: disable=import-outside-toplevel
- import resources.libraries.python.DUTSetup as PidLib
- pid = PidLib.DUTSetup.get_vpp_pid(node)
+ pid = PidLib.DUTSetup.get_pid(node, u"vpp")
ssh.scp(vat_name, vat_name)
remote_file_path = vat_name
if history:
ssh.scp(vat_name, vat_name)
remote_file_path = vat_name
if history:
for line in vat_file:
PapiHistory.add_to_papi_history(
node, line.replace(u"\n", u""), papi=False
for line in vat_file:
PapiHistory.add_to_papi_history(
node, line.replace(u"\n", u""), papi=False