blob: 1762be826188de52c67b0ae12eda55f4ef65444f [file] [log] [blame]
from django.db import models
from django.db.models import *
from core.models import Service, XOSBase, Slice, Instance, ServiceInstance, ServiceInstanceLink, 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 Q
from operator import itemgetter, attrgetter, methodcaller
from core.models import Tag
from core.models.service import LeastLoadedNodeScheduler
from services.vrouter.models import VRouterService, VRouterTenant
from services.rcord.models import CordSubscriberRoot
import traceback
from xos.exceptions import *
from xosconfig import Config
class ConfigurationError(Exception):
pass
VOLT_KIND = "vOLT"
CORD_USE_VTN = getattr(Config(), "networking_use_vtn", False)