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