blob: b491059768065a368b6726e5d7494299c5913fb2 [file] [log] [blame]
Sapan Bhatia084c0982017-04-21 14:47:40 +02001from django.db import models
2from core.models import Service, PlCoreBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool
3from core.models.plcorebase import StrippedCharField
4import os
5from django.db import models, transaction
6from django.forms.models import model_to_dict
7from django.db.models import *
8from operator import itemgetter, attrgetter, methodcaller
9from core.models import Tag
10from core.models.service import LeastLoadedNodeScheduler
11from services.volt.models import CordSubscriberRoot
12import traceback
13from xos.exceptions import *
14from xos.config import Config
15from django.contrib.contenttypes.models import ContentType
16from django.contrib.contenttypes.fields import GenericForeignKey
17
18class ConfigurationError(Exception):
19 pass
20
21VTR_KIND = "vTR"
22
23CORD_USE_VTN = getattr(Config(), "networking_use_vtn", False)
24