[ansible][fedora] Update package name
[barometer.git] / baro_tests / collectd.py
index 4148c27..c1a05af 100644 (file)
@@ -1,5 +1,7 @@
 # -*- coding: utf-8 -*-
-
+#
+# Copyright 2017 OPNFV
+#
 # 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
@@ -23,7 +25,7 @@ import time
 import logging
 import config_server
 import tests
-import local_agent
+import dma
 from distutils import version
 from opnfv.deployment import factory
 
@@ -876,8 +878,8 @@ def main(bt_logger=None):
         else:
             pass
 
-    _print_label('Testing LocalAgent on compute nodes')
-    res_agent = local_agent.local_agent_main(logger, conf, computes)
+    _print_label('Testing DMA on compute nodes')
+    res_agent = dma.dma_main(logger, conf, computes)
 
     return 0 if res_overall == 0 and res_agent == 0 else 1