blob: ff8a5963fdcb5d24450e7822a5be7020c979812b [file] [log] [blame]
Sapan Bhatia46482ee2017-04-21 17:59:48 +02001from django.db import models
Scott Baker80238f82017-07-18 16:01:10 -07002from core.models import Service, XOSBase, Slice, Instance, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool, User
Sapan Bhatia3816f672017-05-19 23:10:53 +02003from core.models.xosbase import StrippedCharField
Sapan Bhatia46482ee2017-04-21 17:59:48 +02004import 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.vrouter.models import VRouterService, VRouterTenant
12import traceback
13from xos.exceptions import *
Scott Baker248ed752017-05-24 16:40:28 -070014from django.contrib.contenttypes.models import ContentType
Sapan Bhatia46482ee2017-04-21 17:59:48 +020015
16class ConfigurationError(Exception):
17 pass
18
19VCPE_KIND = "vCPE"
20CORD_SUBSCRIBER_KIND = "CordSubscriberRoot"
21