Skip to content

Commit 9915419

Browse files
committed
simplify the installation process
1 parent 06043ae commit 9915419

File tree

227 files changed

+5
-102453
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

227 files changed

+5
-102453
lines changed

README.md

+4-6
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,15 @@ Then log into the router container with
3737
sudo docker run exec -it router1 bash
3838
```
3939

40-
Download and install the same version of RDMA libraries and drivers as the host machine.
40+
Download and install RDMA libraries and drivers in router container.
4141
Currently, Freeflow is developed and tested with "MLNX_OFED_LINUX-4.0-2.0.0.1-ubuntu14.04-x86_64.tgz"
4242
You can download it from http://www.mellanox.com/page/products_dyn?product_family=26.
4343

44-
Then, build the code in libraries-router/librdmacm-1.1.0mlnx/, and install the library to /usr/lib/ (which is default).
44+
Then, build the code using the script build-router.sh. In ffrouter/, start the router by running "./router router1".
4545

46-
Finally, build the code of ffrouter/ with "build.sh" in the source folder and run "./router router1".
46+
Step 2: Repeat Step 1 to start the router in other hosts. You can capture a Docker image of router1 for avoiding repeating the installations and building.
4747

48-
Step 2: Repeat Step 1 to start router in other hosts. You can capture a Docker image of router1 for avoiding repeating the installations and building.
49-
50-
Step 3: Start a customer container on the same host as router1
48+
Step 3: Start an application container on the same host as router1
5149
```
5250
sudo docker run --name node1 --net weave -e "FFR_NAME=router1" -e "FFR_ID=10" -e "LD_LIBRARY_PATH=/usr/lib" -e --ipc=container:router1 -v /sys/class/:/sys/class/ -v /freeflow:/freeflow -v /dev/:/dev/ --privileged --device=/dev/infiniband/uverbs0 --device=/dev/infiniband/rdma_cm -it -d ubuntu /bin/bash
5351
```

build-router.sh

+1-13
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,4 @@
1-
cd libraries-router/libmlx4-1.2.1mlnx1/
2-
./autogen.sh
3-
./configure --prefix=/usr/ --libdir=/usr/lib/ --sysconfdir=/etc/
4-
make
5-
make install
6-
7-
cd ../libibverbs-1.2.1mlnx1/
8-
./autogen.sh
9-
./configure --prefix=/usr/ --libdir=/usr/lib/ --sysconfdir=/etc/
10-
make
11-
make install
12-
13-
cd ../librdmacm-1.1.0mlnx/
1+
cd libraries-router/librdmacm-1.1.0mlnx/
142
./autogen.sh
153
./configure --prefix=/usr/ --libdir=/usr/lib/ --sysconfdir=/etc/
164
make

libraries-router/libibverbs-1.2.1mlnx1/.gitignore

-17
This file was deleted.

libraries-router/libibverbs-1.2.1mlnx1/.gitreview

-5
This file was deleted.

libraries-router/libibverbs-1.2.1mlnx1/AUTHORS

-4
This file was deleted.

libraries-router/libibverbs-1.2.1mlnx1/COPYING

-378
This file was deleted.

0 commit comments

Comments
 (0)