refactor vSM cord-3.0
Change-Id: I3ce14febefccd0232ba24f491e0f0e37737e59b7
diff --git a/xos/models.py b/xos/models.py
index b52029c..56350a7 100644
--- a/xos/models.py
+++ b/xos/models.py
@@ -2,6 +2,22 @@
from models_decl import VSMService_decl
from models_decl import VSMTenant_decl
+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
+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 VSMService(VSMService_decl):
class Meta:
proxy = True
@@ -37,4 +53,4 @@
return
# Since this code is atomic it is safe to always use the first tenant
tenant = tenant[0]
- tenant.manage_container()
\ No newline at end of file
+ tenant.manage_container()