Skip to content

Commit

Permalink
Installation documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
jadinm committed Jul 19, 2019
1 parent 1dd20ed commit 8a408f4
Showing 1 changed file with 66 additions and 0 deletions.
66 changes: 66 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,69 @@ IP addresses or router configuration files, ...

[ipmininet/examples/README](ipmininet/examples/README.md)
contains a description of the examples that come with this library.

## Installation

### Virtual Machine

We maintain a [vagrant box](https://app.vagrantup.com/ipmininet/boxes/ubuntu-16.04)
packaged with all the daemons.
To use it, first install [Vagrant](https://www.vagrantup.com/downloads.html)
and [Virtualbox](https://www.virtualbox.org/wiki/Downloads)
and then, execute the following commands:
```bash
$ vagrant init ipmininet/ubuntu-16.04
$ vagrant up
```
This will create the VM. To access the VM with SSH, just issue the
following command in the same directory as the two previous one:
```bash
$ vagrant ssh
```

### Manual installation from sources

To manually install IPMininet from source, first get the source code:

```bash
$ git clone https://github.com/cnp3/ipmininet.git
$ cd ipmininet
$ git checkout <version>
```

Then, install IPMininet, Mininet and all the daemons:

```bash
$ sudo python util/install.py -iamf
```

You can choose to install only a subset of the daemons
by changing the options on the installation script.
For the option documentations, use the ``-h`` option.

### Manual installation from PyPI

Install Mininet by following its
[documentation](http://mininet.org/download/).

Then, you can download and install IPMininet.

```bash
$ sudo pip install ipmininet
```

Finally, you can install all the daemons:

```bash
$ sudo python util/install.py -af
```

You can choose to install only a subset of the daemons
by changing the options on the installation script.
For the option documentations, use the ``-h`` option.

## Contributions

If you want to contribute, feel free to open a Pull Request.
[ipmininet/tests/README](ipmininet/tests/README.md)
contains the instructions to run the test suite of the library.

0 comments on commit 8a408f4

Please sign in to comment.