| from django.db import models |
| from core.models import Service, XOSBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool, User |
| from core.models.xosbase import StrippedCharField |
| import os |
| from django.db import models, transaction |
| from django.forms.models import model_to_dict |
| from django.db.models import * |
| from operator import itemgetter, attrgetter, methodcaller |
| from core.models import Tag |
| from core.models.service import LeastLoadedNodeScheduler |
| from services.vrouter.models import VRouterService, VRouterTenant |
| import traceback |
| from xos.exceptions import * |
| from django.contrib.contenttypes.models import ContentType |
| |
| class ConfigurationError(Exception): |
| pass |
| |
| VCPE_KIND = "vCPE" |
| CORD_SUBSCRIBER_KIND = "CordSubscriberRoot" |
| |