- def call(self, cred, hrn, rspec):
+ def call(self, cred, hrn, rspec, caller_cred=None):
+ if caller_cred==None:
+ caller_cred=cred
+ #log the call
+ self.api.logger.info("interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s"%(self.api.interface, Credential(string=caller_cred).get_gid_caller().get_hrn(), hrn, self.name))
+