+from .model_policy_Slice import *
+from .model_policy_User import *
+from .model_policy_Network import *
from core.models import *
def handle(network):
+ from core.models import SliceDeployments,NetworkDeployments
+ from collections import defaultdict
# network deployments are not visible to users. We must ensure
# networks are deployed at all deploymets available to their slices.
slice_deployments = SliceDeployments.objects.all()
-from core.models import *
def handle(slice):
+ from core.models import SiteDeployments,SliceDeployments,Deployment
+ from collections import defaultdict
site_deployments = SiteDeployments.objects.all()
site_deploy_lookup = defaultdict(list)
for site_deployment in site_deployments:
from core.models import *
def handle(user):
+ from core.models import Deployment,SiteDeployments,UserDeployments
+ from collections import defaultdict
deployments = Deployment.objects.all()
site_deployments = SiteDeployments.objects.all()
site_deploy_lookup = defaultdict(list)