mirror of
https://github.com/vmware/vsphere-automation-sdk-python.git
synced 2024-11-26 11:19:59 -05:00
add supported vcenter_version to vcenter and tagging samples
This commit is contained in:
parent
0ffcc43b59
commit
998db278f1
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2014, 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2014, 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.0+'
|
||||||
|
|
||||||
import time
|
import time
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import Cluster
|
from com.vmware.vcenter_client import Cluster
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import Datacenter
|
from com.vmware.vcenter_client import Datacenter
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import Datastore
|
from com.vmware.vcenter_client import Datastore
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import Folder
|
from com.vmware.vcenter_client import Folder
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import Network
|
from com.vmware.vcenter_client import Network
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import ResourcePool
|
from com.vmware.vcenter_client import ResourcePool
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import VM
|
from com.vmware.vcenter_client import VM
|
||||||
|
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import VM
|
from com.vmware.vcenter_client import VM
|
||||||
|
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
|
||||||
|
|
||||||
# Required to distribute different parts of this
|
# Required to distribute different parts of this
|
||||||
# package as multiple distribution
|
# package as multiple distribution
|
||||||
try:
|
try:
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware.boot_client import Device as BootDevice
|
from com.vmware.vcenter.vm.hardware.boot_client import Device as BootDevice
|
||||||
from com.vmware.vcenter.vm.hardware_client import (
|
from com.vmware.vcenter.vm.hardware_client import (
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm_client import Power
|
from com.vmware.vcenter.vm_client import Power
|
||||||
from com.vmware.vcenter_client import VM
|
from com.vmware.vcenter_client import VM
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware.boot_client import Device as BootDevice
|
from com.vmware.vcenter.vm.hardware.boot_client import Device as BootDevice
|
||||||
from com.vmware.vcenter.vm.hardware_client import (
|
from com.vmware.vcenter.vm.hardware_client import (
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware.adapter_client import Sata
|
from com.vmware.vcenter.vm.hardware.adapter_client import Sata
|
||||||
from samples.vsphere.common import vapiconnect
|
from samples.vsphere.common import vapiconnect
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware.adapter_client import Scsi
|
from com.vmware.vcenter.vm.hardware.adapter_client import Scsi
|
||||||
from samples.vsphere.common import vapiconnect
|
from samples.vsphere.common import vapiconnect
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware_client import Boot
|
from com.vmware.vcenter.vm.hardware_client import Boot
|
||||||
from samples.vsphere.common import vapiconnect
|
from samples.vsphere.common import vapiconnect
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware.boot_client import Device as BootDevice
|
from com.vmware.vcenter.vm.hardware.boot_client import Device as BootDevice
|
||||||
from com.vmware.vcenter.vm.hardware_client import (Disk, Ethernet)
|
from com.vmware.vcenter.vm.hardware_client import (Disk, Ethernet)
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware.adapter_client import Sata
|
from com.vmware.vcenter.vm.hardware.adapter_client import Sata
|
||||||
from com.vmware.vcenter.vm.hardware_client import (Cdrom,
|
from com.vmware.vcenter.vm.hardware_client import (Cdrom,
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware_client import Cpu
|
from com.vmware.vcenter.vm.hardware_client import Cpu
|
||||||
from samples.vsphere.common import vapiconnect
|
from samples.vsphere.common import vapiconnect
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
import atexit
|
import atexit
|
||||||
|
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware_client import Ethernet
|
from com.vmware.vcenter.vm.hardware_client import Ethernet
|
||||||
from com.vmware.vcenter.vm_client import Power
|
from com.vmware.vcenter.vm_client import Power
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware_client import Floppy
|
from com.vmware.vcenter.vm.hardware_client import Floppy
|
||||||
from com.vmware.vcenter.vm_client import Power
|
from com.vmware.vcenter.vm_client import Power
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
import samples.vsphere.vcenter.vm.hardware.adapter.sata
|
import samples.vsphere.vcenter.vm.hardware.adapter.sata
|
||||||
import samples.vsphere.vcenter.vm.hardware.adapter.scsi
|
import samples.vsphere.vcenter.vm.hardware.adapter.scsi
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware_client import Memory
|
from com.vmware.vcenter.vm.hardware_client import Memory
|
||||||
from samples.vsphere.common import vapiconnect
|
from samples.vsphere.common import vapiconnect
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter.vm.hardware_client import Parallel
|
from com.vmware.vcenter.vm.hardware_client import Parallel
|
||||||
from com.vmware.vcenter.vm_client import Power
|
from com.vmware.vcenter.vm_client import Power
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
import samples.vsphere.vcenter.helper.network_helper
|
import samples.vsphere.vcenter.helper.network_helper
|
||||||
import samples.vsphere.vcenter.vm.hardware.main
|
import samples.vsphere.vcenter.vm.hardware.main
|
||||||
|
@ -12,6 +12,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
from com.vmware.vcenter_client import (Cluster, Datastore, Folder, ResourcePool,
|
from com.vmware.vcenter_client import (Cluster, Datastore, Folder, ResourcePool,
|
||||||
VM)
|
VM)
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
|
|
||||||
__author__ = 'VMware, Inc.'
|
__author__ = 'VMware, Inc.'
|
||||||
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
__copyright__ = 'Copyright 2016 VMware, Inc. All rights reserved.'
|
||||||
|
__vcenter_version__ = '6.5+'
|
||||||
|
|
||||||
import atexit
|
import atexit
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user