Skip to content

Commit c0b98c4

Browse files
committedMar 6, 2019
readme...
1 parent 29b8d2f commit c0b98c4

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed
 

‎README.md

+44-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,44 @@
1-
# edgesim
1+
# edgesim
2+
3+
## Mininet Installation
4+
5+
```
6+
git clone https://github.com/mininet/mininet.git
7+
8+
# Follow the instructions in the INSTALL document
9+
# in short
10+
11+
cd mininet
12+
git checkout 2.2.2
13+
sudo util/install.sh -fnv
14+
15+
# Verify that mininet works with
16+
sudo mn --test pingall
17+
sudo mn -c
18+
```
19+
20+
## Running edgesim
21+
22+
The edgesim master is a server that creates the network over mininet
23+
and responds to http requests to change a device's link to a tower.
24+
25+
Start the edgesim master server as follows -
26+
27+
```
28+
sudo python -m edgesim.master.server
29+
```
30+
31+
Once the master brings up the network, either use xterms to access the
32+
device and the registry.
33+
34+
To bring up the registry,
35+
36+
```
37+
python -m edgesim.registry.server
38+
```
39+
40+
To run the client,
41+
42+
```
43+
python -m edgesim.client.main
44+
```

0 commit comments

Comments
 (0)