Class: MiqHostNetworkSystem
- Inherits:
-
Object
- Object
- MiqHostNetworkSystem
- Includes:
- DRb::DRbUndumped, MiqBrokerVimConnectionCheck
- Defined in:
- lib/VMwareWebService/MiqVimBrokerMods.rb,
lib/VMwareWebService/MiqHostNetworkSystem.rb
Instance Attribute Summary collapse
-
#invObj ⇒ Object
readonly
Returns the value of attribute invObj.
Instance Method Summary collapse
-
#initialize(nsMor, invObj) ⇒ MiqHostNetworkSystem
constructor
A new instance of MiqHostNetworkSystem.
- #networkInfo ⇒ Object
- #refreshNetworkSystem ⇒ Object
Methods included from MiqBrokerVimConnectionCheck
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
#invObj ⇒ Object (readonly)
Returns the value of attribute invObj.
2 3 4 |
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 2 def invObj @invObj end |
Instance Method Details
#networkInfo ⇒ Object
9 10 11 |
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 9 def networkInfo @invObj.getMoProp(@nsMor) end |
#refreshNetworkSystem ⇒ Object
13 14 15 |
# File 'lib/VMwareWebService/MiqHostNetworkSystem.rb', line 13 def refreshNetworkSystem @invObj.refreshNetworkSystem(@nsMor) end |