Class: Pangea::VIFMetrics

Inherits:
XObject
  • Object
show all
Defined in:
lib/pangea/objects.rb

Overview

Metrics associated with a virtual network device

xen-api: Class VIF_metrics

Instance Method Summary collapse

Methods inherited from XObject

#ref_call, #uuid

Constructor Details

#initialize(link, ref) ⇒ VIFMetrics

:nodoc:



601
602
603
604
# File 'lib/pangea/objects.rb', line 601

def initialize(link, ref) #:nodoc:
  super(link, ref)
  @proxy_name = 'VIF_metrics'
end

Instance Method Details

#io_read_kbsObject

VIF input Kbits/s

xen-api: VIF_metrics.get_io_read_kbs



611
612
613
# File 'lib/pangea/objects.rb', line 611

def io_read_kbs
  ref_call :get_io_read_kbs
end

#io_write_kbsObject

VIF output Kbits/s

xen-api: VIF_metrics.get_io_read_kbs



620
621
622
# File 'lib/pangea/objects.rb', line 620

def io_write_kbs
  ref_call :get_io_write_kbs
end