Add it to PyPi to install/update in one command (python3 -m pip install -U python-vplex)
Can you add can a simple exemple in README.md (like how connect with/wihout cert to a VPlex cluster and list /clusters maybe how to call a claim command
In brief, to get the list of clusters below is the playbook task and we have a common module to get the list of VPLEX storage entities called “dellemc_vplex_gatherfacts”
# Gather Facts
---
- name: List the storage objects of VPLEX
hosts: localhost
connection: local
vars:
# Variable parameters
vplexhost: <**************>
vplexuser: <**************>
vplexpassword: <**************>
# Constant parameters
verifycert: false # Sample one to access VPLEX cluster without cert
tasks:
- name: List of clusters in VPLEX
dellemc_vplex_gatherfacts:
vplexhost: "{ { vplexhost }}"
vplexuser: "{ { vplexuser }}"
vplexpassword: "{ { vplexpassword }}"
verifycert: "{ { verifycert }}"
register: clusters
To access the VPLEX with cert set to True, we need to include “ssl_ca_cert” parameter in the task and details on how to retrieve CA certificate is covered in the Product guide under the section “Steps to retrieve CA certificate from VPLEX”
Anil_Degwekar
13 Posts
976
0
Posted February 17th, 2021 04:00
Hi,
Currently this python library is primarily to be used with the Ansible modules for VPLEX:
https://github.com/dell/ansible-vplex
You will find detailed instructions on how to use the Ansible modules for VPLEX at this location.
Regards
Anil