added debug traces
Thierry Parmentelat [Wed, 3 Jun 2015 10:13:28 +0000 (12:13 +0200)]
sfa/planetlab/pldriver.py
sfa/planetlab/plslices.py

index 9dba009..5a1abe1 100644 (file)
@@ -199,6 +199,7 @@ class PlDriver (Driver):
             raise UnknownSfaType(type)
 
         if (type == "authority"):
+            logger.debug("pldriver.update: calling UpdateSite with {}".format(new_sfa_record))
             self.shell.UpdateSite(pointer, new_sfa_record)
             self.shell.SetSiteHrn(pointer, hrn)
     
index 25e9e21..f1e88bc 100644 (file)
@@ -564,6 +564,8 @@ class PlSlices:
         if options is None: options={}
         append = options.get('append', True)
         logger.debug("verify_slice_attributes, append mode: {}".format(append))
+        for requested_slice_attribute in requested_slice_attributes:
+            logger.debug("verify_slice_attributes, incoming req : {}".format(requested_slice_attribute))
         # get list of tags users are able to manage - based on category
         filter = {'category': '*slice*'}
         if not admin: