Metadata-Version: 2.0
Name: infrasim-compute
Version: 3.5.0
Summary: Bare-metal server simulator
Home-page: http://www.emc.com
Author: EMC
Author-email: infrasim.dev@emc.com
License: 'Apache 2.0'
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Environment :: Console
Classifier: Intended Audience :: Information Technology
Classifier: License :: OSI Approved :: Apache Software License
Classifier: Operating System :: POSIX :: Linux
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Requires-Dist: MarkupSafe (==0.23)
Requires-Dist: cffi (==1.7.0)
Requires-Dist: coverage (>=3.6)
Requires-Dist: ecdsa (==0.13)
Requires-Dist: enum34 (==1.1.6)
Requires-Dist: idna (==2.1)
Requires-Dist: ipaddress (==1.0.16)
Requires-Dist: jinja2 (==2.9)
Requires-Dist: nose (==1.3.7)
Requires-Dist: nose-cov (==1.6)
Requires-Dist: paramiko (==2.0.1)
Requires-Dist: pyasn1 (==0.1.9)
Requires-Dist: pycparser (==2.14)
Requires-Dist: pycrypto (==2.6.1)
Requires-Dist: pyyaml (==3.11)
Requires-Dist: requests (==2.11.1)
Requires-Dist: six (==1.10.0)
Requires-Dist: ssh (==1.8.0)
Requires-Dist: texttable (==0.8.7)

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**

.. |Version| image:: https://img.shields.io/pypi/v/infrasim-compute.svg
   :target: https://pypi.python.org/pypi/infrasim-compute
.. |Downloads| image:: https://img.shields.io/pypi/dm/infrasim-compute.svg
   :target: https://pypi.python.org/pypi/infrasim-compute



