Milestone 4.1 Automation with pyvmomi - nicolas-tullio/Tech-Journal GitHub Wiki

Deliverables

Deliverable 1. Figure out how to clone your course git repository. Open the base directory in visual studio code(1), and cover in your video demo a view similar to the one below that also shows a terminal with your mgmt1 IP address(2)

image

Deliverable 2. Demo your own interactive session with vcenter via pyvmomi. Print out an element of the aboutInfo object. Similar to the one below.

image

Deliverable 3. Provide a link to a short video hosted on googledrive or panopto that clearly demonstrates that you've met the following requirements.

https://champlain.instructuremedia.com/embed/d063dbd1-4220-466a-8470-8e684ade5862

Steps

Run the following commands to prep the system for pyvimomi:

image

Run the following python commands to connect to and test vCenter:

image

The Deliverable 3 video includes an explanation of the written code as well as a working demo

Link to code:

https://github.com/nicolas-tullio/Tech-Journal/blob/main/SYS-350/pyvimomi.py

Reflection

Coding is very much not my strong suit so the most difficult part for me was learning and writing in python. Outside of that, I spent the longest time troubleshooting how to direct the VM search to the right path. Overall I enjoyed the assignment and the relief of functioning code.