blob: 7ecc68ab4d16064f5c89129685a3aaf80a7f3174 [file] [log] [blame]
Scott Baker4eb615b2017-05-05 16:55:22 -07001from django.db import models
2from django.db.models import *
Sapan Bhatiac11767a2017-05-24 16:07:40 +02003from core.models import Service, XOSBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, TenantRoot, NetworkParameter, NetworkParameterType, Port, AddressPool, User
4from core.models.xosbase import StrippedCharField
Scott Baker4eb615b2017-05-05 16:55:22 -07005import os
6from django.db import models, transaction
7from django.forms.models import model_to_dict
8from django.db.models import Q
9from operator import itemgetter, attrgetter, methodcaller
10from core.models import Tag
11from core.models.service import LeastLoadedNodeScheduler
12from services.vrouter.models import VRouterService, VRouterTenant
13import traceback
14from xos.exceptions import *
15from xos.config import Config
16
17class ConfigurationError(Exception):
18 pass
19
20CORD_SUBSCRIBER_KIND = "CordSubscriberRoot"
21