Merge pull request #297 from tianhao64/master

Changes related to the vsphere 6.0 update
This commit is contained in:
Tianhao He 2015-10-19 15:38:32 -07:00
commit 39bd020f1a
18 changed files with 1517 additions and 1018 deletions

@ -26,10 +26,8 @@ Detailed description (for [e]pydoc goes here).
from six import reraise from six import reraise
import sys import sys
import re import re
try: import ssl
from xml.etree import ElementTree from xml.etree import ElementTree
except ImportError:
from elementtree import ElementTree
from xml.parsers.expat import ExpatError from xml.parsers.expat import ExpatError
import requests import requests
@ -179,7 +177,8 @@ class VimSessionOrientedStub(SessionOrientedStub):
def Connect(host='localhost', port=443, user='root', pwd='', def Connect(host='localhost', port=443, user='root', pwd='',
service="hostd", adapter="SOAP", namespace=None, path="/sdk", service="hostd", adapter="SOAP", namespace=None, path="/sdk",
version=None, keyFile=None, certFile=None): version=None, keyFile=None, certFile=None,
sslContext=None):
""" """
Connect to the specified server, login and return the service Connect to the specified server, login and return the service
instance object. instance object.
@ -213,6 +212,9 @@ def Connect(host='localhost', port=443, user='root', pwd='',
@type keyFile: string @type keyFile: string
@param certFile: ssl cert file path @param certFile: ssl cert file path
@type certFile: string @type certFile: string
@param sslContext: SSL Context describing the various SSL options. It is only
supported in Python 2.7.9 or higher.
@type sslContext: SSL.Context
""" """
try: try:
info = re.match(_rx, host) info = re.match(_rx, host)
@ -231,7 +233,7 @@ def Connect(host='localhost', port=443, user='root', pwd='',
elif not version: elif not version:
version="vim.version.version6" version="vim.version.version6"
si, stub = __Login(host, port, user, pwd, service, adapter, version, path, si, stub = __Login(host, port, user, pwd, service, adapter, version, path,
keyFile, certFile) keyFile, certFile, sslContext)
SetSi(si) SetSi(si)
return si return si
@ -266,7 +268,7 @@ def GetLocalTicket(si, user):
## connected service instance object. ## connected service instance object.
def __Login(host, port, user, pwd, service, adapter, version, path, def __Login(host, port, user, pwd, service, adapter, version, path,
keyFile, certFile): keyFile, certFile, sslContext):
""" """
Private method that performs the actual Connect and returns a Private method that performs the actual Connect and returns a
connected service instance object. connected service instance object.
@ -291,6 +293,9 @@ def __Login(host, port, user, pwd, service, adapter, version, path,
@type keyFile: string @type keyFile: string
@param certFile: ssl cert file path @param certFile: ssl cert file path
@type certFile: string @type certFile: string
@param sslContext: SSL Context describing the various SSL options. It is only
supported in Python 2.7.9 or higher.
@type sslContext: SSL.Context
""" """
# XXX remove the adapter and service arguments once dependent code is fixed # XXX remove the adapter and service arguments once dependent code is fixed
@ -299,7 +304,7 @@ def __Login(host, port, user, pwd, service, adapter, version, path,
# Create the SOAP stub adapter # Create the SOAP stub adapter
stub = SoapStubAdapter(host, port, version=version, path=path, stub = SoapStubAdapter(host, port, version=version, path=path,
certKeyFile=keyFile, certFile=certFile) certKeyFile=keyFile, certFile=certFile, sslContext=sslContext)
# Get Service instance # Get Service instance
si = vim.ServiceInstance("ServiceInstance", stub) si = vim.ServiceInstance("ServiceInstance", stub)
@ -410,11 +415,35 @@ class SmartConnection(object):
Disconnect(self.si) Disconnect(self.si)
self.si = None self.si = None
def __GetElementTreeFromUrl(url, sslContext):
"""
Private method that returns a root from ElementTree for the XML document referenced by
the url.
@param url: URL
@type url: string
@param sslContext: SSL Context describing the various SSL options. It is only
supported in Python 2.7.9 or higher.
@type sslContext: SSL.Context
"""
try:
if sslContext is not None and sslContext.verify_mode == ssl.CERT_NONE:
sock = requests.get(url, verify=False)
else:
sock = requests.get(url)
if sock.status_code == 200:
tree = ElementTree.fromstring(sock.content)
return tree
except ExpatError:
pass
return None
## Private method that returns an ElementTree describing the API versions ## Private method that returns an ElementTree describing the API versions
## supported by the specified server. The result will be vimServiceVersions.xml ## supported by the specified server. The result will be vimServiceVersions.xml
## if it exists, otherwise vimService.wsdl if it exists, otherwise None. ## if it exists, otherwise vimService.wsdl if it exists, otherwise None.
def __GetServiceVersionDescription(protocol, server, port, path): def __GetServiceVersionDescription(protocol, server, port, path, sslContext):
""" """
Private method that returns a root from an ElementTree describing the API versions Private method that returns a root from an ElementTree describing the API versions
supported by the specified server. The result will be vimServiceVersions.xml supported by the specified server. The result will be vimServiceVersions.xml
@ -428,26 +457,19 @@ def __GetServiceVersionDescription(protocol, server, port, path):
@type port: int @type port: int
@param path: Path @param path: Path
@type path: string @type path: string
@param sslContext: SSL Context describing the various SSL options. It is only
supported in Python 2.7.9 or higher.
@type sslContext: SSL.Context
""" """
url = "%s://%s:%s/%s/vimServiceVersions.xml" % (protocol, server, port, path) url = "%s://%s:%s/%s/vimServiceVersions.xml" % (protocol, server, port, path)
try: tree = __GetElementTreeFromUrl(url, sslContext)
sock = requests.get(url, verify=False) if tree is not None:
if sock.status_code == 200: return tree
tree = ElementTree.fromstring(sock.content)
return tree
except ExpatError:
pass
url = "%s://%s:%s/%s/vimService.wsdl" % (protocol, server, port, path) url = "%s://%s:%s/%s/vimService.wsdl" % (protocol, server, port, path)
try: tree = __GetElementTreeFromUrl(url, sslContext)
sock = requests.get(url, verify=False) return tree
if sock.status_code == 200:
tree = ElementTree.fromstring(sock.content)
return tree
except ExpatError:
pass
return None
## Private method that returns true if the service version description document ## Private method that returns true if the service version description document
@ -495,7 +517,7 @@ def __VersionIsSupported(desiredVersion, serviceVersionDescription):
## Private method that returns the most preferred API version supported by the ## Private method that returns the most preferred API version supported by the
## specified server, ## specified server,
def __FindSupportedVersion(protocol, server, port, path, preferredApiVersions): def __FindSupportedVersion(protocol, server, port, path, preferredApiVersions, sslContext):
""" """
Private method that returns the most preferred API version supported by the Private method that returns the most preferred API version supported by the
specified server, specified server,
@ -512,12 +534,16 @@ def __FindSupportedVersion(protocol, server, port, path, preferredApiVersions):
If a list of versions is specified the versions should If a list of versions is specified the versions should
be ordered from most to least preferred. be ordered from most to least preferred.
@type preferredApiVersions: string or string list @type preferredApiVersions: string or string list
@param sslContext: SSL Context describing the various SSL options. It is only
supported in Python 2.7.9 or higher.
@type sslContext: SSL.Context
""" """
serviceVersionDescription = __GetServiceVersionDescription(protocol, serviceVersionDescription = __GetServiceVersionDescription(protocol,
server, server,
port, port,
path) path,
sslContext)
if serviceVersionDescription is None: if serviceVersionDescription is None:
return None return None
@ -532,7 +558,7 @@ def __FindSupportedVersion(protocol, server, port, path, preferredApiVersions):
def SmartConnect(protocol='https', host='localhost', port=443, user='root', pwd='', def SmartConnect(protocol='https', host='localhost', port=443, user='root', pwd='',
service="hostd", path="/sdk", service="hostd", path="/sdk",
preferredApiVersions=None): preferredApiVersions=None, sslContext=None):
""" """
Determine the most preferred API version supported by the specified server, Determine the most preferred API version supported by the specified server,
then connect to the specified server using that API version, login and return then connect to the specified server using that API version, login and return
@ -565,6 +591,9 @@ def SmartConnect(protocol='https', host='localhost', port=443, user='root', pwd=
specified, the list of versions support by pyVmomi will specified, the list of versions support by pyVmomi will
be used. be used.
@type preferredApiVersions: string or string list @type preferredApiVersions: string or string list
@param sslContext: SSL Context describing the various SSL options. It is only
supported in Python 2.7.9 or higher.
@type sslContext: SSL.Context
""" """
if preferredApiVersions is None: if preferredApiVersions is None:
@ -574,7 +603,8 @@ def SmartConnect(protocol='https', host='localhost', port=443, user='root', pwd=
host, host,
port, port,
path, path,
preferredApiVersions) preferredApiVersions,
sslContext)
if supportedVersion is None: if supportedVersion is None:
raise Exception("%s:%s is not a VIM server" % (host, port)) raise Exception("%s:%s is not a VIM server" % (host, port))
@ -587,7 +617,8 @@ def SmartConnect(protocol='https', host='localhost', port=443, user='root', pwd=
service=service, service=service,
adapter='SOAP', adapter='SOAP',
version=supportedVersion, version=supportedVersion,
path=path) path=path,
sslContext=sslContext)
def OpenUrlWithBasicAuth(url, user='root', pwd=''): def OpenUrlWithBasicAuth(url, user='root', pwd=''):
""" """

@ -12,30 +12,28 @@
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
from __future__ import absolute_import
# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT ******* # ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType, AddVersion, AddVersionParent, F_LINK, F_LINKABLE, F_OPTIONAL from __future__ import absolute_import
from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType, AddVersion, AddVersionParent, F_LINK, F_LINKABLE, F_OPTIONAL, F_SECRET
from pyVmomi.VmomiSupport import newestVersions, currentVersions, stableVersions, matureVersions, publicVersions, oldestVersions
AddVersion("vmodl.query.version.version1", "", "", 0, "vim25") AddVersion("vmodl.version.version2", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version2", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version3", "", "", 0, "vim25")
AddVersion("vmodl.version.version0", "", "", 0, "vim25")
AddVersion("vmodl.version.version1", "", "", 0, "vim25") AddVersion("vmodl.version.version1", "", "", 0, "vim25")
AddVersionParent("vmodl.query.version.version1", "vmodl.query.version.version1") AddVersion("vmodl.version.version0", "", "", 0, "vim25")
AddVersionParent("vmodl.query.version.version1", "vmodl.version.version0") AddVersionParent("vmodl.version.version2", "vmodl.version.version2")
AddVersionParent("vmodl.query.version.version2", "vmodl.query.version.version1") AddVersionParent("vmodl.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version2", "vmodl.query.version.version2") AddVersionParent("vmodl.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version3")
AddVersionParent("vmodl.query.version.version3", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version3", "vmodl.version.version1")
AddVersionParent("vmodl.version.version0", "vmodl.version.version0")
AddVersionParent("vmodl.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.version.version1", "vmodl.version.version1") AddVersionParent("vmodl.version.version1", "vmodl.version.version1")
AddVersionParent("vmodl.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.version.version0", "vmodl.version.version0")
newestVersions.Add("vmodl.version.version2")
currentVersions.Add("vmodl.version.version2")
stableVersions.Add("vmodl.version.version2")
matureVersions.Add("vmodl.version.version2")
publicVersions.Add("vmodl.version.version2")
oldestVersions.Add("vmodl.version.version0")
CreateDataType("vmodl.DynamicArray", "DynamicArray", "vmodl.DataObject", "vmodl.version.version0", [("dynamicType", "string", "vmodl.version.version0", F_OPTIONAL), ("val", "anyType[]", "vmodl.version.version0", 0)]) CreateDataType("vmodl.DynamicArray", "DynamicArray", "vmodl.DataObject", "vmodl.version.version0", [("dynamicType", "string", "vmodl.version.version0", F_OPTIONAL), ("val", "anyType[]", "vmodl.version.version0", 0)])
CreateDataType("vmodl.DynamicData", "DynamicData", "vmodl.DataObject", "vmodl.version.version0", [("dynamicType", "string", "vmodl.version.version0", F_OPTIONAL), ("dynamicProperty", "vmodl.DynamicProperty[]", "vmodl.version.version0", F_OPTIONAL)]) CreateDataType("vmodl.DynamicData", "DynamicData", "vmodl.DataObject", "vmodl.version.version0", [("dynamicType", "string", "vmodl.version.version0", F_OPTIONAL), ("dynamicProperty", "vmodl.DynamicProperty[]", "vmodl.version.version0", F_OPTIONAL)])
@ -57,24 +55,3 @@ CreateDataType("vmodl.fault.RequestCanceled", "RequestCanceled", "vmodl.RuntimeF
CreateDataType("vmodl.fault.SecurityError", "SecurityError", "vmodl.RuntimeFault", "vmodl.version.version0", None) CreateDataType("vmodl.fault.SecurityError", "SecurityError", "vmodl.RuntimeFault", "vmodl.version.version0", None)
CreateDataType("vmodl.fault.SystemError", "SystemError", "vmodl.RuntimeFault", "vmodl.version.version0", [("reason", "string", "vmodl.version.version0", 0)]) CreateDataType("vmodl.fault.SystemError", "SystemError", "vmodl.RuntimeFault", "vmodl.version.version0", [("reason", "string", "vmodl.version.version0", 0)])
CreateDataType("vmodl.fault.UnexpectedFault", "UnexpectedFault", "vmodl.RuntimeFault", "vmodl.version.version0", [("faultName", "vmodl.TypeName", "vmodl.version.version0", 0), ("fault", "vmodl.MethodFault", "vmodl.version.version0", F_OPTIONAL)]) CreateDataType("vmodl.fault.UnexpectedFault", "UnexpectedFault", "vmodl.RuntimeFault", "vmodl.version.version0", [("faultName", "vmodl.TypeName", "vmodl.version.version0", 0), ("fault", "vmodl.MethodFault", "vmodl.version.version0", F_OPTIONAL)])
CreateDataType("vmodl.query.InvalidCollectorVersion", "InvalidCollectorVersion", "vmodl.MethodFault", "vmodl.query.version.version1", None)
CreateDataType("vmodl.query.InvalidProperty", "InvalidProperty", "vmodl.MethodFault", "vmodl.query.version.version1", [("name", "vmodl.PropertyPath", "vmodl.query.version.version1", 0)])
CreateManagedType("vmodl.query.PropertyCollector", "PropertyCollector", "vmodl.ManagedObject", "vmodl.query.version.version1", [("filter", "vmodl.query.PropertyCollector.Filter[]", "vmodl.query.version.version1", F_OPTIONAL, "System.View")], [("createFilter", "CreateFilter", "vmodl.query.version.version1", (("spec", "vmodl.query.PropertyCollector.FilterSpec", "vmodl.query.version.version1", 0, None),("partialUpdates", "boolean", "vmodl.query.version.version1", 0, None),), (0, "vmodl.query.PropertyCollector.Filter", "vmodl.query.PropertyCollector.Filter"), "System.View", ["vmodl.query.InvalidProperty", ]), ("retrieveContents", "RetrieveProperties", "vmodl.query.version.version1", (("specSet", "vmodl.query.PropertyCollector.FilterSpec[]", "vmodl.query.version.version1", 0, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.ObjectContent[]", "vmodl.query.PropertyCollector.ObjectContent[]"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("checkForUpdates", "CheckForUpdates", "vmodl.query.version.version1", (("version", "string", "vmodl.query.version.version1", F_OPTIONAL, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.UpdateSet", "vmodl.query.PropertyCollector.UpdateSet"), "System.View", ["vmodl.query.InvalidCollectorVersion", ]), ("waitForUpdates", "WaitForUpdates", "vmodl.query.version.version1", (("version", "string", "vmodl.query.version.version1", F_OPTIONAL, None),), (0, "vmodl.query.PropertyCollector.UpdateSet", "vmodl.query.PropertyCollector.UpdateSet"), "System.View", ["vmodl.query.InvalidCollectorVersion", ]), ("cancelWaitForUpdates", "CancelWaitForUpdates", "vmodl.query.version.version1", (), (0, "void", "void"), "System.View", None), ("waitForUpdatesEx", "WaitForUpdatesEx", "vmodl.query.version.version3", (("version", "string", "vmodl.query.version.version3", F_OPTIONAL, None),("options", "vmodl.query.PropertyCollector.WaitOptions", "vmodl.query.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.UpdateSet", "vmodl.query.PropertyCollector.UpdateSet"), "System.View", ["vmodl.query.InvalidCollectorVersion", ]), ("retrievePropertiesEx", "RetrievePropertiesEx", "vmodl.query.version.version3", (("specSet", "vmodl.query.PropertyCollector.FilterSpec[]", "vmodl.query.version.version3", 0, None),("options", "vmodl.query.PropertyCollector.RetrieveOptions", "vmodl.query.version.version3", 0, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.RetrieveResult", "vmodl.query.PropertyCollector.RetrieveResult"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("continueRetrievePropertiesEx", "ContinueRetrievePropertiesEx", "vmodl.query.version.version3", (("token", "string", "vmodl.query.version.version3", 0, None),), (0, "vmodl.query.PropertyCollector.RetrieveResult", "vmodl.query.PropertyCollector.RetrieveResult"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("cancelRetrievePropertiesEx", "CancelRetrievePropertiesEx", "vmodl.query.version.version3", (("token", "string", "vmodl.query.version.version3", 0, None),), (0, "void", "void"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("createPropertyCollector", "CreatePropertyCollector", "vmodl.query.version.version3", (), (0, "vmodl.query.PropertyCollector", "vmodl.query.PropertyCollector"), "System.View", None), ("destroy", "DestroyPropertyCollector", "vmodl.query.version.version3", (), (0, "void", "void"), "System.View", None)])
CreateDataType("vmodl.query.PropertyCollector.FilterSpec", "PropertyFilterSpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("propSet", "vmodl.query.PropertyCollector.PropertySpec[]", "vmodl.query.version.version1", 0), ("objectSet", "vmodl.query.PropertyCollector.ObjectSpec[]", "vmodl.query.version.version1", 0), ("reportMissingObjectsInResults", "boolean", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.PropertySpec", "PropertySpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("type", "vmodl.TypeName", "vmodl.query.version.version1", 0), ("all", "boolean", "vmodl.query.version.version1", F_OPTIONAL), ("pathSet", "vmodl.PropertyPath[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.ObjectSpec", "ObjectSpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("skip", "boolean", "vmodl.query.version.version1", F_OPTIONAL), ("selectSet", "vmodl.query.PropertyCollector.SelectionSpec[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.SelectionSpec", "SelectionSpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("name", "string", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.TraversalSpec", "TraversalSpec", "vmodl.query.PropertyCollector.SelectionSpec", "vmodl.query.version.version1", [("type", "vmodl.TypeName", "vmodl.query.version.version1", 0), ("path", "vmodl.PropertyPath", "vmodl.query.version.version1", 0), ("skip", "boolean", "vmodl.query.version.version1", F_OPTIONAL), ("selectSet", "vmodl.query.PropertyCollector.SelectionSpec[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateManagedType("vmodl.query.PropertyCollector.Filter", "PropertyFilter", "vmodl.ManagedObject", "vmodl.query.version.version1", [("spec", "vmodl.query.PropertyCollector.FilterSpec", "vmodl.query.version.version1", 0, None), ("partialUpdates", "boolean", "vmodl.query.version.version1", 0, None)], [("destroy", "DestroyPropertyFilter", "vmodl.query.version.version1", (), (0, "void", "void"), None, None)])
CreateDataType("vmodl.query.PropertyCollector.ObjectContent", "ObjectContent", "vmodl.DynamicData", "vmodl.query.version.version1", [("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("propSet", "vmodl.DynamicProperty[]", "vmodl.query.version.version1", F_OPTIONAL), ("missingSet", "vmodl.query.PropertyCollector.MissingProperty[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.UpdateSet", "UpdateSet", "vmodl.DynamicData", "vmodl.query.version.version1", [("version", "string", "vmodl.query.version.version1", 0), ("filterSet", "vmodl.query.PropertyCollector.FilterUpdate[]", "vmodl.query.version.version1", F_OPTIONAL), ("truncated", "boolean", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.FilterUpdate", "PropertyFilterUpdate", "vmodl.DynamicData", "vmodl.query.version.version1", [("filter", "vmodl.query.PropertyCollector.Filter", "vmodl.query.version.version1", 0), ("objectSet", "vmodl.query.PropertyCollector.ObjectUpdate[]", "vmodl.query.version.version1", F_OPTIONAL), ("missingSet", "vmodl.query.PropertyCollector.MissingObject[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.ObjectUpdate", "ObjectUpdate", "vmodl.DynamicData", "vmodl.query.version.version1", [("kind", "vmodl.query.PropertyCollector.ObjectUpdate.Kind", "vmodl.query.version.version1", 0), ("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("changeSet", "vmodl.query.PropertyCollector.Change[]", "vmodl.query.version.version1", F_OPTIONAL), ("missingSet", "vmodl.query.PropertyCollector.MissingProperty[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateEnumType("vmodl.query.PropertyCollector.ObjectUpdate.Kind", "ObjectUpdateKind", "vmodl.query.version.version1", ["modify", "enter", "leave"])
CreateDataType("vmodl.query.PropertyCollector.Change", "PropertyChange", "vmodl.DynamicData", "vmodl.query.version.version1", [("name", "vmodl.PropertyPath", "vmodl.query.version.version1", 0), ("op", "vmodl.query.PropertyCollector.Change.Op", "vmodl.query.version.version1", 0), ("val", "anyType", "vmodl.query.version.version1", F_OPTIONAL)])
CreateEnumType("vmodl.query.PropertyCollector.Change.Op", "PropertyChangeOp", "vmodl.query.version.version1", ["add", "remove", "assign", "indirectRemove"])
CreateDataType("vmodl.query.PropertyCollector.MissingProperty", "MissingProperty", "vmodl.DynamicData", "vmodl.query.version.version1", [("path", "vmodl.PropertyPath", "vmodl.query.version.version1", 0), ("fault", "vmodl.MethodFault", "vmodl.query.version.version1", 0)])
CreateDataType("vmodl.query.PropertyCollector.MissingObject", "MissingObject", "vmodl.DynamicData", "vmodl.query.version.version1", [("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("fault", "vmodl.MethodFault", "vmodl.query.version.version1", 0)])
CreateDataType("vmodl.query.PropertyCollector.WaitOptions", "WaitOptions", "vmodl.DynamicData", "vmodl.query.version.version3", [("maxWaitSeconds", "int", "vmodl.query.version.version3", F_OPTIONAL), ("maxObjectUpdates", "int", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.RetrieveOptions", "RetrieveOptions", "vmodl.DynamicData", "vmodl.query.version.version3", [("maxObjects", "int", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.RetrieveResult", "RetrieveResult", "vmodl.DynamicData", "vmodl.query.version.version3", [("token", "string", "vmodl.query.version.version3", F_OPTIONAL), ("objects", "vmodl.query.PropertyCollector.ObjectContent[]", "vmodl.query.version.version3", 0)])

@ -81,7 +81,8 @@ class DynamicTypeConstructor:
_mapFlags = { "optional": VmomiSupport.F_OPTIONAL, _mapFlags = { "optional": VmomiSupport.F_OPTIONAL,
"linkable": VmomiSupport.F_LINKABLE, "linkable": VmomiSupport.F_LINKABLE,
"link": VmomiSupport.F_LINK } "link": VmomiSupport.F_LINK,
"secret": VmomiSupport.F_SECRET }
## Constructor ## Constructor
# #

65
pyVmomi/QueryTypes.py Normal file

@ -0,0 +1,65 @@
# ******* WARNING - AUTO GENERATED CODE - DO NOT EDIT *******
from __future__ import absolute_import
from pyVmomi.VmomiSupport import CreateDataType, CreateManagedType, CreateEnumType, AddVersion, AddVersionParent, F_LINK, F_LINKABLE, F_OPTIONAL, F_SECRET
from pyVmomi.VmomiSupport import newestVersions, currentVersions, stableVersions, matureVersions, publicVersions, oldestVersions
AddVersion("vmodl.query.version.version1", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version2", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version3", "", "", 0, "vim25")
AddVersion("vmodl.query.version.version4", "", "", 0, "vim25")
AddVersion("vmodl.version.version2", "", "", 0, "vim25")
AddVersion("vmodl.version.version1", "", "", 0, "vim25")
AddVersion("vmodl.version.version0", "", "", 0, "vim25")
AddVersionParent("vmodl.query.version.version1", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version2", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version2", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version3", "vmodl.query.version.version3")
AddVersionParent("vmodl.query.version.version3", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version3", "vmodl.version.version0")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version1")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version2")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version3")
AddVersionParent("vmodl.query.version.version4", "vmodl.query.version.version4")
AddVersionParent("vmodl.query.version.version4", "vmodl.version.version2")
AddVersionParent("vmodl.query.version.version4", "vmodl.version.version1")
AddVersionParent("vmodl.query.version.version4", "vmodl.version.version0")
AddVersionParent("vmodl.version.version2", "vmodl.version.version2")
AddVersionParent("vmodl.version.version2", "vmodl.version.version1")
AddVersionParent("vmodl.version.version2", "vmodl.version.version0")
AddVersionParent("vmodl.version.version1", "vmodl.version.version1")
AddVersionParent("vmodl.version.version1", "vmodl.version.version0")
AddVersionParent("vmodl.version.version0", "vmodl.version.version0")
newestVersions.Add("vmodl.query.version.version4")
currentVersions.Add("vmodl.query.version.version4")
stableVersions.Add("vmodl.query.version.version4")
matureVersions.Add("vmodl.query.version.version4")
publicVersions.Add("vmodl.query.version.version4")
oldestVersions.Add("vmodl.query.version.version1")
CreateDataType("vmodl.query.InvalidCollectorVersion", "InvalidCollectorVersion", "vmodl.MethodFault", "vmodl.query.version.version1", None)
CreateDataType("vmodl.query.InvalidProperty", "InvalidProperty", "vmodl.MethodFault", "vmodl.query.version.version1", [("name", "vmodl.PropertyPath", "vmodl.query.version.version1", 0)])
CreateManagedType("vmodl.query.PropertyCollector", "PropertyCollector", "vmodl.ManagedObject", "vmodl.query.version.version1", [("filter", "vmodl.query.PropertyCollector.Filter[]", "vmodl.query.version.version1", F_OPTIONAL, "System.View")], [("createFilter", "CreateFilter", "vmodl.query.version.version1", (("spec", "vmodl.query.PropertyCollector.FilterSpec", "vmodl.query.version.version1", 0, None),("partialUpdates", "boolean", "vmodl.query.version.version1", 0, None),), (0, "vmodl.query.PropertyCollector.Filter", "vmodl.query.PropertyCollector.Filter"), "System.View", ["vmodl.query.InvalidProperty", ]), ("retrieveContents", "RetrieveProperties", "vmodl.query.version.version1", (("specSet", "vmodl.query.PropertyCollector.FilterSpec[]", "vmodl.query.version.version1", 0, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.ObjectContent[]", "vmodl.query.PropertyCollector.ObjectContent[]"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("checkForUpdates", "CheckForUpdates", "vmodl.query.version.version1", (("version", "string", "vmodl.query.version.version1", F_OPTIONAL, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.UpdateSet", "vmodl.query.PropertyCollector.UpdateSet"), "System.View", ["vmodl.query.InvalidCollectorVersion", ]), ("waitForUpdates", "WaitForUpdates", "vmodl.query.version.version1", (("version", "string", "vmodl.query.version.version1", F_OPTIONAL, None),), (0, "vmodl.query.PropertyCollector.UpdateSet", "vmodl.query.PropertyCollector.UpdateSet"), "System.View", ["vmodl.query.InvalidCollectorVersion", ]), ("cancelWaitForUpdates", "CancelWaitForUpdates", "vmodl.query.version.version1", (), (0, "void", "void"), "System.View", None), ("waitForUpdatesEx", "WaitForUpdatesEx", "vmodl.query.version.version3", (("version", "string", "vmodl.query.version.version3", F_OPTIONAL, None),("options", "vmodl.query.PropertyCollector.WaitOptions", "vmodl.query.version.version3", F_OPTIONAL, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.UpdateSet", "vmodl.query.PropertyCollector.UpdateSet"), "System.View", ["vmodl.query.InvalidCollectorVersion", ]), ("retrievePropertiesEx", "RetrievePropertiesEx", "vmodl.query.version.version3", (("specSet", "vmodl.query.PropertyCollector.FilterSpec[]", "vmodl.query.version.version3", 0, None),("options", "vmodl.query.PropertyCollector.RetrieveOptions", "vmodl.query.version.version3", 0, None),), (F_OPTIONAL, "vmodl.query.PropertyCollector.RetrieveResult", "vmodl.query.PropertyCollector.RetrieveResult"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("continueRetrievePropertiesEx", "ContinueRetrievePropertiesEx", "vmodl.query.version.version3", (("token", "string", "vmodl.query.version.version3", 0, None),), (0, "vmodl.query.PropertyCollector.RetrieveResult", "vmodl.query.PropertyCollector.RetrieveResult"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("cancelRetrievePropertiesEx", "CancelRetrievePropertiesEx", "vmodl.query.version.version3", (("token", "string", "vmodl.query.version.version3", 0, None),), (0, "void", "void"), "System.Anonymous", ["vmodl.query.InvalidProperty", ]), ("createPropertyCollector", "CreatePropertyCollector", "vmodl.query.version.version3", (), (0, "vmodl.query.PropertyCollector", "vmodl.query.PropertyCollector"), "System.View", None), ("destroy", "DestroyPropertyCollector", "vmodl.query.version.version3", (), (0, "void", "void"), "System.View", None)])
CreateDataType("vmodl.query.PropertyCollector.FilterSpec", "PropertyFilterSpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("propSet", "vmodl.query.PropertyCollector.PropertySpec[]", "vmodl.query.version.version1", 0), ("objectSet", "vmodl.query.PropertyCollector.ObjectSpec[]", "vmodl.query.version.version1", 0), ("reportMissingObjectsInResults", "boolean", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.PropertySpec", "PropertySpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("type", "vmodl.TypeName", "vmodl.query.version.version1", 0), ("all", "boolean", "vmodl.query.version.version1", F_OPTIONAL), ("pathSet", "vmodl.PropertyPath[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.ObjectSpec", "ObjectSpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("skip", "boolean", "vmodl.query.version.version1", F_OPTIONAL), ("selectSet", "vmodl.query.PropertyCollector.SelectionSpec[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.SelectionSpec", "SelectionSpec", "vmodl.DynamicData", "vmodl.query.version.version1", [("name", "string", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.TraversalSpec", "TraversalSpec", "vmodl.query.PropertyCollector.SelectionSpec", "vmodl.query.version.version1", [("type", "vmodl.TypeName", "vmodl.query.version.version1", 0), ("path", "vmodl.PropertyPath", "vmodl.query.version.version1", 0), ("skip", "boolean", "vmodl.query.version.version1", F_OPTIONAL), ("selectSet", "vmodl.query.PropertyCollector.SelectionSpec[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateManagedType("vmodl.query.PropertyCollector.Filter", "PropertyFilter", "vmodl.ManagedObject", "vmodl.query.version.version1", [("spec", "vmodl.query.PropertyCollector.FilterSpec", "vmodl.query.version.version1", 0, None), ("partialUpdates", "boolean", "vmodl.query.version.version1", 0, None)], [("destroy", "DestroyPropertyFilter", "vmodl.query.version.version1", (), (0, "void", "void"), None, None)])
CreateDataType("vmodl.query.PropertyCollector.ObjectContent", "ObjectContent", "vmodl.DynamicData", "vmodl.query.version.version1", [("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("propSet", "vmodl.DynamicProperty[]", "vmodl.query.version.version1", F_OPTIONAL), ("missingSet", "vmodl.query.PropertyCollector.MissingProperty[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.UpdateSet", "UpdateSet", "vmodl.DynamicData", "vmodl.query.version.version1", [("version", "string", "vmodl.query.version.version1", 0), ("filterSet", "vmodl.query.PropertyCollector.FilterUpdate[]", "vmodl.query.version.version1", F_OPTIONAL), ("truncated", "boolean", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.FilterUpdate", "PropertyFilterUpdate", "vmodl.DynamicData", "vmodl.query.version.version1", [("filter", "vmodl.query.PropertyCollector.Filter", "vmodl.query.version.version1", 0), ("objectSet", "vmodl.query.PropertyCollector.ObjectUpdate[]", "vmodl.query.version.version1", F_OPTIONAL), ("missingSet", "vmodl.query.PropertyCollector.MissingObject[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.ObjectUpdate", "ObjectUpdate", "vmodl.DynamicData", "vmodl.query.version.version1", [("kind", "vmodl.query.PropertyCollector.ObjectUpdate.Kind", "vmodl.query.version.version1", 0), ("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("changeSet", "vmodl.query.PropertyCollector.Change[]", "vmodl.query.version.version1", F_OPTIONAL), ("missingSet", "vmodl.query.PropertyCollector.MissingProperty[]", "vmodl.query.version.version1", F_OPTIONAL)])
CreateEnumType("vmodl.query.PropertyCollector.ObjectUpdate.Kind", "ObjectUpdateKind", "vmodl.query.version.version1", ["modify", "enter", "leave"])
CreateDataType("vmodl.query.PropertyCollector.Change", "PropertyChange", "vmodl.DynamicData", "vmodl.query.version.version1", [("name", "vmodl.PropertyPath", "vmodl.query.version.version1", 0), ("op", "vmodl.query.PropertyCollector.Change.Op", "vmodl.query.version.version1", 0), ("val", "anyType", "vmodl.query.version.version1", F_OPTIONAL)])
CreateEnumType("vmodl.query.PropertyCollector.Change.Op", "PropertyChangeOp", "vmodl.query.version.version1", ["add", "remove", "assign", "indirectRemove"])
CreateDataType("vmodl.query.PropertyCollector.MissingProperty", "MissingProperty", "vmodl.DynamicData", "vmodl.query.version.version1", [("path", "vmodl.PropertyPath", "vmodl.query.version.version1", 0), ("fault", "vmodl.MethodFault", "vmodl.query.version.version1", 0)])
CreateDataType("vmodl.query.PropertyCollector.MissingObject", "MissingObject", "vmodl.DynamicData", "vmodl.query.version.version1", [("obj", "vmodl.ManagedObject", "vmodl.query.version.version1", 0), ("fault", "vmodl.MethodFault", "vmodl.query.version.version1", 0)])
CreateDataType("vmodl.query.PropertyCollector.WaitOptions", "WaitOptions", "vmodl.DynamicData", "vmodl.query.version.version3", [("maxWaitSeconds", "int", "vmodl.query.version.version3", F_OPTIONAL), ("maxObjectUpdates", "int", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.RetrieveOptions", "RetrieveOptions", "vmodl.DynamicData", "vmodl.query.version.version3", [("maxObjects", "int", "vmodl.query.version.version3", F_OPTIONAL)])
CreateDataType("vmodl.query.PropertyCollector.RetrieveResult", "RetrieveResult", "vmodl.DynamicData", "vmodl.query.version.version3", [("token", "string", "vmodl.query.version.version3", F_OPTIONAL), ("objects", "vmodl.query.PropertyCollector.ObjectContent[]", "vmodl.query.version.version3", 0)])

File diff suppressed because one or more lines are too long

@ -1141,6 +1141,8 @@ class SoapStubAdapter(SoapStubAdapterBase):
# @param version API version # @param version API version
# @param connectionPoolTimeout Timeout in secs for idle connections in client pool. Use -1 to disable any timeout. # @param connectionPoolTimeout Timeout in secs for idle connections in client pool. Use -1 to disable any timeout.
# @param samlToken SAML Token that should be used in SOAP security header for login # @param samlToken SAML Token that should be used in SOAP security header for login
# @param sslContext SSL Context describing the various SSL options. It is only
# supported in Python 2.7.9 or higher.
def __init__(self, host='localhost', port=443, ns=None, path='/sdk', def __init__(self, host='localhost', port=443, ns=None, path='/sdk',
url=None, sock=None, poolSize=5, url=None, sock=None, poolSize=5,
certFile=None, certKeyFile=None, certFile=None, certKeyFile=None,
@ -1148,7 +1150,7 @@ class SoapStubAdapter(SoapStubAdapterBase):
thumbprint=None, cacertsFile=None, version=None, thumbprint=None, cacertsFile=None, version=None,
acceptCompressedResponses=True, acceptCompressedResponses=True,
connectionPoolTimeout=CONNECTION_POOL_IDLE_TIMEOUT_SEC, connectionPoolTimeout=CONNECTION_POOL_IDLE_TIMEOUT_SEC,
samlToken=None): samlToken=None, sslContext=None):
if ns: if ns:
assert(version is None) assert(version is None)
version = versionMap[ns] version = versionMap[ns]
@ -1184,11 +1186,14 @@ class SoapStubAdapter(SoapStubAdapterBase):
else: else:
self.thumbprint = None self.thumbprint = None
self.is_ssl_tunnel = False
if sslProxyPath: if sslProxyPath:
self.scheme = SSLTunnelConnection(sslProxyPath) self.scheme = SSLTunnelConnection(sslProxyPath)
self.is_ssl_tunnel = True
elif httpProxyHost: elif httpProxyHost:
if self.scheme == HTTPSConnectionWrapper: if self.scheme == HTTPSConnectionWrapper:
self.scheme = SSLTunnelConnection(self.host) self.scheme = SSLTunnelConnection(self.host)
self.is_ssl_tunnel = True
else: else:
if url: if url:
self.path = url self.path = url
@ -1208,6 +1213,8 @@ class SoapStubAdapter(SoapStubAdapterBase):
if cacertsFile: if cacertsFile:
self.schemeArgs['ca_certs'] = cacertsFile self.schemeArgs['ca_certs'] = cacertsFile
self.schemeArgs['cert_reqs'] = ssl.CERT_REQUIRED self.schemeArgs['cert_reqs'] = ssl.CERT_REQUIRED
if sslContext:
self.schemeArgs['context'] = sslContext
self.samlToken = samlToken self.samlToken = samlToken
self.requestModifierList = [] self.requestModifierList = []
self._acceptCompressedResponses = acceptCompressedResponses self._acceptCompressedResponses = acceptCompressedResponses
@ -1364,7 +1371,8 @@ class SoapStubAdapter(SoapStubAdapterBase):
def ReturnConnection(self, conn): def ReturnConnection(self, conn):
self.lock.acquire() self.lock.acquire()
self._CloseIdleConnections() self._CloseIdleConnections()
if len(self.pool) < self.poolSize: # In case of ssl tunneling, only add the conn if the conn has not been closed
if len(self.pool) < self.poolSize and (not self.is_ssl_tunnel or conn.sock):
self.pool.insert(0, (conn, time.time())) self.pool.insert(0, (conn, time.time()))
self.lock.release() self.lock.release()
else: else:
@ -1389,6 +1397,12 @@ class SoapStubAdapter(SoapStubAdapterBase):
pass pass
conn.connect = ConnectDisableNagle conn.connect = ConnectDisableNagle
## Need to override the depcopy method. Since, the stub is not deep copyable
# due to the thread lock and connection pool, deep copy of a managed object
# fails. Further different instances of a managed object still share the
# same soap stub. Hence, returning self here is fine.
def __deepcopy__(self, memo):
return self
HEADER_SECTION_END = '\r\n\r\n' HEADER_SECTION_END = '\r\n\r\n'

@ -48,7 +48,8 @@ except:
(F_LINK, (F_LINK,
F_LINKABLE, F_LINKABLE,
F_OPTIONAL) = [ 1<<x for x in range(3) ] F_OPTIONAL,
F_SECRET) = [ 1<<x for x in range(4) ]
BASE_VERSION = 'vmodl.version.version0' BASE_VERSION = 'vmodl.version.version0'
VERSION1 = 'vmodl.version.version1' VERSION1 = 'vmodl.version.version1'
@ -1240,6 +1241,25 @@ def GetCompatibleType(type, version):
def InverseMap(map): def InverseMap(map):
return dict([ (v, k) for (k, v) in iteritems(map) ]) return dict([ (v, k) for (k, v) in iteritems(map) ])
## Support for build-time versions
class _BuildVersions:
def __init__(self):
self._verMap = {}
self._nsMap = {}
def Add(self, version):
vmodlNs = version.split(".",1)[0]
if not (vmodlNs in self._verMap):
self._verMap[vmodlNs] = version
if not (vmodlNs in self._nsMap):
self._nsMap[vmodlNs] = GetVersionNamespace(version)
def Get(self, vmodlNs):
return self._verMap[vmodlNs]
def GetNamespace(self, vmodlNs):
return self._nsMap[vmodlNs]
types = Object() types = Object()
nsMap = {} nsMap = {}
versionIdMap = {} versionIdMap = {}
@ -1247,6 +1267,13 @@ versionMap = {}
serviceNsMap = { BASE_VERSION : XMLNS_VMODL_BASE.split(":")[-1] } serviceNsMap = { BASE_VERSION : XMLNS_VMODL_BASE.split(":")[-1] }
parentMap = {} parentMap = {}
newestVersions = _BuildVersions()
currentVersions = _BuildVersions()
stableVersions = _BuildVersions()
matureVersions = _BuildVersions()
publicVersions = _BuildVersions()
oldestVersions = _BuildVersions()
from pyVmomi.Version import AddVersion, IsChildVersion from pyVmomi.Version import AddVersion, IsChildVersion
if not isinstance(bool, type): # bool not a type in python <= 2.2 if not isinstance(bool, type): # bool not a type in python <= 2.2

@ -24,6 +24,7 @@ if sys.version_info < (2,5):
import pyVmomi.VmomiSupport import pyVmomi.VmomiSupport
import pyVmomi.CoreTypes import pyVmomi.CoreTypes
import pyVmomi.QueryTypes
try: try:
import ReflectTypes import ReflectTypes
except ImportError: except ImportError:

@ -15,45 +15,50 @@ interactions:
Cookie: [''] Cookie: ['']
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1623101 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1623101 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>E8636946-5510-44E7-B288-20DA0AD9DA38</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager \ type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager \ type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\"\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager >EventManager</eventManager><taskManager type=\"TaskManager\">TaskManager</taskManager><extensionManager\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex \ type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
>DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3332'] content-length: ['3320']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Mon, 21 Jul 2014 22:31:05 GMT'] date: ['Mon, 12 Oct 2015 16:20:20 GMT']
set-cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/;
HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -68,23 +73,25 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: ['']
HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<LoginResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><key>52773cd3-35c6-b40a-17f1-fe664a9f08f3</key><userName>my_user</userName><fullName>My User http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
</fullName><loginTime>2014-07-21T22:31:05.480973Z</loginTime><lastActiveTime>2014-07-21T22:31:05.480973Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale></returnval></LoginResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >\n<soapenv:Body>\n<LoginResponse xmlns=\"urn:vim25\"><returnval><key>52b5395a-85c2-9902-7835-13a9b77e1fec</key><userName>my_user</userName><fullName>my_user</fullName><loginTime>2015-10-12T16:20:20.388804Z</loginTime><lastActiveTime>2015-10-12T16:20:20.388804Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale></returnval></LoginResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['659'] content-length: ['704']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Mon, 21 Jul 2014 22:31:05 GMT'] date: ['Mon, 12 Oct 2015 16:20:20 GMT']
set-cookie: [vmware_soap_session="57e9ef0e1210352a3cf607db32a20792334f5b81";
Path=/; HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -99,47 +106,54 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: [vmware_soap_session="57e9ef0e1210352a3cf607db32a20792334f5b81"; Path=/;
HttpOnly; Secure;] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1623101 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1623101 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>E8636946-5510-44E7-B288-20DA0AD9DA38</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager \ type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager \ type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\"\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager >EventManager</eventManager><taskManager type=\"TaskManager\">TaskManager</taskManager><extensionManager\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex \ type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
>DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3332'] content-length: ['3320']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Mon, 21 Jul 2014 22:31:05 GMT'] date: ['Mon, 12 Oct 2015 16:20:20 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -155,48 +169,56 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: [vmware_soap_session="57e9ef0e1210352a3cf607db32a20792334f5b81"; Path=/;
HttpOnly; Secure;] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"ServiceInstance\">ServiceInstance</obj><propSet><name>content</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"ServiceContent\"><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector >\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager \ type=\"ServiceInstance\">ServiceInstance</obj><propSet><name>content</name><val\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ xsi:type=\"ServiceContent\"><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1623101 (Sim)</fullName><vendor>VMware, \ type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager\
Inc.</vendor><version>5.5.0</version><build>1623101 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>E8636946-5510-44E7-B288-20DA0AD9DA38</instanceUuid><licenseProductName>VMware \ type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager \ type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex >EventManager</eventManager><taskManager type=\"TaskManager\">TaskManager</taskManager><extensionManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager \ type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
>IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
>DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3472'] content-length: ['3460']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Mon, 21 Jul 2014 22:31:05 GMT'] date: ['Mon, 12 Oct 2015 16:20:20 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -212,23 +234,25 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: [vmware_soap_session="57e9ef0e1210352a3cf607db32a20792334f5b81"; Path=/;
HttpOnly; Secure;] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"SessionManager\">SessionManager</obj><propSet><name>currentSession</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"UserSession\"><key>52773cd3-35c6-b40a-17f1-fe664a9f08f3</key><userName>my_user</userName><fullName>My User >\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
</fullName><loginTime>2014-07-21T22:31:05.480973Z</loginTime><lastActiveTime>2014-07-21T22:31:05.480973Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} \ type=\"SessionManager\">SessionManager</obj><propSet><name>currentSession</name><val\
\ xsi:type=\"UserSession\"><key>52b5395a-85c2-9902-7835-13a9b77e1fec</key><userName>my_user</userName><fullName>my_user</fullName><loginTime>2015-10-12T16:20:20.388804Z</loginTime><lastActiveTime>2015-10-12T16:20:20.400795Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['835'] content-length: ['880']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Mon, 21 Jul 2014 22:31:05 GMT'] date: ['Mon, 12 Oct 2015 16:20:20 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

@ -15,45 +15,50 @@ interactions:
Cookie: [''] Cookie: ['']
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-2798252</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>2798252</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>bebc2ffd-1e78-43f9-bf1c-05a67f5eb56d</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><perfManager\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager \ type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager \ type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\"\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager >EventManager</eventManager><taskManager type=\"TaskManager\">TaskManager</taskManager><extensionManager\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex \ type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
>DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3332'] content-length: ['3320']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Tue, 22 Jul 2014 17:36:32 GMT'] date: ['Wed, 7 Oct 2015 17:51:14 GMT']
set-cookie: [vmware_soap_session="528b8755-46b5-df6a-47fd-89e57d4807c5"; Path=/;
HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -68,22 +73,26 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="528b8755-46b5-df6a-47fd-89e57d4807c5"; Path=/; Cookie: ['']
HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/4.1"'] SOAPAction: ['"urn:vim25/4.1"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<soapenv:Fault><faultcode>ServerFaultCode</faultcode><faultstring>Cannot \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
complete login due to an incorrect user name or password.</faultstring><detail><InvalidLoginFault http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xmlns=\"urn:vim25\" xsi:type=\"InvalidLogin\"></InvalidLoginFault></detail></soapenv:Fault>\n</soapenv:Body>\n</soapenv:Envelope>"} >\n<soapenv:Body>\n<soapenv:Fault><faultcode>ServerFaultCode</faultcode><faultstring>Cannot\
\ complete login due to an incorrect user name or password.</faultstring><detail><InvalidLoginFault\
\ xmlns=\"urn:vim25\" xsi:type=\"InvalidLogin\"></InvalidLoginFault></detail></soapenv:Fault>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['585'] content-length: ['585']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Tue, 22 Jul 2014 17:36:37 GMT'] date: ['Wed, 7 Oct 2015 17:51:33 GMT']
set-cookie: [vmware_soap_session="f92d3e0148e9d8fb32ef20a75cf89abd4a84cd66";
Path=/; HttpOnly; Secure;]
status: {code: 500, message: Internal Server Error} status: {code: 500, message: Internal Server Error}
version: 1 version: 1

@ -4,28 +4,26 @@ interactions:
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
User-Agent: [python-requests/2.3.0 CPython/3.4.1 Darwin/13.3.0] Connection: [keep-alive]
User-Agent: [python-requests/2.7.0 CPython/2.7.10 Darwin/15.0.0]
method: GET method: GET
uri: https://vcsa:443//sdk/vimServiceVersions.xml uri: https://vcsa//sdk/vimServiceVersions.xml
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!--\n Copyright body: {string: !!python/unicode '<?xml version="1.0" encoding="UTF-8" ?><namespaces
2008-2012 VMware, Inc. All rights reserved.\n-->\n<namespaces version=\"1.0\">\n version="1.0"><namespace><name>urn:vim25</name><version>6.0</version><priorVersions><version>5.5</version><version>5.1</version><version>5.0</version><version>4.1</version><version>4.0</version><version>2.5u2server</version><version>2.5u2</version><version>2.5</version></priorVersions></namespace><namespace><name>urn:vim2</name><version>2.0</version></namespace></namespaces>
\ <namespace>\n <name>urn:vim25</name>\n <version>5.5</version>\n <priorVersions>\n
\ <version>5.1</version>\n <version>5.0</version>\n <version>4.1</version>\n '}
\ <version>4.0</version>\n <version>2.5u2</version>\n <version>2.5</version>\n
\ </priorVersions>\n </namespace>\n <namespace>\n <name>urn:vim2</name>\n
\ <version>2.0</version>\n </namespace>\n</namespaces>\n"}
headers: headers:
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['530'] content-length: ['429']
Content-Type: [text/xml] content-type: [text/xml]
Date: ['Thu, 31 Jul 2014 17:32:04 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body> <soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body>
@ -35,56 +33,64 @@ interactions:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [''] Cookie: ['']
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['3611'] content-length: ['3853']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:04 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
Set-Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/;
HttpOnly; Secure; ']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><Login xmlns="urn:vim25"><_this type="SessionManager">SessionManager</_this><userName>my_user</userName><password>my_password</password></Login></soapenv:Body> <soapenv:Body><Login xmlns="urn:vim25"><_this type="SessionManager">SessionManager</_this><userName>my_user</userName><password>my_password</password></Login></soapenv:Body>
@ -93,29 +99,31 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/; Cookie: ['']
HttpOnly; Secure; '] SOAPAction: ['"urn:vim25/6.0"']
SOAPAction: ['"urn:vim25/5.5"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<LoginResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><key>52dc4501-0677-e49d-f836-92045c1e5335</key><userName>my_user</userName><fullName>my_user http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
</fullName><loginTime>2014-07-31T17:32:04.959361Z</loginTime><lastActiveTime>2014-07-31T17:32:04.959361Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>172.16.16.1</ipAddress><userAgent></userAgent><callCount>0</callCount></returnval></LoginResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >\n<soapenv:Body>\n<LoginResponse xmlns=\"urn:vim25\"><returnval><key>52e6ecdc-512d-b041-aea8-efa4a4f168e2</key><userName>my_user</userName><fullName>my_user</fullName><loginTime>2015-10-12T16:24:13.702261Z</loginTime><lastActiveTime>2015-10-12T16:24:13.702261Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>10.20.125.215</ipAddress><userAgent></userAgent><callCount>0</callCount></returnval></LoginResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['788'] content-length: ['829']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:04 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
set-cookie: [vmware_soap_session="403d909855cc71d655e4312dff16aa2e4bb8cd4d";
Path=/; HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body> <soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body>
@ -124,56 +132,66 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/; Cookie: [vmware_soap_session="403d909855cc71d655e4312dff16aa2e4bb8cd4d"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['3611'] content-length: ['3853']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:04 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><CreateContainerView xmlns="urn:vim25"><_this type="ViewManager">ViewManager</_this><container <soapenv:Body><CreateContainerView xmlns="urn:vim25"><_this type="ViewManager">ViewManager</_this><container
@ -183,28 +201,31 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/; Cookie: [vmware_soap_session="403d909855cc71d655e4312dff16aa2e4bb8cd4d"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<CreateContainerViewResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval type=\"ContainerView\">session[1c697f87-8ba4-8cf9-7be1-fd21ab003a42]528c1847-b0c0-7a9b-63c1-2c6cd72956b4</returnval></CreateContainerViewResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
>\n<soapenv:Body>\n<CreateContainerViewResponse xmlns=\"urn:vim25\"><returnval\
\ type=\"ContainerView\">session[522e381b-f862-604d-fc91-f833d412e504]52af39e2-2cf1-3ba5-e212-6f8658cd2e1e</returnval></CreateContainerViewResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['529'] content-length: ['529']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:05 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body> <soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body>
@ -213,145 +234,126 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/; Cookie: [vmware_soap_session="403d909855cc71d655e4312dff16aa2e4bb8cd4d"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['3611'] content-length: ['3853']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:05 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>ContainerView</type><all>false</all><pathSet>view</pathSet></propSet><objectSet><obj <soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>ContainerView</type><all>false</all><pathSet>view</pathSet></propSet><objectSet><obj
type="ContainerView">session[1c697f87-8ba4-8cf9-7be1-fd21ab003a42]528c1847-b0c0-7a9b-63c1-2c6cd72956b4</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body> type="ContainerView">session[522e381b-f862-604d-fc91-f833d412e504]52af39e2-2cf1-3ba5-e212-6f8658cd2e1e</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body>
</soapenv:Envelope>' </soapenv:Envelope>'
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/; Cookie: [vmware_soap_session="403d909855cc71d655e4312dff16aa2e4bb8cd4d"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"ContainerView\">session[1c697f87-8ba4-8cf9-7be1-fd21ab003a42]528c1847-b0c0-7a9b-63c1-2c6cd72956b4</obj><propSet><name>view</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"ArrayOfManagedObjectReference\"><ManagedObjectReference type=\"Datacenter\" >\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
xsi:type=\"ManagedObjectReference\">datacenter-2</ManagedObjectReference></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} \ type=\"ContainerView\">session[522e381b-f862-604d-fc91-f833d412e504]52af39e2-2cf1-3ba5-e212-6f8658cd2e1e</obj><propSet><name>view</name><val\
\ xsi:type=\"ArrayOfManagedObjectReference\"></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['762'] content-length: ['649']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:05 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Datacenter</type><all>false</all><pathSet>datastore</pathSet></propSet><objectSet><obj <soapenv:Body><DestroyView xmlns="urn:vim25"><_this type="ContainerView">session[522e381b-f862-604d-fc91-f833d412e504]52af39e2-2cf1-3ba5-e212-6f8658cd2e1e</_this></DestroyView></soapenv:Body>
type="Datacenter">datacenter-2</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body>
</soapenv:Envelope>' </soapenv:Envelope>'
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/; Cookie: [vmware_soap_session="403d909855cc71d655e4312dff16aa2e4bb8cd4d"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"Datacenter\">datacenter-2</obj><propSet><name>datastore</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"ArrayOfManagedObjectReference\"><ManagedObjectReference type=\"Datastore\" >\n<soapenv:Body>\n<DestroyViewResponse xmlns=\"urn:vim25\"></DestroyViewResponse>\n\
xsi:type=\"ManagedObjectReference\">datastore-11</ManagedObjectReference></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} </soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['694'] content-length: ['388']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:05 GMT'] date: ['Mon, 12 Oct 2015 16:24:13 GMT']
status: {code: 200, message: OK}
- request:
body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><DestroyView xmlns="urn:vim25"><_this type="ContainerView">session[1c697f87-8ba4-8cf9-7be1-fd21ab003a42]528c1847-b0c0-7a9b-63c1-2c6cd72956b4</_this></DestroyView></soapenv:Body>
</soapenv:Envelope>'
headers:
Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52b88a08-629d-c211-6863-551af1238da8"; Path=/;
HttpOnly; Secure; ']
SOAPAction: ['"urn:vim25/5.5"']
method: POST
uri: https://vcsa:443/sdk
response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<DestroyViewResponse
xmlns=\"urn:vim25\"></DestroyViewResponse>\n</soapenv:Body>\n</soapenv:Envelope>"}
headers:
Cache-Control: [no-cache]
Connection: [Keep-Alive]
Content-Length: ['388']
Content-Type: [text/xml; charset=utf-8]
Date: ['Thu, 31 Jul 2014 17:32:05 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

@ -4,29 +4,27 @@ interactions:
headers: headers:
Accept: ['*/*'] Accept: ['*/*']
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
User-Agent: [python-requests/2.3.0 CPython/3.4.1 Darwin/13.3.0] Connection: [keep-alive]
User-Agent: [python-requests/2.7.0 CPython/2.7.10 Darwin/15.0.0]
method: GET method: GET
uri: https://vcsa:443//sdk/vimServiceVersions.xml uri: https://vcsa//sdk/vimServiceVersions.xml
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!--\n Copyright body: {string: !!python/unicode '<?xml version="1.0" encoding="UTF-8" ?><namespaces
2008-2012 VMware, Inc. All rights reserved.\n-->\n<namespaces version=\"1.0\">\n version="1.0"><namespace><name>urn:vim25</name><version>6.0</version><priorVersions><version>5.5</version><version>5.1</version><version>5.0</version><version>4.1</version><version>4.0</version><version>2.5u2server</version><version>2.5u2</version><version>2.5</version></priorVersions></namespace><namespace><name>urn:vim2</name><version>2.0</version></namespace></namespaces>
\ <namespace>\n <name>urn:vim25</name>\n <version>5.5</version>\n <priorVersions>\n
\ <version>5.1</version>\n <version>5.0</version>\n <version>4.1</version>\n '}
\ <version>4.0</version>\n <version>2.5u2</version>\n <version>2.5</version>\n
\ </priorVersions>\n </namespace>\n <namespace>\n <name>urn:vim2</name>\n
\ <version>2.0</version>\n </namespace>\n</namespaces>\n"}
headers: headers:
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['530'] content-length: ['429']
Content-Type: [text/xml] content-type: [text/xml]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body> <soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body>
@ -35,57 +33,65 @@ interactions:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [''] Cookie: ['']
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>0CEDF86B-B8A6-484F-9601-F9C5E4F83F45</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['3611'] content-length: ['3853']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
Set-Cookie: ['vmware_soap_session="52f9d648-9738-fa0d-722c-989a2a6848ee"; Path=/;
HttpOnly; Secure; ']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><Login xmlns="urn:vim25"><_this type="SessionManager">SessionManager</_this><userName>my_user</userName><password>my_password</password></Login></soapenv:Body> <soapenv:Body><Login xmlns="urn:vim25"><_this type="SessionManager">SessionManager</_this><userName>my_user</userName><password>my_password</password></Login></soapenv:Body>
@ -93,30 +99,32 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52f9d648-9738-fa0d-722c-989a2a6848ee"; Path=/; Cookie: ['']
HttpOnly; Secure; '] SOAPAction: ['"urn:vim25/6.0"']
SOAPAction: ['"urn:vim25/5.5"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<LoginResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><key>52b2e74c-889a-50fa-021d-0ca429bc0730</key><userName>my_user</userName><fullName>my_user http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
</fullName><loginTime>2014-08-12T19:57:19.158827Z</loginTime><lastActiveTime>2014-08-12T19:57:19.158827Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>172.16.16.1</ipAddress><userAgent></userAgent><callCount>0</callCount></returnval></LoginResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >\n<soapenv:Body>\n<LoginResponse xmlns=\"urn:vim25\"><returnval><key>5274182e-7d48-d09c-aef6-3b6e591a4b94</key><userName>my_user</userName><fullName>my_user</fullName><loginTime>2015-10-12T17:33:12.423244Z</loginTime><lastActiveTime>2015-10-12T17:33:12.423244Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>10.20.125.215</ipAddress><userAgent></userAgent><callCount>0</callCount></returnval></LoginResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['788'] content-length: ['829']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
set-cookie: [vmware_soap_session="c50b989c3b75e956a86b4aefe6024d302f274cac";
Path=/; HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body> <soapenv:Body><RetrieveServiceContent xmlns="urn:vim25"><_this type="ServiceInstance">ServiceInstance</_this></RetrieveServiceContent></soapenv:Body>
@ -124,57 +132,67 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52f9d648-9738-fa0d-722c-989a2a6848ee"; Path=/; Cookie: [vmware_soap_session="c50b989c3b75e956a86b4aefe6024d302f274cac"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>0CEDF86B-B8A6-484F-9601-F9C5E4F83F45</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['3611'] content-length: ['3853']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>ServiceInstance</type><all>false</all><pathSet>content</pathSet></propSet><objectSet><obj <soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>ServiceInstance</type><all>false</all><pathSet>content</pathSet></propSet><objectSet><obj
type="ServiceInstance">ServiceInstance</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body> type="ServiceInstance">ServiceInstance</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body>
@ -183,58 +201,69 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52f9d648-9738-fa0d-722c-989a2a6848ee"; Path=/; Cookie: [vmware_soap_session="c50b989c3b75e956a86b4aefe6024d302f274cac"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"ServiceInstance\">ServiceInstance</obj><propSet><name>content</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"ServiceContent\"><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector >\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager \ type=\"ServiceInstance\">ServiceInstance</obj><propSet><name>content</name><val\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ xsi:type=\"ServiceContent\"><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, \ type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>0CEDF86B-B8A6-484F-9601-F9C5E4F83F45</instanceUuid><licenseProductName>VMware \ type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
>DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['3751'] content-length: ['3993']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Folder</type><all>false</all><pathSet>parent</pathSet></propSet><objectSet><obj <soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Folder</type><all>false</all><pathSet>parent</pathSet></propSet><objectSet><obj
type="Folder">group-d1</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body> type="Folder">group-d1</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body>
@ -243,29 +272,32 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52f9d648-9738-fa0d-722c-989a2a6848ee"; Path=/; Cookie: [vmware_soap_session="c50b989c3b75e956a86b4aefe6024d302f274cac"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"Folder\">group-d1</obj></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
>\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
\ type=\"Folder\">group-d1</obj></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['481'] content-length: ['481']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" <soapenv:Envelope xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Folder</type><all>false</all><pathSet>parent</pathSet></propSet><objectSet><obj <soapenv:Body><RetrievePropertiesEx xmlns="urn:vim25"><_this type="PropertyCollector">propertyCollector</_this><specSet><propSet><type>Folder</type><all>false</all><pathSet>parent</pathSet></propSet><objectSet><obj
type="Folder">group-d1</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body> type="Folder">group-d1</obj><skip>false</skip></objectSet></specSet><options><maxObjects>1</maxObjects></options></RetrievePropertiesEx></soapenv:Body>
@ -274,21 +306,24 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: ['vmware_soap_session="52f9d648-9738-fa0d-722c-989a2a6848ee"; Path=/; Cookie: [vmware_soap_session="c50b989c3b75e956a86b4aefe6024d302f274cac"; Path=/;
HttpOnly; Secure; '] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"Folder\">group-d1</obj></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
>\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
\ type=\"Folder\">group-d1</obj></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
Cache-Control: [no-cache] cache-control: [no-cache]
Connection: [Keep-Alive] connection: [Keep-Alive]
Content-Length: ['481'] content-length: ['481']
Content-Type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
Date: ['Tue, 12 Aug 2014 19:57:19 GMT'] date: ['Mon, 12 Oct 2015 17:33:12 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

@ -2,24 +2,22 @@ interactions:
- request: - request:
body: null body: null
headers: headers:
Connection: [close] Accept: ['*/*']
Host: ['vcsa:443'] Accept-Encoding: ['gzip, deflate']
User-Agent: [Python-urllib/2.7] Connection: [keep-alive]
User-Agent: [python-requests/2.7.0 CPython/2.7.10 Darwin/15.0.0]
method: GET method: GET
uri: https://vcsa:443//sdk/vimServiceVersions.xml uri: https://vcsa//sdk/vimServiceVersions.xml
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>\n<!--\n body: {string: !!python/unicode '<?xml version="1.0" encoding="UTF-8" ?><namespaces
\ Copyright 2008-2012 VMware, Inc. All rights reserved.\n-->\n<namespaces version="1.0"><namespace><name>urn:vim25</name><version>6.0</version><priorVersions><version>5.5</version><version>5.1</version><version>5.0</version><version>4.1</version><version>4.0</version><version>2.5u2server</version><version>2.5u2</version><version>2.5</version></priorVersions></namespace><namespace><name>urn:vim2</name><version>2.0</version></namespace></namespaces>
version=\"1.0\">\n <namespace>\n <name>urn:vim25</name>\n <version>5.5</version>\n
\ <priorVersions>\n <version>5.1</version>\n <version>5.0</version>\n '}
\ <version>4.1</version>\n <version>4.0</version>\n <version>2.5u2</version>\n
\ <version>2.5</version>\n </priorVersions>\n </namespace>\n <namespace>\n
\ <name>urn:vim2</name>\n <version>2.0</version>\n </namespace>\n</namespaces>\n"}
headers: headers:
connection: [close] connection: [Keep-Alive]
content-length: ['530'] content-length: ['429']
content-type: [text/xml] content-type: [text/xml]
date: ['Wed, 23 Jul 2014 21:21:18 GMT'] date: ['Mon, 12 Oct 2015 16:18:07 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -35,50 +33,58 @@ interactions:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [''] Cookie: ['']
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3611'] content-length: ['3853']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Wed, 23 Jul 2014 21:21:18 GMT'] date: ['Mon, 12 Oct 2015 16:18:07 GMT']
set-cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/;
HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -93,23 +99,25 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: ['']
HttpOnly; Secure;] SOAPAction: ['"urn:vim25/6.0"']
SOAPAction: ['"urn:vim25/5.5"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<LoginResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><key>52773cd3-35c6-b40a-17f1-fe664a9f08f3</key><userName>root</userName><fullName>root http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
</fullName><loginTime>2014-07-23T21:21:18.297208Z</loginTime><lastActiveTime>2014-07-23T21:21:18.297208Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>172.16.16.1</ipAddress><userAgent></userAgent><callCount>0</callCount></returnval></LoginResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >\n<soapenv:Body>\n<LoginResponse xmlns=\"urn:vim25\"><returnval><key>52ad453a-13a7-e8af-9186-a1b5c5ab85b7</key><userName>my_user</userName><fullName>my_user</fullName><loginTime>2015-10-12T16:18:07.543834Z</loginTime><lastActiveTime>2015-10-12T16:18:07.543834Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>10.20.125.215</ipAddress><userAgent></userAgent><callCount>0</callCount></returnval></LoginResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['782'] content-length: ['829']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Wed, 23 Jul 2014 21:21:18 GMT'] date: ['Mon, 12 Oct 2015 16:18:07 GMT']
set-cookie: [vmware_soap_session="8fc51e13679819f71dd3e925154d49dcf91f9759";
Path=/; HttpOnly; Secure;]
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -124,50 +132,60 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: [vmware_soap_session="8fc51e13679819f71dd3e925154d49dcf91f9759"; Path=/;
HttpOnly; Secure;] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrieveServiceContentResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager >\n<soapenv:Body>\n<RetrieveServiceContentResponse xmlns=\"urn:vim25\"><returnval><rootFolder\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ type=\"Folder\">group-d1</rootFolder><propertyCollector type=\"PropertyCollector\"\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, >propertyCollector</propertyCollector><viewManager type=\"ViewManager\">ViewManager</viewManager><about><name>VMware\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ vCenter Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></returnval></RetrieveServiceContentResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></returnval></RetrieveServiceContentResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3611'] content-length: ['3853']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Wed, 23 Jul 2014 21:21:18 GMT'] date: ['Mon, 12 Oct 2015 16:18:07 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -183,51 +201,62 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: [vmware_soap_session="8fc51e13679819f71dd3e925154d49dcf91f9759"; Path=/;
HttpOnly; Secure;] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"ServiceInstance\">ServiceInstance</obj><propSet><name>content</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"ServiceContent\"><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector >\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager \ type=\"ServiceInstance\">ServiceInstance</obj><propSet><name>content</name><val\
type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter \ xsi:type=\"ServiceContent\"><rootFolder type=\"Folder\">group-d1</rootFolder><propertyCollector\
Server</name><fullName>VMware vCenter Server 5.5.0 build-1750787 (Sim)</fullName><vendor>VMware, \ type=\"PropertyCollector\">propertyCollector</propertyCollector><viewManager\
Inc.</vendor><version>5.5.0</version><build>1750787 (Sim)</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>5.5</apiVersion><instanceUuid>EAB4D846-C243-426B-A021-0547644CE59D</instanceUuid><licenseProductName>VMware \ type=\"ViewManager\">ViewManager</viewManager><about><name>VMware vCenter\
VirtualCenter Server</licenseProductName><licenseProductVersion>5.0</licenseProductVersion></about><setting \ Server</name><fullName>VMware vCenter Server 6.0.0 build-3018523</fullName><vendor>VMware,\
type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\">UserDirectory</userDirectory><sessionManager \ Inc.</vendor><version>6.0.0</version><build>3018523</build><localeVersion>INTL</localeVersion><localeBuild>000</localeBuild><osType>linux-x64</osType><productLineId>vpx</productLineId><apiType>VirtualCenter</apiType><apiVersion>6.0</apiVersion><instanceUuid>6cbd40cc-1416-4b2d-ba7c-ae53a166d00a</instanceUuid><licenseProductName>VMware\
type=\"SessionManager\">SessionManager</sessionManager><authorizationManager \ VirtualCenter Server</licenseProductName><licenseProductVersion>6.0</licenseProductVersion></about><setting\
type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager \ type=\"OptionManager\">VpxSettings</setting><userDirectory type=\"UserDirectory\"\
type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager >UserDirectory</userDirectory><sessionManager type=\"SessionManager\">SessionManager</sessionManager><authorizationManager\
type=\"ScheduledTaskManager\">ScheduledTaskManager</scheduledTaskManager><alarmManager \ type=\"AuthorizationManager\">AuthorizationManager</authorizationManager><serviceManager\
type=\"AlarmManager\">AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager \ type=\"ServiceManager\">ServiceMgr</serviceManager><perfManager type=\"\
type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager PerformanceManager\">PerfMgr</perfManager><scheduledTaskManager type=\"ScheduledTaskManager\"\
type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager >ScheduledTaskManager</scheduledTaskManager><alarmManager type=\"AlarmManager\"\
type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager >AlarmManager</alarmManager><eventManager type=\"EventManager\">EventManager</eventManager><taskManager\
type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"LicenseManager\">LicenseManager</licenseManager><searchIndex \ type=\"TaskManager\">TaskManager</taskManager><extensionManager type=\"\
type=\"SearchIndex\">SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager ExtensionManager\">ExtensionManager</extensionManager><customizationSpecManager\
type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager \ type=\"CustomizationSpecManager\">CustomizationSpecManager</customizationSpecManager><customFieldsManager\
type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem \ type=\"CustomFieldsManager\">CustomFieldsManager</customFieldsManager><diagnosticManager\
type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker \ type=\"DiagnosticManager\">DiagMgr</diagnosticManager><licenseManager type=\"\
type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager LicenseManager\">LicenseManager</licenseManager><searchIndex type=\"SearchIndex\"\
type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\">IpPoolManager</ipPoolManager><dvSwitchManager >SearchIndex</searchIndex><fileManager type=\"FileManager\">FileManager</fileManager><datastoreNamespaceManager\
type=\"DistributedVirtualSwitchManager\">DVSManager</dvSwitchManager><hostProfileManager \ type=\"DatastoreNamespaceManager\">DatastoreNamespaceManager</datastoreNamespaceManager><virtualDiskManager\
type=\"HostProfileManager\">HostProfileManager</hostProfileManager><clusterProfileManager \ type=\"VirtualDiskManager\">virtualDiskManager</virtualDiskManager><snmpSystem\
type=\"ClusterProfileManager\">ClusterProfileManager</clusterProfileManager><complianceManager \ type=\"HostSnmpSystem\">SnmpSystem</snmpSystem><vmProvisioningChecker type=\"\
type=\"ProfileComplianceManager\">MoComplianceManager</complianceManager><localizationManager VirtualMachineProvisioningChecker\">ProvChecker</vmProvisioningChecker><vmCompatibilityChecker\
type=\"LocalizationManager\">LocalizationManager</localizationManager><storageResourceManager \ type=\"VirtualMachineCompatibilityChecker\">CompatChecker</vmCompatibilityChecker><ovfManager\
type=\"StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager \ type=\"OvfManager\">OvfManager</ovfManager><ipPoolManager type=\"IpPoolManager\"\
type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} >IpPoolManager</ipPoolManager><dvSwitchManager type=\"DistributedVirtualSwitchManager\"\
>DVSManager</dvSwitchManager><hostProfileManager type=\"HostProfileManager\"\
>HostProfileManager</hostProfileManager><clusterProfileManager type=\"ClusterProfileManager\"\
>ClusterProfileManager</clusterProfileManager><complianceManager type=\"ProfileComplianceManager\"\
>MoComplianceManager</complianceManager><localizationManager type=\"LocalizationManager\"\
>LocalizationManager</localizationManager><storageResourceManager type=\"\
StorageResourceManager\">StorageResourceManager</storageResourceManager><guestOperationsManager\
\ type=\"GuestOperationsManager\">guestOperationsManager</guestOperationsManager><overheadMemoryManager\
\ type=\"OverheadMemoryManager\">OverheadMemoryManger</overheadMemoryManager><certificateManager\
\ type=\"CertificateManager\">certificateManager</certificateManager><ioFilterManager\
\ type=\"IoFilterManager\">IoFilterManager</ioFilterManager></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['3751'] content-length: ['3993']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Wed, 23 Jul 2014 21:21:18 GMT'] date: ['Mon, 12 Oct 2015 16:18:07 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
- request: - request:
body: '<?xml version="1.0" encoding="UTF-8"?> body: '<?xml version="1.0" encoding="UTF-8"?>
@ -243,23 +272,26 @@ interactions:
headers: headers:
Accept-Encoding: ['gzip, deflate'] Accept-Encoding: ['gzip, deflate']
Content-Type: [text/xml; charset=UTF-8] Content-Type: [text/xml; charset=UTF-8]
Cookie: [vmware_soap_session="52773cd3-35c6-b40a-17f1-fe664a9f08f3"; Path=/; Cookie: [vmware_soap_session="8fc51e13679819f71dd3e925154d49dcf91f9759"; Path=/;
HttpOnly; Secure;] HttpOnly; Secure;]
SOAPAction: ['"urn:vim25/5.5"'] SOAPAction: ['"urn:vim25/6.0"']
method: POST method: POST
uri: https://vcsa:443/sdk uri: https://vcsa/sdk
response: response:
body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<soapenv:Envelope body: {string: !!python/unicode "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n\
xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n <soapenv:Envelope xmlns:soapenc=\"http://schemas.xmlsoap.org/soap/encoding/\"\
xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\">\n<soapenv:Body>\n<RetrievePropertiesExResponse \n xmlns:soapenv=\"http://schemas.xmlsoap.org/soap/envelope/\"\n xmlns:xsd=\"\
xmlns=\"urn:vim25\"><returnval><objects><obj type=\"SessionManager\">SessionManager</obj><propSet><name>currentSession</name><val http://www.w3.org/2001/XMLSchema\"\n xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\
xsi:type=\"UserSession\"><key>52773cd3-35c6-b40a-17f1-fe664a9f08f3</key><userName>my_user</userName><fullName>My User >\n<soapenv:Body>\n<RetrievePropertiesExResponse xmlns=\"urn:vim25\"><returnval><objects><obj\
</fullName><loginTime>2014-07-23T21:21:18.297208Z</loginTime><lastActiveTime>2014-07-23T21:21:18.297208Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>172.16.16.1</ipAddress><userAgent></userAgent><callCount>1</callCount></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n</soapenv:Body>\n</soapenv:Envelope>"} \ type=\"SessionManager\">SessionManager</obj><propSet><name>currentSession</name><val\
\ xsi:type=\"UserSession\"><key>52ad453a-13a7-e8af-9186-a1b5c5ab85b7</key><userName>VSPHERE.LOCAL\\\
Administrator</userName><fullName>Administrator vsphere.local</fullName><loginTime>2015-10-12T16:18:07.543834Z</loginTime><lastActiveTime>2015-10-12T16:18:07.55457Z</lastActiveTime><locale>en</locale><messageLocale>en</messageLocale><extensionSession>false</extensionSession><ipAddress>10.20.125.215</ipAddress><userAgent></userAgent><callCount>1</callCount></val></propSet></objects></returnval></RetrievePropertiesExResponse>\n\
</soapenv:Body>\n</soapenv:Envelope>"}
headers: headers:
cache-control: [no-cache] cache-control: [no-cache]
connection: [Keep-Alive] connection: [Keep-Alive]
content-length: ['958'] content-length: ['1004']
content-type: [text/xml; charset=utf-8] content-type: [text/xml; charset=utf-8]
date: ['Wed, 23 Jul 2014 21:21:18 GMT'] date: ['Mon, 12 Oct 2015 16:18:07 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

@ -9,6 +9,6 @@ interactions:
headers: headers:
content-length: ['0'] content-length: ['0']
content-type: [text/html] content-type: [text/html]
date: ['Thu, 11 Sep 2014 08:23:36 GMT'] date: ['Fri, 9 Oct 2015 17:38:04 GMT']
status: {code: 200, message: OK} status: {code: 200, message: OK}
version: 1 version: 1

@ -10,6 +10,6 @@ interactions:
connection: [close] connection: [close]
content-length: ['48'] content-length: ['48']
content-type: [text/html] content-type: [text/html]
date: ['Thu, 11 Sep 2014 07:57:56 GMT'] date: ['Fri, 9 Oct 2015 17:38:33 GMT']
status: {code: 404, message: Not Found} status: {code: 404, message: Not Found}
version: 1 version: 1

@ -38,8 +38,7 @@ class ConnectionTests(tests.VCRTestBase):
self.assertEqual(cookie, si._stub.cookie) self.assertEqual(cookie, si._stub.cookie)
# NOTE (hartsock): assertIsNotNone does not work in Python 2.6 # NOTE (hartsock): assertIsNotNone does not work in Python 2.6
self.assertTrue(session_id is not None) self.assertTrue(session_id is not None)
self.assertEqual('52773cd3-35c6-b40a-17f1-fe664a9f08f3', session_id) self.assertEqual('52b5395a-85c2-9902-7835-13a9b77e1fec', session_id)
self.assertTrue(session_id in cookie)
@vcr.use_cassette('basic_connection_bad_password.yaml', @vcr.use_cassette('basic_connection_bad_password.yaml',
cassette_library_dir=tests.fixtures_path, cassette_library_dir=tests.fixtures_path,
@ -63,7 +62,7 @@ class ConnectionTests(tests.VCRTestBase):
session_id = si.content.sessionManager.currentSession.key session_id = si.content.sessionManager.currentSession.key
# NOTE (hartsock): assertIsNotNone does not work in Python 2.6 # NOTE (hartsock): assertIsNotNone does not work in Python 2.6
self.assertTrue(session_id is not None) self.assertTrue(session_id is not None)
self.assertEqual('52773cd3-35c6-b40a-17f1-fe664a9f08f3', session_id) self.assertEqual('52ad453a-13a7-e8af-9186-a1b5c5ab85b7', session_id)
def test_disconnect_on_no_connection(self): def test_disconnect_on_no_connection(self):
connect.Disconnect(None) connect.Disconnect(None)

@ -30,6 +30,7 @@ class ManagedObjectTests(tests.VCRTestBase):
si = connect.SmartConnect(host='vcsa', si = connect.SmartConnect(host='vcsa',
user='my_user', user='my_user',
pwd='my_password') pwd='my_password')
root_folder = si.content.rootFolder root_folder = si.content.rootFolder
self.assertTrue(hasattr(root_folder, 'parent')) self.assertTrue(hasattr(root_folder, 'parent'))
# NOTE (hartsock): assertIsNone does not work in Python 2.6 # NOTE (hartsock): assertIsNone does not work in Python 2.6

@ -60,6 +60,7 @@ class VirtualMachineTests(tests.VCRTestBase):
si = connect.SmartConnect(host='vcsa', si = connect.SmartConnect(host='vcsa',
user='my_user', user='my_user',
pwd='my_password') pwd='my_password')
content = si.RetrieveContent() content = si.RetrieveContent()
virtual_machines = content.viewManager.CreateContainerView( virtual_machines = content.viewManager.CreateContainerView(
content.rootFolder, [vim.VirtualMachine], True) content.rootFolder, [vim.VirtualMachine], True)