Git Product home page Git Product logo

docker-vcsim's Introduction

vCenter and ESi API based simulator

This package implements a vSphere Web Services (SOAP) SDK endpoint intended for testing consumers of the API. While the package is written in the Go language, it can be used by any language that can talk to the vSphere API.

Starting the simulator

The simulator can simulate either a vCenter server or an ESXi server, starting it with default values assumes vCenter server.

Run simulator as a vCenter server

Start it with default settings as a vCenter server

docker run -d -p 443:443 nimmis/vcsim

or

docker run -d -p 443:443 nimmis/vcsim -vcenter

Run simulator as a ESXi server

Start it with default settings as a ESXi server

docker run -d -p 443:443 nimmis/vcsim -esxi

docker-vcsim's People

Contributors

ltuits avatar mdelapenya avatar nimmis avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

docker-vcsim's Issues

400 Bad Request when connecting with VMware PowerCLI 11.0.0 build 10380590

I have your vcsim Docker image running as a test but am unable to connect to it via PowerCLI to test PowerCLI connections and scripts.

I'm running on the nimmis/vcsim:latest version on an Ubuntu VM based Docker host.
If I browse https:///about I get the correct list of available end points.
If I use govc it can also connect no problem.

My bet is that PowerCLI 11.0 is doing a request that is not implemented but I am unaware of how to check which request is failing to get closer to the issue.

Any ideas?

Get-NetworkAdapter issue

Hi, I might have found an issue/bug that probably is not related directly to vcsim, but maybe you know a workaround.

I implemented vcsim in my repo, which basically automates and test scripts before running them, and vcsim is the testing environment. Works like a charm, just the PoweCLI command Get-NetworkAdapter it's not recognized:

PS /Users/ale/Documents/PowerTEST> ./viexec.ps1 stoppednics localhost DC0_C0

Name                           Port  User
----                           ----  ----
localhost                      443   a
Get-NetworkAdapter: /Users/ale/Documents/PowerTEST/scripts/stoppednics.ps1:11
Line |
  11 |  Get-VM | % { $strVMName = $_.Name; Get-NetworkAdapter -VM $_ | ` sele …
     |                                     ~~~~~~~~~~~~~~~~~~~~~~~~~
     | 04/30/2021 11:02:35 Get-NetworkAdapter  The given key 'config.type' was not present in the dictionary.

Is this a limitation of the SOAP?

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.