use tosca-parser
actually apply changes
remove unnecessary includes
Change-Id: Iee75845a472a06ab7cb298d3fbed626bf7f86cbb
diff --git a/xos/tosca/resources/CORDSubscriber.py b/xos/tosca/resources/CORDSubscriber.py
index 5cdb2ef..b25bda7 100644
--- a/xos/tosca/resources/CORDSubscriber.py
+++ b/xos/tosca/resources/CORDSubscriber.py
@@ -1,14 +1,5 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-import pdb
-
from core.models import User, TenantRootPrivilege, TenantRootRole
from services.volt.models import CordSubscriberRoot
-
from xosresource import XOSResource
class XOSCORDSubscriber(XOSResource):
diff --git a/xos/tosca/resources/CORDUser.py b/xos/tosca/resources/CORDUser.py
index d1ae1cc..4720b62 100644
--- a/xos/tosca/resources/CORDUser.py
+++ b/xos/tosca/resources/CORDUser.py
@@ -1,11 +1,3 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-import pdb
-
from core.models import User
from services.volt.models import CordSubscriberRoot
diff --git a/xos/tosca/resources/VOLTTenant.py b/xos/tosca/resources/VOLTTenant.py
index cbc3837..50b255b 100644
--- a/xos/tosca/resources/VOLTTenant.py
+++ b/xos/tosca/resources/VOLTTenant.py
@@ -1,11 +1,3 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-import pdb
-
from core.models import User
from services.volt.models import VOLTTenant, VOLTService, CordSubscriberRoot, VOLT_KIND
diff --git a/xos/tosca/resources/accessagent.py b/xos/tosca/resources/accessagent.py
index e40a1cb..bd19300 100644
--- a/xos/tosca/resources/accessagent.py
+++ b/xos/tosca/resources/accessagent.py
@@ -1,10 +1,3 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-
from services.volt.models import AccessAgent, VOLTDevice, VOLTService, AgentPortMapping
from xosresource import XOSResource
diff --git a/xos/tosca/resources/accessdevice.py b/xos/tosca/resources/accessdevice.py
index f31b37a..eb62f7a 100644
--- a/xos/tosca/resources/accessdevice.py
+++ b/xos/tosca/resources/accessdevice.py
@@ -1,10 +1,3 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-
from services.volt.models import AccessDevice, VOLTDevice
from xosresource import XOSResource
diff --git a/xos/tosca/resources/voltdevice.py b/xos/tosca/resources/voltdevice.py
index 9665b85..d0dab13 100644
--- a/xos/tosca/resources/voltdevice.py
+++ b/xos/tosca/resources/voltdevice.py
@@ -1,10 +1,3 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-
from services.volt.models import VOLTDevice, VOLTService, AccessDevice, AccessAgent
from xosresource import XOSResource
diff --git a/xos/tosca/resources/voltservice.py b/xos/tosca/resources/voltservice.py
index 9df4259..0cd388a 100644
--- a/xos/tosca/resources/voltservice.py
+++ b/xos/tosca/resources/voltservice.py
@@ -1,12 +1,4 @@
-import os
-import pdb
-import sys
-import tempfile
-sys.path.append("/opt/tosca")
-from translator.toscalib.tosca_template import ToscaTemplate
-
from services.volt.models import VOLTService
-
from service import XOSService
class XOSVOLTService(XOSService):