Change-Id: I4c6555068145eb21b7843f9d27433a5ba3f5b13d
Signed-off-by: Vratko Polak <vrpolak@cisco.com>
-# Copyright (c) 2019 Cisco and/or its affiliates.
+# Copyright (c) 2020 Cisco and/or its affiliates.
# 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:
break
if modules_path:
sys.path.append(modules_path)
break
if modules_path:
sys.path.append(modules_path)
- from vpp_papi import VPP
+ from vpp_papi import VPPApiClient
from vpp_papi.vpp_stats import VPPStats
else:
raise RuntimeError(u"vpp_papi module not found")
from vpp_papi.vpp_stats import VPPStats
else:
raise RuntimeError(u"vpp_papi module not found")
except Exception as err:
raise RuntimeError(f"PAPI init failed:\n{err!r}")
except Exception as err:
raise RuntimeError(f"PAPI init failed:\n{err!r}")