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