Skip to content

OpenSUSE VM that configures SMIS, Windows Host, Cisco, LDAP, and VPlex simulators for easy Sanity Testing of CoprHD.

License

Notifications You must be signed in to change notification settings

curtbruns/vagrant-coprhd-simulators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

vagrant-coprhd-simulators

Overview

This vagrant environment will download, provision, and launch the simulators that can be used with CoprHD for Sanity Testing. This includes the LDAP Simulator, Cisco MDS Simulator, Windows Host Simulator, VPlex Simuator, and SMIS Storage Simulator.

Requirements

  • vagrant
    • Nice-to-have: vagrant-cachier for caching packages - really speeds up subsequent installs
    • vagrant plugin install vagrant-cachier
  • virtualbox

Usage

  • Modify the Vagrantfile for the Host-only network you want to create/use for Virtual Machine (VM)
  • Launch/Provision the VM
    • vagrant up
  • Note: The first time the VM is launched, all the packages will be downloaded, configured, and deployed. Subsequent boots will only start the already-downloaded simulators and will be much faster. If something goes wrong, you can easily wipe out the VM and start over with 'vagrant destroy' and then 'vagrant up'

Access the VM

  • vagrant ssh

To run Sanity testing on CoprHD against this VM

Modify the sanity.conf (coprhd-controller/tools/tests/conf) file in two areas:

  1. HW_SIMULATOR_IP: Set this to the IP address of this VM, which is set in Vagrantfile
  2. SIMULATOR_CISCO_MDS_PW: Set this to "vagrant" as that is the root password for this VM

To run the quick sanity tests, from the coprhd-controller/tools/tests directory:
% ./sanity conf/sanity.conf <ip_address_of_coprhd> quick
NOTE: If you've changed the System/CoprHD default password of "ChangeMe", you should set the SYSTEM_PASSWORD variable:
% export SYSTEM_PASSWORD=<password>
or:
% SYSTEM_PASSWORD=<password> ./sanity conf/sanity.conf <ip_address_of_coprhd> quick

About

OpenSUSE VM that configures SMIS, Windows Host, Cisco, LDAP, and VPlex simulators for easy Sanity Testing of CoprHD.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages