Class: FileVmCollection
- Inherits:
-
VmCollection
- Object
- VmCollection
- FileVmCollection
- Defined in:
- lib/ovfparse/vmcollection.rb
Instance Attribute Summary
Attributes inherited from VmCollection
#base_path, #diskSection, #name, #networkSection, #package_details, #protocol, #references, #size, #state, #url, #version, #virtualSystemCollection, #xml
Instance Method Summary collapse
Methods inherited from VmCollection
#addDisk, #addFileReference, #addNetwork, #addVirtualSystem, #addVmPackage, #checkschema, #compareDisks, #compareFileReferences, #compareNetworks, constructFromVmPackages, constructSkeleton, create, #findReplace, #getChildByName, #getChildrenByName, #getCollectionDescription, #getCollectionName, #initialize, #loadElementRefs, #parseXML, #search, #setCollectionDescription, #setCollectionName, #splitIntoPackages, #to_s, #uri, #writeXML
Constructor Details
This class inherits a constructor from VmCollection
Instance Method Details
#fetch ⇒ Object
409 410 411 412 413 414 415 416 |
# File 'lib/ovfparse/vmcollection.rb', line 409 def fetch @xml = Nokogiri::XML(File.open(self.url)) do |config| config.noblanks.strict.noent end loadElementRefs parseXML end |