Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/macropower/docker-vcsim

Simulates either a vCenter server or an ESXi server
https://github.com/macropower/docker-vcsim

docker esxi-server simulator vcenter vcenter-api vcenter-server vmware-esxi vmware-vcenter vmware-vsphere vsphere vsphere-sdk

Last synced: 28 days ago
JSON representation

Simulates either a vCenter server or an ESXi server

Awesome Lists containing this project

README

        

# vCenter / ESXi API Simulator

This package implements a vSphere Web Services (SOAP) SDK endpoint intended for testing consumers of the API.

[![Docker Pulls](https://img.shields.io/docker/pulls/macropower/vcsim.svg)](https://hub.docker.com/r/macropower/vcsim/builds/) [![Docker Build](https://img.shields.io/docker/cloud/build/macropower/vcsim)](https://hub.docker.com/r/macropower/vcsim/builds/) [![](https://images.microbadger.com/badges/image/macropower/vcsim.svg)](https://microbadger.com/images/macropower/vcsim "Get your own image badge on microbadger.com")

## Starting the simulator

The simulator can simulate either a vCenter server (default) or an ESXi server.

### Run simulator as a vCenter server

Start with default settings as a vCenter server

docker run -d -p 8989:8989 macropower/vcsim

or

docker run -d -p 8989:8989 macropower/vcsim --vcenter

### Run simulator as a ESXi server

Start with default settings as a ESXi server

docker run -d -p 8989:8989 macropower/vcsim --esxi

## Options

-E, --esxi Simulate ESXi host
-V, --vcenter Simulate vCenter host (default)
-a, -apps (num) Number of virtual apps per compute resource
-c, --clusters (num) Number of clusters (default 1)
--dc, --data-centers (num) Number of datacenters (default 1)
--ds, --data-stores (num) Number of local datastores (default 1)
-f, --folders (num) Number of folders
--hosts (num) Number of hosts per cluster (default 3)
--pg, --port-groups (num) Number of port groups (default 1)
--pod, --storage-pods (num) Number of storage pods per datacenter
--pool, --resource-pools (num) Number of resource pools per compute resource
--sh, --standalone-host (num) Number of standalone hosts (default 1)
--trace Trace SOAP
--vm, --virtual-machines (num) Number of virtual machines per resource pool (default 2)

### Credit

Based on works by m451 and nimmis.