~ubuntu-branches/ubuntu/vivid/ceilometer/vivid

« back to all changes in this revision

Viewing changes to ceilometer/network/floatingip.py

  • Committer: Package Import Robot
  • Author(s): Chuck Short
  • Date: 2014-03-06 14:44:28 UTC
  • mto: (28.1.1 utopic-proposed) (1.2.1)
  • mto: This revision was merged to the branch mainline in revision 19.
  • Revision ID: package-import@ubuntu.com-20140306144428-rvphsh4igwyulzf0
Tags: upstream-2014.1~b3
ImportĀ upstreamĀ versionĀ 2014.1~b3

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
            cache['floating_ips'] = list(self._get_floating_ips())
41
41
        return iter(cache['floating_ips'])
42
42
 
43
 
    def get_samples(self, manager, cache):
 
43
    def get_samples(self, manager, cache, resources=[]):
44
44
        for ip in self._iter_floating_ips(cache):
45
45
            self.LOG.info(_("FLOATING IP USAGE: %s") % ip.ip)
46
46
            # FIXME (flwang) Now Nova API /os-floating-ips can't provide those