Prerequisites
Developing with the RackHD Docker files and infrsaim requires the use to have Docker and Docker-compose installed (https://www.docker.com). This environment will use a virtual open switch to connect the Docker RackHD instance to the virutal nodes from Infrasim. This requires virtual openswitch to be installed (http://openvswitch.org)
Fetching and building RackHD source code
The first step is to clone all of the RackHD code to your local workstation. You need to perform a recursive clone to ensure all the submodules have been initailzed.
Clone RackHD source code:git clone --recursive http://github.com/rackhd/rackhd
Set the TAG environment variable, this is the tag used by the docker-compose scripts for the rackhd images. This write-up uses the tag "latest", which points to the most recent RackHD release, however any valid tag from the RackHD dockerhub can be used.
titleexport TAG=latest
- Set up network enviroment
- pull rackhd images from dockerhub
- (optional) build rackhd code
- start rackhd
- start vNode