blob: c51df3e6a980335eb200b19a165be3685eb01ee4 [file] [log] [blame]
Sapan Bhatia46482ee2017-04-21 17:59:48 +02001from django.db import models
Sapan Bhatia3816f672017-05-19 23:10:53 +02002from core.models import Service, XOSBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool, User
3from 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 *
14from xos.config import Config
Scott Baker248ed752017-05-24 16:40:28 -070015from django.contrib.contenttypes.models import ContentType
Sapan Bhatia46482ee2017-04-21 17:59:48 +020016
17class ConfigurationError(Exception):
18 pass
19
20VCPE_KIND = "vCPE"
21CORD_SUBSCRIBER_KIND = "CordSubscriberRoot"
22