blob: e7d33f1f6c885e4bb3f09372fcf7dfb81e80fbc6 [file] [log] [blame]
Sapan Bhatia103593d2017-05-19 23:10:53 +02001from django.db import models
2from core.models import Service, XOSBase, Slice, Instance, Tenant, TenantWithContainer, Node, Image, User, Flavor, NetworkParameter, NetworkParameterType, Port, AddressPool
3from core.models.xosbase import StrippedCharField
4import os
5from django.db import models, transaction
6from django.forms.models import model_to_dict
7from django.db.models import *
8from operator import itemgetter, attrgetter, methodcaller
9from core.models import Tag
10from core.models.service import LeastLoadedNodeScheduler
11import traceback
12from xos.exceptions import *
Sapan Bhatia103593d2017-05-19 23:10:53 +020013
14
15class ConfigurationError(Exception):
16 pass
17
18
19VROUTER_KIND = "vROUTER"
20APP_LABEL = "vrouter"
21
22# NOTE: don't change VROUTER_KIND unless you also change the reference to it
23# in tosca/resources/network.py
24
Matteo Scandolo7c057482017-06-05 10:40:25 -070025CORD_USE_VTN = True
Sapan Bhatia103593d2017-05-19 23:10:53 +020026