- elif self.api.interface in ['slicemgr']:
- chain_name = 'FORWARD-OUTGOING'
- self.api.logger.debug("ListResources: sfatables on chain %s"%chain_name)
- print >>sys.stderr, " \r\n \r\n \t Listresources.py call : chain_name %s hrn %s origine_hrn %s " %(chain_name, hrn, origin_hrn)
- filtered_rspec = run_sfatables(chain_name, hrn, origin_hrn, rspec)
-
- if options.has_key('geni_compressed') and options['geni_compressed'] == True:
+ logger.debug(
+ "ListResources: sfatables on chain %s" % chain_name)
+ filtered_rspec = run_sfatables(chain_name, '', origin_hrn, rspec)
+
+ if 'geni_compressed' in options and options['geni_compressed'] == True: