blob: 9075b4579cef84b0263c8128d9fc86d33022299d [file] [log] [blame]
from django.db import models
from core.models import Service, XOSBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool
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
import traceback
from xos.exceptions import *
from xos.config import Config
from django.contrib.contenttypes.models import ContentType
from django.contrib.contenttypes.fields import GenericForeignKey
class ConfigurationError(Exception):
pass
VTR_KIND = "vTR"
CORD_USE_VTN = getattr(Config(), "networking_use_vtn", False)