Giter Club home page Giter Club logo

vmware-workstation-api-client's Introduction

API client to VmWare Workstation

In this project we created a basic client to interact with the VmWare Workstation API in its version of Linux

Use quickly:

For the fastest users, this is the way to start:

  • Clone the repository
git clone https://github.com/elsudano/vmware-workstation-api-client.git
mv config.example config.ini
  • Set the necessary values inside the config.ini file
User: 
Password: 
ParentId: F76OJJ66M052TJE435D3AB69ORP6SAFR
BaseURL: https://localhost:8697/api
Debug: false
  • For normal use, We have created a Makefile with some commands to help us, with make show in screen the usage help.
$ make
api_start                      Prepare environment for you can use a API REST of VmWare Workstation Pro and generate files for SSL
api_status                     Check if the API is work ir not
api_stop                       Stop a API REST server of VmWare Workstation
api_test                       Test API client and list all virtual machine of VmWare Workstation
build                          Build the binary of the module
clean                          Clean the project, this only remove default config of API REST VmWare Workstation Pro, the cert, private key and binary
  • The follow step it's run the next command to create a SSL certificates and start the API with the values that you setting in config.ini
$ make start_api_rest
Generating a RSA private key
..........++++
writing new private key to 'workstationapi-key.pem'
-----
User: xxxxxxx
Password: xxxxxxx
BaseURL: https://localhost:8697/api
Debug: false
VMware Workstation REST API
Copyright (C) 2018-2020 VMware Inc.
All Rights Reserved

vmrest 1.2.1 build-16341506
Username:xxxxxxx
New password:xxxxxxx
Retype new password:
Processing...
Credential updated successfully
  • Finally to testing if the client works, run the follow command:
$ make api_test
  • The reult of the previous command it's a list of vms that you have in the VmWare Workstation

1. Pre-Requisites

VmWare Workstation 14 or higher is required

vmware-workstation-api-client's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.