Skip to content

Instantly share code, notes, and snippets.

@goneri
Last active October 17, 2019 19:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save goneri/bbc31edc21615d0f066a566a421e1ef5 to your computer and use it in GitHub Desktop.
Save goneri/bbc31edc21615d0f066a566a421e1ef5 to your computer and use it in GitHub Desktop.
#!/bin/bash
echo VMware module. Number per type:
echo -n ' pyvmomi: '
ag -H -l PyVmomi lib/ansible/modules/cloud/vmware/v*|wc -l
echo -n ' VMware vSAN Python SDK: '
ag -H -il HAS_VSANPYTHONSDK lib/ansible/modules/cloud/vmware/v*|wc -l
echo -n ' vSphere Automation SDK: '
ag -H -l 'VmwareRestClient' lib/ansible/modules/cloud/vmware/v*|wc -l
echo -n ' Vmware on HTTPAPI (REST): '
find lib/ansible/modules/cloud/vmware_httpapi/ -name 'vmware_*.py'|wc -l
@goneri
Copy link
Author

goneri commented Oct 17, 2019

VMware module. Number per type:
 pyvmomi: 120
 VMware vSAN Python SDK: 1
 vSphere Automation SDK: 12
 Vmware on HTTPAPI (REST): 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment