Class: Pangea::VIF
Instance Method Summary collapse
-
#device ⇒ Object
xen-api: VIF.get_device.
-
#initialize(link, ref) ⇒ VIF
constructor
:nodoc:.
-
#mac ⇒ Object
xen-api: VIF.get_MAC.
-
#metrics ⇒ Object
xen-api: VIF.get_metrics.
-
#vm ⇒ Object
xen-api: VIF.get_vm.
Methods inherited from XObject
Constructor Details
#initialize(link, ref) ⇒ VIF
:nodoc:
551 552 553 554 |
# File 'lib/pangea/objects.rb', line 551 def initialize(link, ref) #:nodoc: super(link, ref) @proxy_name = 'VIF' end |
Instance Method Details
#device ⇒ Object
xen-api: VIF.get_device
559 560 561 |
# File 'lib/pangea/objects.rb', line 559 def device ref_call :get_device end |
#mac ⇒ Object
xen-api: VIF.get_MAC
566 567 568 |
# File 'lib/pangea/objects.rb', line 566 def mac ref_call :get_MAC end |
#metrics ⇒ Object
xen-api: VIF.get_metrics
573 574 575 |
# File 'lib/pangea/objects.rb', line 573 def metrics VIFMetrics.new(@link, ref_call(:get_metrics)) end |