CORD-1092: Brought VTR over to xproto

Change-Id: I64ff8a9cc25adf1078c065af132985caa02ff9d8
diff --git a/xos/attic/header.py b/xos/attic/header.py
new file mode 100644
index 0000000..b491059
--- /dev/null
+++ b/xos/attic/header.py
@@ -0,0 +1,24 @@
+from django.db import models
+from core.models import Service, PlCoreBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool
+from core.models.plcorebase import StrippedCharField
+import os
+from django.db import models, transaction
+from django.forms.models import model_to_dict
+from django.db.models import *
+from operator import itemgetter, attrgetter, methodcaller
+from core.models import Tag
+from core.models.service import LeastLoadedNodeScheduler
+from services.volt.models import CordSubscriberRoot
+import traceback
+from xos.exceptions import *
+from xos.config import Config
+from django.contrib.contenttypes.models import ContentType
+from django.contrib.contenttypes.fields import GenericForeignKey
+
+class ConfigurationError(Exception):
+    pass
+
+VTR_KIND = "vTR"
+
+CORD_USE_VTN = getattr(Config(), "networking_use_vtn", False)
+
diff --git a/xos/attic/header.py.orig b/xos/attic/header.py.orig
new file mode 100644
index 0000000..1ba8b4d
--- /dev/null
+++ b/xos/attic/header.py.orig
@@ -0,0 +1,24 @@
+from django.db import models
+from core.models import Service, PlCoreBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool
+from core.models.plcorebase import StrippedCharField
+import os
+from django.db import models, transaction
+from django.forms.models import model_to_dict
+from django.db.models import Q
+from operator import itemgetter, attrgetter, methodcaller
+from core.models import Tag
+from core.models.service import LeastLoadedNodeScheduler
+from services.volt.models import CordSubscriberRoot
+import traceback
+from xos.exceptions import *
+from xos.config import Config
+from django.contrib.contenttypes.models import ContentType
+from django.contrib.contenttypes.fields import GenericForeignKey
+
+class ConfigurationError(Exception):
+    pass
+
+VTR_KIND = "vTR"
+
+CORD_USE_VTN = getattr(Config(), "networking_use_vtn", False)
+
diff --git a/xos/attic/vtrtenant_model.py b/xos/attic/vtrtenant_model.py
new file mode 100644
index 0000000..6d3dba2
--- /dev/null
+++ b/xos/attic/vtrtenant_model.py
@@ -0,0 +1,14 @@
+sync_attributes = ( 'test', 'argument', "scope" )
+
+def __init__(self, *args, **kwargs):
+    vtr_services = VTRService.get_service_objects().all()
+    if vtr_services:
+        self._meta.get_field("provider_service").default = vtr_services[0].id
+    super(VTRTenant, self).__init__(*args, **kwargs)
+
+def save(self, *args, **kwargs):
+    super(VTRTenant, self).save(*args, **kwargs)
+
+def delete(self, *args, **kwargs):
+    super(VTRTenant, self).delete(*args, **kwargs)
+