Find Jobs
Hire Freelancers

Java application to fetch all attached and non attached VMware instances

€30-250 EUR

Cancelled
Posted about 8 years ago

€30-250 EUR

Paid on delivery
Your job is to implement a small tool in Java which collects all vmx files on all mounted Storages of a set of vCenters and ESXi nodes. As soon as you have these set of all attached and not attached .vmx-files, you go again through all vCenters and ESXi nodes and collect all attached instances. These instances may be in any state (shutdown, started, suspended) Create a class [login to view URL] with properties - hostname (can be a DNS name or a IP) - username - password Create a Class VmWareInstance which contains following fields: - full path to the vmx file - hostType (enum for types vCenter or ESXi) - attachedStatus (enum status of the vmware instance if "notAttached" or "attached") - hostName - hostIp - status (enum of status running, shutdown, suspended, ...) - provisionedStorageSpace (in bytes) - usedStorageSpace (in bytes, this value differs from provisioned space only if you create a thin storage/disk) Create a class [login to view URL] which contains: - public Set<VmWareInstance> getInstancesOnStorages(VmWareCredentials) { // fetches all instances on all datastores mounted on a vCenter or ESXi } - public Set<VmWareInstance> getInstancesAttached(VmWareCredentials) { // fetches all instances attached to a vCenter or ESXi } Use following lib for accessing vSphere and ESXi [login to view URL] Also we are fine if you provide us a different suggestion to access vmware, but must work for individual ESXi and also as with vCenter IDE requirements Other requirements - you work with JDK8 - your code uses maven or gradle for libs dependencies (compile&build can be done in IDE, by IDE) - Eclipse Mars project and settings - we share you a git repository for source exchange and our review Formal quality requirements - your code is clean from FindBug issues - your code is cleaned from PMD issues - your code is following checkstyle with sun/oracle rules - your code is fully javadoc valid commented and with checkstyle approved For your proposal: We can share you the code of how to iterate over all active (started, suspended, shutdown) instances of a ESXi and vCenter host. So you have only to extract data via getters from the vijava objects the needed details for already active instances (in public Set<VmWareInstance> getInstancesAttached(VmWareCredentials) )
Project ID: 9959884

About the project

6 proposals
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs

About the client

Flag of GERMANY
Herrenberg, Germany
5.0
56
Payment method verified
Member since Mar 13, 2016

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.