Class: MiqHostNetworkSystem

Inherits:
Object
  • Object
show all
Includes:
DRb::DRbUndumped, MiqBrokerVimConnectionCheck
Defined in:
lib/VMwareWebService/MiqVimBrokerMods.rb,
lib/VMwareWebService/MiqHostNetworkSystem.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from MiqBrokerVimConnectionCheck

#connectionRemoved?

Constructor Details

#initialize(nsMor, invObj) ⇒ MiqHostNetworkSystem

Returns a new instance of MiqHostNetworkSystem.



4
5
6
7
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 4

def initialize(nsMor, invObj)
  @invObj = invObj
  @nsMor = nsMor
end

Instance Attribute Details

#invObjObject (readonly)

Returns the value of attribute invObj.



2
3
4
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 2

def invObj
  @invObj
end

Instance Method Details

#networkInfoObject



9
10
11
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 9

def networkInfo
  @invObj.getMoProp(@nsMor)
end

#refreshNetworkSystemObject



13
14
15
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 13

def refreshNetworkSystem
  @invObj.refreshNetworkSystem(@nsMor)
end