Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

Infrasim-compute: bare-metal server simulator

Version Downloads

System Basic Requirements

Infrasim package can be installed in any physical machine or virtual machines hosted by Virtualbox, ESXi, Parallel Desktop or cloud provider like AWS, Linode and etc.

The basic installation system requirements are:

  1. Ubuntu Linux 64bit OS (14.04/15.04/16.04)

  2. at least 4GB memory

  3. at least 16GB disk size

Installation

  1. Ensure sources.list integrity then install dependency:

    sudo apt-get update
    sudo apt-get install python-pip libpython-dev libssl-dev libaio-dev
  2. Upgrade pip and install setuptools:

    sudo pip install --upgrade pip
    sudo pip install setuptools
  3. Two ways to install infrasim:

    • install infrasim from source code:

      git clone https://github.com/InfraSIM/infrasim-compute.git
      
      cd infrasim-compute
      
      sudo pip install -r requirements.txt
      
      sudo python setup.py install
    • install infrasim from python library:

      sudo pip install infrasim-compute

Start Infrasim Service

  1. Initialization (you need do it once)

    sudo infrasim init

    Optional arguments:

    • -s, –skip-installation Ignore qemu/openipmi package installation

    • -f, –force Destroy existing Nodes

    • -c [CONFIG_FILE], –config-file [CONFIG_FILE] Use customized yaml file for the default node

    • -t [TYPE], –type [TYPE] Render specified node type for the default node

  2. Infrasim Service Version:

    sudo infrasim version
  3. Infrasim Node Configuration Management:

    • Add configuration mapping to a node

    sudo infrasim config add <node name> <config path>
    • Delete configuration mapping of a node

    sudo infrasim config delete <node name>
    • Update configuration mapping of a node

    sudo infrasim config update <node name> <config path>
    • Edit configuration mapping with environment editor

    sudo infrasim config edit
    • List all configuration mappings

    sudo infrasim config list
  4. Infrasim Service Node Commands

    • Start a node

    sudo infrasim node start [node name]
    • Check node status

    sudo infrasim node status [node name]
    • Stop a node

    sudo infrasim node stop [node name]
    • Restart a node

    sudo infrasim node restart [node name]
    • Stop a node and detroy its runtime workspace

    sudo infrasim node destroy [node name]

    The default node configuration is already added to configuration mapping during infrasim init. In node commands, argument [node name] is optional. If it’s not specified, it’s treated as node “default”.

Notice: You can use VNC to access the emulated legacy hardware, the default VNC port is 5901

Metadata

Release files for infrasim-compute 3.0.3.dev126

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for infrasim-compute 3.0.3.dev126
File Size Uploaded Provenance Actions
infrasim-compute-3.0.3.dev126.tar.gz 239.6 kB Without provenance Details for infrasim-compute-3.0.3.dev126.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for infrasim-compute 3.0.3.dev126
File Interpreter ABI Platform Actions
infrasim_compute-3.0.3.dev126-py2-none-any.whl Python 2 none any Details for infrasim_compute-3.0.3.dev126-py2-none-any.whl

Total release size: 477.0 kB

Release files / infrasim-compute-3.0.3.dev126.tar.gz

Download URL infrasim-compute-3.0.3.dev126.tar.gz
Size 239.6 kB
Tags Source
SHA-256 checksum
How to use checksums
b1355578dac0a88a4f0fc2043d7a5258d8cc373cfebd9d22aff067b311273ea3
BLAKE2b-256 checksum
How to use checksums
c6909cad0fa09a0a6e8a6dee0c2353c2d40ec1beb5e0337eba242a46c9d11dc4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / infrasim_compute-3.0.3.dev126-py2-none-any.whl

Download URL infrasim_compute-3.0.3.dev126-py2-none-any.whl
Size 237.4 kB
Tags Python 2
SHA-256 checksum
How to use checksums
0a59fac08100812b44b527bef2db6c664173afce74fc649ee8abd83287645e1c
BLAKE2b-256 checksum
How to use checksums
ea5c82df14558e6adac37a6f5ef47af8b1d472b12bd9c24d407f547e931197d7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for infrasim-compute 3.0.3.dev126

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page