blob: 802b6b9210172d3c79f526069ab3eefcc2c9df58 [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 *
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