From d5fb176cccd963d23446b4f4442004f0ec5fa0e6 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 3 Jun 2015 12:13:28 +0200 Subject: [PATCH] added debug traces --- sfa/planetlab/pldriver.py | 1 + sfa/planetlab/plslices.py | 2 ++ 2 files changed, 3 insertions(+) diff --git a/sfa/planetlab/pldriver.py b/sfa/planetlab/pldriver.py index 9dba0095..5a1abe1a 100644 --- a/sfa/planetlab/pldriver.py +++ b/sfa/planetlab/pldriver.py @@ -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) diff --git a/sfa/planetlab/plslices.py b/sfa/planetlab/plslices.py index 25e9e211..f1e88bc9 100644 --- a/sfa/planetlab/plslices.py +++ b/sfa/planetlab/plslices.py @@ -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: -- 2.43.0