Merge "Lispflowmapping - user guide - clustering information."
[docs.git] / manuals / user-guide / src / main / asciidoc / nic / NIC_requirements.adoc
1 ==== Default Requirements
2
3 Start mininet, and create three switches (s1, s2, and s3) and four hosts (h1, h2, h3, and h4) in it.
4
5 Replace <Controller IP> based on your environment.
6
7 ----
8 $  sudo mn --mac --topo single,2 --controller=remote,ip=<Controller IP>
9 ----
10
11 ----
12  mininet> net
13  h1 h1-eth0:s2-eth1
14  h2 h2-eth0:s2-eth2
15  h3 h3-eth0:s3-eth1
16  h4 h4-eth0:s3-eth2
17  s1 lo:  s1-eth1:s2-eth3 s1-eth2:s3-eth3
18  s2 lo:  s2-eth1:h1-eth0 s2-eth2:h2-eth0 s2-eth3:s1-eth1
19  s3 lo:  s3-eth1:h3-eth0 s3-eth2:h4-eth0 s3-eth3:s1-eth2
20 ----
21
22 ==== Downloading and deploy Karaf distribution
23 * Get the Beryllium distribution.
24
25 * Unzip the downloaded zip distribution.
26
27 * To run the Karaf.
28 ----
29 ./bin/karaf
30 ----
31
32 * Once the console is up, type as below to install feature.
33 ----
34 feature:install odl-nic-core-mdsal odl-nic-console odl-nic-listeners
35 ----