{"id":282,"date":"2015-06-05T12:36:40","date_gmt":"2015-06-06T04:36:40","guid":{"rendered":"http:\/\/vspherestorage.com\/?p=282"},"modified":"2015-06-05T12:36:41","modified_gmt":"2015-06-05T20:36:41","slug":"utilizando-la-vmware-vsphere-api-a-traves-de","status":"publish","type":"post","link":"https:\/\/vspherestorage.com\/?p=282","title":{"rendered":"Utilizando la #VMware vSphere API a trav\u00e9s de&#8230;"},"content":{"rendered":"<p>Utilizando la #VMware vSphere API a trav\u00e9s de #Python con PySphere by @drsromero<\/p>\n<p><a href='http:\/\/vmw.re\/1Gpr2cc' target='_blank'><img src='https:\/\/d3utlhu53nfcwz.cloudfront.net\/171901\/cdnImage\/article\/4e7e5c6e-6c7e-470a-a5f0-bd0634b72cd5\/?size=Box320'><\/a><\/p>\n<h4><a href='http:\/\/vmw.re\/1Gpr2cc' style='text-decoration: none;' target='_blank'>Utilizando la #VMware vSphere API a trav\u00e9s de&#8230;<\/a><\/h4>\n<p>Hace poco os habl\u00e9 de c\u00f3mo usar la VMware vSphere API a trav\u00e9s de Python con pyVmomi, esta semana he tenido que realizar una serie de scripts, para conseguir informaci\u00f3n de forma sencilla de un datacenter y utilizar este m\u00f3dulo de Python era algo engorroso, que no quiere decir dif\u00edcil. Investigando, me he encontrado con PySphere. Este m\u00f3dulo, simplifica mucho la sintaxis facilitando la forma de interactuar con la API de vSphere, hoy os voy a explicar c\u00f3mo he realizado un script para determinar si dos m\u00e1quinas virtuales se encuentran en un mismo host. La instalaci\u00f3n de PySphere es tan sencilla como cualquier otro m\u00f3dulo en Python, puede ser instalado de la siguiente forma: O de forma manualwget&#8230;<a href='http:\/\/vmw.re\/1Gpr2cc' target='_blank'>Read More<\/a><\/p>\n<hr \/>\n<p><a href='http:\/\/advocacy.vmware.com' target='_blank'>VMware Advocacy<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Utilizando la #VMware vSphere API a trav\u00e9s de #Python con PySphere by @drsromero Utilizando la #VMware vSphere API a trav\u00e9s de&#8230; Hace poco os habl\u00e9 de c\u00f3mo usar la VMware vSphere API a trav\u00e9s de Python con pyVmomi, esta semana he tenido que realizar una serie de scripts, para conseguir informaci\u00f3n de forma sencilla de [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1],"tags":[],"class_list":["post-282","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p4m26N-4y","jetpack-related-posts":[{"id":3777,"url":"https:\/\/vspherestorage.com\/?p=3777","url_meta":{"origin":282,"position":0},"title":"C\u00f3mo automatizar un entorno #VMware vSphere con&#8230;","author":"Mostafa Khalil","date":"11 years ago","format":false,"excerpt":"C\u00f3mo automatizar un entorno #VMware vSphere con #Ansible by @drsromeroC\u00f3mo automatizar un entorno #VMware vSphere con...La semana pasada os expliqu\u00e9 c\u00f3mo podiamos crear una relaci\u00f3n de confianza entre hosts ESXi y un servidor Linux, muchos de ustedes os preguntabais que utilidad ten\u00eda, realmente era sencillo, en ese servidor tengo instalado\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":11461,"url":"https:\/\/vspherestorage.com\/?p=11461","url_meta":{"origin":282,"position":1},"title":"Getting Started with Datacenter CLI &#8211; VMware&#8230;","author":"Mostafa Khalil","date":"11 years ago","format":false,"excerpt":"Getting Started with Datacenter CLI - VMware vSphere BlogGetting Started with Datacenter CLI - VMware...Datacenter Command-Line Interface (DCLI) is one of vSphere\u2019s newest CLIs. DCLI works exclusively with the vSphere Automation API (REST API for vSphere) to provide both an interactive and scriptable mode to monitor and manage all features\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":2850,"url":"https:\/\/vspherestorage.com\/?p=2850","url_meta":{"origin":282,"position":2},"title":"Unable to Connect to vCenter Inventory Service","author":"Mostafa Khalil","date":"11 years ago","format":false,"excerpt":"Unable to Connect to vCenter Inventory ServiceUnable to Connect to vCenter Inventory ServiceWhen I was doing a demo today, I got an error saying \u201cAn internal error has occurred \u2013 Error #1099. Reloading the client is recommended, so as to clear any problems left by this error. Click Yes to\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":660,"url":"https:\/\/vspherestorage.com\/?p=660","url_meta":{"origin":282,"position":3},"title":"C\u00f3mo instalar Openstack en VMware Workstation","author":"Mostafa Khalil","date":"11 years ago","format":false,"excerpt":"Install @Mirantis #Openstack in #VMware Workstation by @drsromeroC\u00f3mo instalar Openstack en VMware WorkstationHace ya meses publiqu\u00e9 la Guia de como instalar Mirantis OpenStack , la cual estaba basada en una instalaci\u00f3n en Linux con los scripts que provee Mirantis para una instalaci\u00f3n automatizada. Como hay mucha gente que le gusta\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3396,"url":"https:\/\/vspherestorage.com\/?p=3396","url_meta":{"origin":282,"position":4},"title":"Los dominios de fallos en vSAN 6","author":"Mostafa Khalil","date":"11 years ago","format":false,"excerpt":"Los dominios de fallos en #vSAN 6Los dominios de fallos en vSAN 6Los dominios de fallos en vSAN 6\u00bfC\u00f3mo crear un plan de contingencia con VMware vSphere? Parte 3\/5VMware View Auto-Connection Utility para reutilizar nuestros viejos Desktops\u00bfC\u00f3mo aportar capacidad en vSAN v\u00eda ESXCLI?\u00bfC\u00f3mo crear un plan de contingencia con VMware\u2026","rel":"","context":"In &quot;VSAN&quot;","block_context":{"text":"VSAN","link":"https:\/\/vspherestorage.com\/?cat=11"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4189,"url":"https:\/\/vspherestorage.com\/?p=4189","url_meta":{"origin":282,"position":5},"title":"\u00bfC\u00f3mo dise\u00f1ar una infraestructura vSAN?","author":"Mostafa Khalil","date":"11 years ago","format":false,"excerpt":"\u00bfC\u00f3mo dise\u00f1ar una infraestructura #vSAN?\u00bfC\u00f3mo dise\u00f1ar una infraestructura vSAN?Etiquetas: \u00bfC\u00f3mo dise\u00f1ar una infraestructura vSAN? Anterior\u00bfC\u00f3mo crear un plan de contingencia con VMware vSphere? Parte 4\/5 Es especialista en Virtualizaci\u00f3n de Sistemas en JMG Virtual Consulting, S.L.. Leo es VMware Certified Professional, VMware Certified Instructor (VCI), VMware vExpert 2013, 2014 &\u2026","rel":"","context":"Similar post","block_context":{"text":"Similar post","link":""},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_likes_enabled":true,"_links":{"self":[{"href":"https:\/\/vspherestorage.com\/index.php?rest_route=\/wp\/v2\/posts\/282","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vspherestorage.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vspherestorage.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vspherestorage.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vspherestorage.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=282"}],"version-history":[{"count":1,"href":"https:\/\/vspherestorage.com\/index.php?rest_route=\/wp\/v2\/posts\/282\/revisions"}],"predecessor-version":[{"id":283,"href":"https:\/\/vspherestorage.com\/index.php?rest_route=\/wp\/v2\/posts\/282\/revisions\/283"}],"wp:attachment":[{"href":"https:\/\/vspherestorage.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=282"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vspherestorage.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=282"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vspherestorage.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=282"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}