###Prerequisite
To get started install these softwares on your host
machine:
-
Install Vagrant, it is a wrapper around virtualization softwares like VirtualBox, VMWare etc.: http://www.vagrantup.com/downloads
-
Install VirtualBox, this would be your VM provider: https://www.virtualbox.org/wiki/Downloads
-
Install Git, it is a distributed version control system: https://git-scm.com/downloads
-
Install X Server and SSH capable terminal
###Basics
- Clone the
iSDX
repository from Github:
$ git clone https://github.com/philippmao/iSDX.git
- Change the directory to
iSDX
:
$ cd iSDX
- Now run the vagrant up command. This will read the Vagrantfile from the current directory and provision the VM accordingly:
$ vagrant up
The provisioning scripts will install all the required software (and their dependencies) to run the SDX demo. Specifically it will install:
Now Perl Net::BGP needs to be installed, connect to the VM via ssh and use the commands:
$ sudo perl -MCPAN -e shell
$ install Net::BGP
$ exit
Run the setup provided in the examples directory. Check out the examples folder for a simple case with three IXP participants.
The top level directories are:
- Source code:
pctrl
- Participant Controller componentxctrl
- Central Controller component (runs at startup to load initial switch rules)arproxy
- ARP Relay componentxrs
- BGP Relay componentflanc
- Fabric Manager component (a.k.a. 'refmon')util
- Common codeexamples
- Working examplestest
- Test Framework and example testsvisualization
- Tools for visualizing iSDX flowssetup
- Scripts run from the Vagrantfile when the VM is createdbin
- Utility scripts