Skip to content

Commit

Permalink
Renamed repository
Browse files Browse the repository at this point in the history
  • Loading branch information
ralvarep committed Nov 7, 2016
1 parent d4bb63e commit 9f746bc
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 41 deletions.
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
# CORD Project - SDN-IP
# ONOS / CORD Project SDN-IP

This repository provides a set of virtual scenarios to explore the SDN-IP service of the ONOS / CORD Project.

Demo scenarios has been created using [Virtual Networks over linuX (VNX)](http://www.dit.upm.es/~vnx/).

Index:
- [Scenario 1](https://github.com/ralvarep/CORD-SDN-IP#scenario-1-without-sdn-ip-reactive-routing)
- [Scenario 2](https://github.com/ralvarep/CORD-SDN-IP#scenario-2-with-sdn-ip-reactive-routing)
- [Author](https://github.com/ralvarep/CORD-SDN-IP#author)
- [References](https://github.com/ralvarep/CORD-SDN-IP#references)
- [Scenario 1](https://github.com/ralvarep/ONOS-SDN-IP#scenario-1-without-sdn-ip-reactive-routing)
- [Scenario 2](https://github.com/ralvarep/ONOS-SDN-IP#scenario-2-with-sdn-ip-reactive-routing)
- [Author](https://github.com/ralvarep/ONOS-SDN-IP#author)
- [References](https://github.com/ralvarep/ONOS-SDN-IP#references)


## Scenario 1 (without SDN-IP Reactive Routing)

![Scenario1](https://raw.githubusercontent.com/ralvarep/CORD-SDN-IP/master/scenario_1/img/scenario.png)
![Scenario1](https://raw.githubusercontent.com/ralvarep/ONOS-SDN-IP/master/scenario_1/img/scenario.png)

In this scenario you can test SDN-IP application handling the transit traffic (traffic from one BGP peer outside local SDN network traverses local SDN network and goes to another BGP peer).


## Scenario 2 (with SDN-IP Reactive Routing)

![Scenario2](https://raw.githubusercontent.com/ralvarep/CORD-SDN-IP/master/scenario_2/img/scenario.png)
![Scenario2](https://raw.githubusercontent.com/ralvarep/ONOS-SDN-IP/master/scenario_2/img/scenario.png)

In this scenario you can test SDN-IP application handling the use case from scenario 1 and also when:
* One host wants to talk to another host, both two hosts are in SDN network.
Expand Down
2 changes: 1 addition & 1 deletion filesystems/create-rootfs_ubuntu14.04
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#
# Configuration
#
NAME=CORD-SDN-IP
NAME=ONOS-SDN-IP
BASEROOTFSNAME=vnx_rootfs_lxc_ubuntu64-14.04-v025
ROOTFSNAME=$BASEROOTFSNAME-$NAME
ROOTFSLINKNAME="rootfs_lxc_ubuntu64-$NAME"
Expand Down
2 changes: 1 addition & 1 deletion filesystems/create-rootfs_ubuntu16.04
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
#
# Configuration
#
NAME=CORD-SDN-IP
NAME=ONOS-SDN-IP
BASEROOTFSNAME=vnx_rootfs_lxc_ubuntu64-16.04-v025
ROOTFSNAME=$BASEROOTFSNAME-$NAME
ROOTFSLINKNAME="rootfs_lxc_ubuntu64-$NAME"
Expand Down
32 changes: 16 additions & 16 deletions scenario_1/CORD-SDN-IP.xml → scenario_1/ONOS-SDN-IP.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@

<!--
~~~~~~~~~~~~~~~~~~~~~~
|CORD-SDN-IP Scenario|
|ONOS-SDN-IP Scenario|
~~~~~~~~~~~~~~~~~~~~~~
Name: CORD-SDN-IP
Name: ONOS-SDN-IP
Description: Virtual scenario of SDN-IP service (CORD Project)
Description: Virtual scenario of SDN-IP service (ONOS/CORD Project)
Author: Raúl Álvarez Pinilla
-->
Expand All @@ -16,7 +16,7 @@ Author: Raúl Álvarez Pinilla
xsi:noNamespaceSchemaLocation="/usr/share/xml/vnx/vnx-2.00.xsd">
<global>
<version>2.0</version>
<scenario_name>CORD-SDN-IP</scenario_name>
<scenario_name>ONOS-SDN-IP</scenario_name>
<automac/>
<vm_mgmt type="private" network="10.250.0.0" mask="24" offset="0">
<host_mapping />
Expand Down Expand Up @@ -52,7 +52,7 @@ Author: Raúl Álvarez Pinilla

<!-- ONOS -->
<vm name="ONOS" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net100-ctrl">
<ipv4>10.100.10.1/24</ipv4>
Expand All @@ -78,7 +78,7 @@ Author: Raúl Álvarez Pinilla

<!-- Quagga Server -->
<vm name="quagga" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net100-mgmt1">
<ipv4>10.100.11.2/24</ipv4>
Expand All @@ -101,7 +101,7 @@ Author: Raúl Álvarez Pinilla

<!-- CLIENT AS101 -->
<vm name="client-101" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net101">
<ipv4>10.101.0.2/24</ipv4>
Expand All @@ -120,7 +120,7 @@ Author: Raúl Álvarez Pinilla

<!-- CLIENT AS102 -->
<vm name="client-102" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net102">
<ipv4>10.102.0.2/24</ipv4>
Expand All @@ -139,7 +139,7 @@ Author: Raúl Álvarez Pinilla

<!-- CLIENT AS103 -->
<vm name="client-103" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net103">
<ipv4>10.103.0.2/24</ipv4>
Expand All @@ -158,7 +158,7 @@ Author: Raúl Álvarez Pinilla

<!-- ROUTER AS101 -->
<vm name="R-101" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net101">
<ipv4>10.101.0.1/24</ipv4>
Expand Down Expand Up @@ -192,7 +192,7 @@ Author: Raúl Álvarez Pinilla

<!-- ROUTER AS102 -->
<vm name="R-102" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net102">
<ipv4>10.102.0.1/24</ipv4>
Expand Down Expand Up @@ -226,7 +226,7 @@ Author: Raúl Álvarez Pinilla

<!-- ROUTER AS103 -->
<vm name="R-103" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net103">
<ipv4>10.103.0.1/24</ipv4>
Expand Down Expand Up @@ -260,7 +260,7 @@ Author: Raúl Álvarez Pinilla

<!-- S0 in AS100 -->
<vm name="s0" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net100-01"/>
<if id="2" net="net100-02"/>
Expand All @@ -283,7 +283,7 @@ Author: Raúl Álvarez Pinilla

<!-- S1 in AS100 -->
<vm name="s1" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net100-101"/>
<if id="2" net="net100-01"/>
Expand All @@ -306,7 +306,7 @@ Author: Raúl Álvarez Pinilla

<!-- S2 in AS100 -->
<vm name="s2" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net100-102"/>
<if id="2" net="net100-02"/>
Expand All @@ -329,7 +329,7 @@ Author: Raúl Álvarez Pinilla

<!-- S3 in AS100 -->
<vm name="s3" type="lxc" arch="x86_64">
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-CORD-SDN-IP</filesystem>
<filesystem type="cow">../filesystems/rootfs_lxc_ubuntu64-ONOS-SDN-IP</filesystem>
<mem>2G</mem>
<if id="1" net="net100-103"/>
<if id="2" net="net100-03"/>
Expand Down
33 changes: 17 additions & 16 deletions scenario_1/README.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,16 @@
# CORD Project - SDN-IP
This repository provides a virtual scenario to explore the SDN-IP service of the CORD Project.
# ONOS / CORD Project → SDN-IP → Scenario 1

This repository provides a virtual scenario to explore the SDN-IP service of the ONOS / CORD Project.

Demo scenario has been created using [Virtual Networks over linuX (VNX)](http://www.dit.upm.es/~vnx/).

Index:
- [Requirements](https://github.com/ralvarep/CORD-SDN-IP#requirements)
- [Scenario](https://github.com/ralvarep/CORD-SDN-IP#scenario)
- [Usage](https://github.com/ralvarep/CORD-SDN-IP#usage)
- [Notes](https://github.com/ralvarep/CORD-SDN-IP#notes)
- [Author](https://github.com/ralvarep/CORD-SDN-IP#author)
- [References](https://github.com/ralvarep/CORD-SDN-IP#references)
- [Requirements](https://github.com/ralvarep/ONOS-SDN-IP#requirements)
- [Scenario](https://github.com/ralvarep/ONOS-SDN-IP#scenario)
- [Usage](https://github.com/ralvarep/ONOS-SDN-IP#usage)
- [Notes](https://github.com/ralvarep/ONOS-SDN-IP#notes)
- [Author](https://github.com/ralvarep/ONOS-SDN-IP#author)
- [References](https://github.com/ralvarep/ONOS-SDN-IP#references)


## Requirements
Expand All @@ -22,14 +23,14 @@ Index:

## Scenario

![Scenario](https://raw.githubusercontent.com/ralvarep/CORD-SDN-IP/master/scenario_1/img/scenario.png)
![Scenario](https://raw.githubusercontent.com/ralvarep/ONOS-SDN-IP/master/scenario_1/img/scenario.png)


## Usage

**STEP 1: Clone this repository**
~~~
$ git clone https://github.com/ralvarep/CORD-SDN-IP.git
$ git clone https://github.com/ralvarep/ONOS-SDN-IP.git
~~~

**STEP 2: Build filesystem**
Expand All @@ -49,7 +50,7 @@ This step takes about 20-30 min. It will download all the necessary packages of

Move to a specific scenario folder and execute:
~~~
$ sudo vnx -f CORD-SDN-IP.xml -t
$ sudo vnx -f ONOS-SDN-IP.xml -t
~~~
When the scenario is created, you can login to consoles with root:xxxx.

Expand Down Expand Up @@ -142,7 +143,7 @@ speaker1: port=of:0000000000000100/4, vlan=None, peers=[10.100.103.2, 10.100.102

In addition, ONOS GUI is avaible from your host through [http://10.250.0.2:8181/onos/ui/login.html](http://10.250.0.2:8181/onos/ui/login.html). To login karaf:karaf.

![ONOS-GUI](https://raw.githubusercontent.com/ralvarep/CORD-SDN-IP/master/scenario_1/img/ONOS-GUI.jpg)
![ONOS-GUI](https://raw.githubusercontent.com/ralvarep/ONOS-SDN-IP/master/scenario_1/img/ONOS-GUI.jpg)


**STEP 5: Connectivity Test between clients**
Expand All @@ -164,19 +165,19 @@ PING 10.103.0.2 (10.103.0.2) 56(84) bytes of data.

* Launch terminal of some virtual machine
~~~
$ sudo vnx -f CORD-SDN-IP.xml --console -M VM-NAME
$ sudo vnx -f ONOS-SDN-IP.xml --console -M VM-NAME
~~~
* Shutdown scenario
~~~
$ sudo vnx -f CORD-SDN-IP.xml --shutdown
$ sudo vnx -f ONOS-SDN-IP.xml --shutdown
~~~
* Start scenario that has previously been shutdown
~~~
$ sudo vnx -f CORD-SDN-IP.xml --start
$ sudo vnx -f ONOS-SDN-IP.xml --start
~~~
* Destroy scenario
~~~
$ sudo vnx -f CORD-SDN-IP.xml -P
$ sudo vnx -f ONOS-SDN-IP.xml -P
~~~


Expand Down

0 comments on commit 9f746bc

Please sign in to comment.