This directory contains samples for Content Library APIs: * CRUD operations on a content library - crud/library_crud.py * Updating content of a content library item - contentupdate/content_update.py * Workflow to deploy an OVF library item to a resource pool - ovfdeploy/deploy_ovf_template.py * Workflows to import an OVF package into a content library, and download of an OVF template from a content library - ovfimport/ovf_import_export.py * Basic workflow to publish and subscribe content libraries - publishsubscribe/library_publish_subscribe.py * Workflow to capture a virtual machine into a content library - vmcapture/vm_template_capture.py * Content library ISO item mount and unmount workflow - isomount/iso_mount.py Running the samples * $ cd /path/to/vsphere-automation-sdk-python-samples/bin * $ ./run_sample.sh ../samples/vsphere/contentlibrary//.py --server --username --password The additional sample parameters are as follows (all parameters can be displayed for any sample using option --help) * library_crud.py --datastorename * content_update.py --datastorename * deploy_ovf_template.py --clustername --libitemname * ovf_import_export.py --datastorename * library_publish_subscribe.py --datastorename * vm_template_capture.py --datastorename --vmname * iso_mount.py --datastorename --vmname * Testbed Requirement: - 1 vCenter Server - 2 ESX hosts - 1 datastore - Some samples need a VM or an OVF library item created as mentioned above