Renamed SliceDeployment back to SliceDeployments
[plstackapi.git] / planetstack / model_policies / model_policy_Network.py
index 0511bee..f48b25a 100644 (file)
@@ -1,6 +1,8 @@
 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()