Scheduler optimization
[nepi.git] / src / nepi / resources / omf / omf_api.py
index 7c71090..1223ed4 100644 (file)
@@ -1,14 +1,33 @@
+"""
+    NEPI, a framework to manage network experiments
+    Copyright (C) 2013 INRIA
+
+    This program is free software: you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation, either version 3 of the License, or
+    (at your option) any later version.
+
+    This program is distributed in the hope that it will be useful,
+    but WITHOUT ANY WARRANTY; without even the implied warranty of
+    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program.  If not, see <http://www.gnu.org/licenses/>.
+
+"""
+
 import datetime
 import logging
 import ssl
 import sys
 import time
 import hashlib
-import neco
+import nepi
 import threading
 
-from neco.resources.omf.omf_client import OMFClient
-from neco.resources.omf.omf_messages_5_4 import MessageHandler
+from nepi.resources.omf.omf_client import OMFClient
+from nepi.resources.omf.messages_5_4 import MessageHandler
 
 class OMFAPI(object):
     """
@@ -56,8 +75,8 @@ class OMFAPI(object):
         self._hostnames = []
         self._xmpp_root = xmpp_root or "OMF_5.4"
 
-        self._logger = logging.getLogger("neco.omf.omfApi    ")
-        self._logger.setLevel(neco.LOGLEVEL)
+        self._logger = logging.getLogger("nepi.omf.omfApi    ")
+        self._logger.setLevel(nepi.LOGLEVEL)
 
         # OMF xmpp client
         self._client = None