def pub_ping(self, data, **kwargs):
    if (FV.xmlconn is None):
      self._log.exception("No xlmlrpc connection with Flowvisor detected")
      raise Exception("No xlmlrpc connection with Flowvisor detected")
    self.check_topo_change() #repeat on ping
    try:   
      FV.log.debug("XMLRPC:ping (%s)" % (str(data)))
      return FV.xmlcall("ping", " " + str(data)) #this will return a PONG is everything alright
    except Exception, e:
      import traceback
      traceback.print_exc()
      raise e

  #as is, to be checked    
  #@check_user
  #@check_fv_set
  #@rpcmethod()
dataset/ETHPy150Open fp7-ofelia/ocf/ofam/src/src/foam/api/legacyexpedientapi.py/AMLegExpAPI.pub_ping/original