blob: 91b13e7c0e1d05de41726cae0d66eaf60ac06071 [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
15
16class ConfigurationError(Exception):
17 pass
18
19VCPE_KIND = "vCPE"
20CORD_SUBSCRIBER_KIND = "CordSubscriberRoot"
21