際際滷

際際滷Share a Scribd company logo
ONOS SDN Controller
れ 覿 覦 SDN 螳覦
Mobile Convergence Lab, Computer Engineering,
Kyung Hee University
Sangyun Han
Email : sangyun0628@khu.ac.kr
SDN/NFV 企, れ, 豕
[ONOS 蟆曙れ, 觜 覦 ろ 蟆 蟲豢]
Setting
Mobile Convergence Laboratory 2
覈谿
A Table of Contents
Install
Test
蟆曙れ
螳襾語 , ろ語 蟆 れ
譟伎SW れ 覦 觜
蟯 ろ れ 覦 覲 れ, 觜
ろ 蟆 蟲豢
SDN 貉碁, ろ碁ゼ  覓朱Μ 覦 螳 蟆 
Q&A
讌
Prerequisites
 Ubuntu 14.04 LTS 64bits
 2GB or more RAM
 2 or more processors
 8GB or more storage
 Java 8 JDK
 Apache Maven(3.3.9 and later)
 Apache Karaf(3.0.5 and later)
 Git
Mobile Convergence Laboratory 3
螻給 VM instance
 Ubuntu 14.04 LTS
 2GB memory
 12GB hard disk
(dynamic allocation)
 eth0 NAT / eth1 host-only
 username : sdn
 password : mclab
Mobile Convergence Laboratory 4
Setting
1. Installing VM
2. Creating VM instance
3. Configuring network option
Mobile Convergence Laboratory 5
Virtual Box
 Virtual Box れ企 覦 れ
 https://www.virtualbox.org/wiki/Downloads
 Ubuntu れ
 www.ubuntu.com/download/desktop
Mobile Convergence Laboratory 6
Set VM (1/2)
Mobile Convergence Laboratory 7
 螳襾語  覦 Ubuntu れ
Set VM (2/2)
 ろ 
 豕  螻糾 8GB
 Ubuntu OS  螻糾 + 留
Mobile Convergence Laboratory 8
Install Ubuntu (1/2)
Mobile Convergence Laboratory 9
Install Ubuntu (2/2)
 username : sdn // れ 語ろ伎 れ  
Mobile Convergence Laboratory 10
VM Network Setting
 れ 竪 ろ語 竪 企 1 竪 NAT
 For connecting internet
 れ 竪 ろ語 竪 企 2 竪 語ろ  企
 For communicating ONOS cluster member
11
Structure of Machines
 れ 語ろ伎 れ ,  襾語れ 蟲譟
Mobile Convergence Laboratory 12
Internet
Physical machine
Virtual machine Virtual machine Virtual machine
Instance 1 Instance 2 Instance 3
Eth0 Eth1 Eth0 Eth1 Eth0 Eth1
Host-Only Network
Structure of Machines
 れ 語ろ伎 れ ,  襾語れ 蟲譟
Mobile Convergence Laboratory 13
Internet
Physical machine
Virtual machine Virtual machine Virtual machine
Instance 1 Instance 2 Instance 3
Eth0 Eth1 Eth0 Eth1 Eth0 Eth1
Host-Only Network
 れ 譴
語ろ伎 Instance Duplication
ONOS - Install
Single Instance setting
1. Getting ONOS
2. Installing ONOS
3. Start ONOS
Mobile Convergence Laboratory 14
https://wiki.onosproject.org/display/ONOS/Installing+and+Running+ONOS
1. Install Java 8
$ sudo apt-get install software-properties-common -y
$ sudo add-apt-repository ppa:webupd8team/java -y
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer oracle-java8-set-default
Mobile Convergence Laboratory 15
Single Instance Setting (1/10)
1. Install Java 8
Mobile Convergence Laboratory 16
Single Instance Setting (1/10)
 Java8 殊伎
2. Configure Java Path
 on Ubuntu
$ env | grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java-8-oracle
$ export JAVA_HOME=/usr/lib/jvm/java-8-oracle
Mobile Convergence Laboratory 17
Single Instance Setting (2/10)
3. Install Git
$ sudo apt-get install git-core
$ git --version
Mobile Convergence Laboratory 18
Single Instance Setting (3/10)
4. Set Maven
$ cd; mkdir Downloads Applications
$ cd Downloads
$ wget http://archive.apache.org/dist/maven/maven-
3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
$ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/
Mobile Convergence Laboratory 19
Single Instance Setting (4/10)
4. Set Maven
$ cd; mkdir Downloads Applications
$ cd Downloads
$ wget http://archive.apache.org/dist/maven/maven-
3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz
$ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/
Mobile Convergence Laboratory 20
Single Instance Setting (4/10)
譴!
static path
5. Set Karaf
$ cd Downloads
$ wget http://archive.apache.org/dist/karaf/3.0.5/apache-karaf-
3.0.5.tar.gz
$ tar -zxvf apache-karaf-3.0.5.tar.gz -C ../Applications/
Mobile Convergence Laboratory 21
Single Instance Setting (5/10)
6. Clone ONOS
$ cd ~/
$ git clone https://gerrit.onosproject.org/onos/
$ cd onos
if> getting specific ONOS version
$ git checkout onos-1.5
Mobile Convergence Laboratory 22
Single Instance Setting (6/10)
7. Configure ONOS Path
$ export ONOS_ROOT=~/onos
$ source $ONOS_ROOT/tools/dev/bash_profile
Mobile Convergence Laboratory 23
Single Instance Setting (7/10)
# add bash
sudo vi /etc/bash.bashrc
export ONOS_ROOT=~/onos
source $ONOS_ROOT/tools/dev/bash_profile
8. Build ONOS
$ cd ~/onos
$ mvn clean install
Mobile Convergence Laboratory 24
觜 炎概
Single Instance Setting (8/10)
9. Start ONOS CLI
$ ok clean
Mobile Convergence Laboratory 25
Single Instance Setting (9/10)
10. Start ONOS GUI
 start ONOS (ONOS CLI)
 In web browser
 http://localhost:8181/onos/ui/login.html
Default ID: karaf / PW: karaf
Mobile Convergence Laboratory 26
Single Instance Setting (10/10)
Mobile Convergence Laboratory 27
Mobile Convergence Laboratory 28
Activate ONOS app
onos> app activate <APP_NAME>
onos> app deactivate <APP_NAME>
Mobile Convergence Laboratory 29
Test
1. mininet 伎 螳 ろ 蟆 蟲豢
2. Open vSwitch襯 伎 覓朱Μ ろ 蟆 蟲豢
Mobile Convergence Laboratory 30
Mininet
 Open source ろ語 覡危
 ろ語 ろ, 覯蟾 煙 襦 螳
  Linux kernel  覦 螳 螳 host, switch, router 蟲豢
 螳 node Linux sw襯 ろ螳
 wireshark, tcpdump, web server, etc
 OpenFlow 讌
 Python API襯 伎 custom topology 
Mobile Convergence Laboratory 31
1. mininet 伎 螳 ろ 蟆 蟲豢 (1/6)
mininet れ
 Ubuntu package
 $ apt-get install mininet
 $ sudo mn
 Source build
 $ git clone git://github.com/mininet/mininet.git
 $ ./mininet/util/install.sh -nfw
 $ sudo mn
Mobile Convergence Laboratory 32
1. mininet 伎 螳 ろ 蟆 蟲豢 (2/6)
启讌  覦 ONOS 磯
 mininet 伎 tree 启讌 
 // OpenFlow 1.0 蟆曙, 6633 碁ゼ , ONOS OpenFlow 1.0螻 1.3襷 讌
 $ sudo mn -- [topology][,depth=][,fanout=]
 $ sudo mn --topo tree,2,3 --controller=remote,ip=127.0.0.1,port=6633
Mobile Convergence Laboratory 33
1. mininet 伎 螳 ろ 蟆 蟲豢 (3/6)
Python 伎
mininet 貉れろ
启讌
ping test & host discovery
mininet> pingall
Mobile Convergence Laboratory 34
襷 SDN controlle襯
磯讌 る
pingall ろ 
unreachable 覓語 覦
( 覓語)
1. mininet 伎 螳 ろ 蟆 蟲豢 (4/6)
ping test & host discovery
Mobile Convergence Laboratory 35
1. mininet 伎 螳 ろ 蟆 蟲豢 (5/6)
mininet tool
 xterm
 node terminal 
 xterm <node_name>
 ifconfig
 <node_name> ifconfig
 ping
 <src_node_name> ping <dst_node_name>
 net
 node螳 郁屋 覲 豢
Mobile Convergence Laboratory 36
1. mininet 伎 螳 ろ 蟆 蟲豢 (6/6)
Open vSwitch襯 伎 覓朱Μ ろ 蟆 蟲豢
 PC/Server/RaspberryPi襯 蠍磯朱 OpenFlow れ豺襯 蟲豢
 ろ碁襦 れ 襷  覦 ろ 螳
Mobile Convergence Laboratory 37
Open vSwitch襯 伎 覓朱Μ ろ 蟆 蟲豢
Mobile Convergence Laboratory 38
 Pi Stack Switch
 https://github.com/MobileConvergenceLab/pi-switch
 襴 蠍磯企朱 Raspberry Pi  螻殊 蠏碁襦
 螳
Mobile Convergence Laboratory 39
れ 貂殊 襷 れ 覦 ろ
Mobile Convergence Laboratory 40
Pi only SDN (1/3)
Raspberry Pi
Mobile Convergence Laboratory 41
Pi only SDN (2/3)
ONOS controller
Pi Stack Switch
(SDN Switch)
Mobile Convergence Laboratory 42
Pi only SDN (3/3)
Raspberry Pi Screen running ONOS
Mobile Convergence Laboratory 43

More Related Content

What's hot (20)

Openstack in 10 mins
Openstack in 10 minsOpenstack in 10 mins
Openstack in 10 mins
Dawood M.S
4.oeo000040 lte traffic fault diagnosis issue 1
4.oeo000040 lte traffic fault diagnosis issue 14.oeo000040 lte traffic fault diagnosis issue 1
4.oeo000040 lte traffic fault diagnosis issue 1
Klajdi Husi
ZTE BSS Operation Quick Guide_Rev4.pptx
ZTE BSS Operation Quick Guide_Rev4.pptxZTE BSS Operation Quick Guide_Rev4.pptx
ZTE BSS Operation Quick Guide_Rev4.pptx
Vivi Gusti Anggraini
Hw lte rf-optimization-guide
Hw lte rf-optimization-guideHw lte rf-optimization-guide
Hw lte rf-optimization-guide
tharinduwije
LTE Optimization-KPIs.pptx
LTE Optimization-KPIs.pptxLTE Optimization-KPIs.pptx
LTE Optimization-KPIs.pptx
HasanBilalKhan
Ericsson commond list, BSS+NSS=OSS
Ericsson commond list, BSS+NSS=OSSEricsson commond list, BSS+NSS=OSS
Ericsson commond list, BSS+NSS=OSS
Md Shameem
395317358-LTE-Resource-Usage-Optimization.pptx
395317358-LTE-Resource-Usage-Optimization.pptx395317358-LTE-Resource-Usage-Optimization.pptx
395317358-LTE-Resource-Usage-Optimization.pptx
SudheeraIndrajith
53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...
53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...
53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...
tharinduwije
Fast return to 3 g
Fast return to 3 gFast return to 3 g
Fast return to 3 g
Mankotia Munish
NFV foundation/NFV For Dummies
NFV foundation/NFV For DummiesNFV foundation/NFV For Dummies
NFV foundation/NFV For Dummies
anandbajaj
5G NR radio protocols to support URLLC
5G NR radio protocols to support URLLC5G NR radio protocols to support URLLC
5G NR radio protocols to support URLLC
3G4G
06a_LTE mobility management v1_0.ppt
06a_LTE mobility management v1_0.ppt06a_LTE mobility management v1_0.ppt
06a_LTE mobility management v1_0.ppt
ssuser022794
Lte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkxLte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkx
tharinduwije
Volte troubleshooting
Volte troubleshootingVolte troubleshooting
Volte troubleshooting
Jamil Awan
Intro - Cloud Native
Intro - Cloud NativeIntro - Cloud Native
Intro - Cloud Native
Albert Suwandhi
Understanding kube proxy in ipvs mode
Understanding kube proxy in ipvs modeUnderstanding kube proxy in ipvs mode
Understanding kube proxy in ipvs mode
Victor Morales
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker Hub: Past, Present and Future by Ken Cochrane & BC WongDocker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker, Inc.
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptxHuawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
QasimQadir3
Virtualized network with openvswitch
Virtualized network with openvswitchVirtualized network with openvswitch
Virtualized network with openvswitch
Sim Janghoon
O-RAN 5g high level network design
O-RAN 5g high level network designO-RAN 5g high level network design
O-RAN 5g high level network design
Ravi Sharma
Openstack in 10 mins
Openstack in 10 minsOpenstack in 10 mins
Openstack in 10 mins
Dawood M.S
4.oeo000040 lte traffic fault diagnosis issue 1
4.oeo000040 lte traffic fault diagnosis issue 14.oeo000040 lte traffic fault diagnosis issue 1
4.oeo000040 lte traffic fault diagnosis issue 1
Klajdi Husi
ZTE BSS Operation Quick Guide_Rev4.pptx
ZTE BSS Operation Quick Guide_Rev4.pptxZTE BSS Operation Quick Guide_Rev4.pptx
ZTE BSS Operation Quick Guide_Rev4.pptx
Vivi Gusti Anggraini
Hw lte rf-optimization-guide
Hw lte rf-optimization-guideHw lte rf-optimization-guide
Hw lte rf-optimization-guide
tharinduwije
LTE Optimization-KPIs.pptx
LTE Optimization-KPIs.pptxLTE Optimization-KPIs.pptx
LTE Optimization-KPIs.pptx
HasanBilalKhan
Ericsson commond list, BSS+NSS=OSS
Ericsson commond list, BSS+NSS=OSSEricsson commond list, BSS+NSS=OSS
Ericsson commond list, BSS+NSS=OSS
Md Shameem
395317358-LTE-Resource-Usage-Optimization.pptx
395317358-LTE-Resource-Usage-Optimization.pptx395317358-LTE-Resource-Usage-Optimization.pptx
395317358-LTE-Resource-Usage-Optimization.pptx
SudheeraIndrajith
53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...
53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...
53 gsm bss network ps kpi (success rate of uplink tbf establishments) optimiz...
tharinduwije
NFV foundation/NFV For Dummies
NFV foundation/NFV For DummiesNFV foundation/NFV For Dummies
NFV foundation/NFV For Dummies
anandbajaj
5G NR radio protocols to support URLLC
5G NR radio protocols to support URLLC5G NR radio protocols to support URLLC
5G NR radio protocols to support URLLC
3G4G
06a_LTE mobility management v1_0.ppt
06a_LTE mobility management v1_0.ppt06a_LTE mobility management v1_0.ppt
06a_LTE mobility management v1_0.ppt
ssuser022794
Lte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkxLte ue initial attach & detach from networkx
Lte ue initial attach & detach from networkx
tharinduwije
Volte troubleshooting
Volte troubleshootingVolte troubleshooting
Volte troubleshooting
Jamil Awan
Understanding kube proxy in ipvs mode
Understanding kube proxy in ipvs modeUnderstanding kube proxy in ipvs mode
Understanding kube proxy in ipvs mode
Victor Morales
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker Hub: Past, Present and Future by Ken Cochrane & BC WongDocker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker Hub: Past, Present and Future by Ken Cochrane & BC Wong
Docker, Inc.
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptxHuawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
Huawei eRAN 7.0 VoLTE feature deep dive_20140515.pptx
QasimQadir3
Virtualized network with openvswitch
Virtualized network with openvswitchVirtualized network with openvswitch
Virtualized network with openvswitch
Sim Janghoon
O-RAN 5g high level network design
O-RAN 5g high level network designO-RAN 5g high level network design
O-RAN 5g high level network design
Ravi Sharma

Similar to ONOS - setting, configuration, installation, and test (20)

ONOS - multiple instance setting(Distributed SDN Controller)
ONOS - multiple instance setting(Distributed SDN Controller)ONOS - multiple instance setting(Distributed SDN Controller)
ONOS - multiple instance setting(Distributed SDN Controller)
sangyun han
Build the OpenStack Cloud with Neutron Networing, IceHouse
Build the OpenStack Cloud with Neutron Networing, IceHouseBuild the OpenStack Cloud with Neutron Networing, IceHouse
Build the OpenStack Cloud with Neutron Networing, IceHouse
jieun kim
OpenStack DevStack Install - 2覿 (Multi-nodes)
OpenStack DevStack Install - 2覿 (Multi-nodes)OpenStack DevStack Install - 2覿 (Multi-nodes)
OpenStack DevStack Install - 2覿 (Multi-nodes)
Ian Choi
Internship backend
Internship backendInternship backend
Internship backend
Yein Sim
NODE.JS 蠍襦覯 蠍一 襦 蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍
NODE.JS 蠍襦覯 蠍一  襦  蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍NODE.JS 蠍襦覯 蠍一  襦  蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍
NODE.JS 蠍襦覯 蠍一 襦 蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍
John Kim
OpenStack DevStack Install - 1覿 (All-in-one)
OpenStack DevStack Install - 1覿 (All-in-one)OpenStack DevStack Install - 1覿 (All-in-one)
OpenStack DevStack Install - 1覿 (All-in-one)
Ian Choi
GOTHAM 梶 梶求 梶梶衣 ≡求
GOTHAM 梶  梶求 梶梶衣 ≡求GOTHAM 梶  梶求 梶梶衣 ≡求
GOTHAM 梶 梶求 梶梶衣 ≡求
Kyunghee Univ
Confd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOS
Confd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOSConfd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOS
Confd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOS
豢 蟾
KAFKA 3.1.0.pdf
KAFKA 3.1.0.pdfKAFKA 3.1.0.pdf
KAFKA 3.1.0.pdf
wonyong hwang
Kafka slideshare
Kafka   slideshareKafka   slideshare
Kafka slideshare
wonyong hwang
[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳
[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳
[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳
OpenStack Korea Community
AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎
AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎 AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎
AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎
Amazon Web Services Korea
1.develop environment
1.develop environment1.develop environment
1.develop environment
願化譯 願化譯
[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ 覦 蟲襦 覦
[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ   覦 蟲襦 覦[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ   覦 蟲襦 覦
[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ 覦 蟲襦 覦
OpenStack Korea Community
Open vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯 ろ語 伎ろ
Open vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯  ろ語 伎ろOpen vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯  ろ語 伎ろ
Open vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯 ろ語 伎ろ
Seung-Hoon Baek
Openstack live migration
Openstack live migrationOpenstack live migration
Openstack live migration
ymtech
Docker =釈=求 public v0.1
Docker =釈=求 public v0.1Docker =釈=求 public v0.1
Docker =釈=求 public v0.1
Steve Shim
[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer
[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer
[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer
OpenStack Korea Community
kt-cloud
kt-cloudkt-cloud
kt-cloud
Kenu, GwangNam Heo
[1A6]Docker 梶 メ п釈 求
[1A6]Docker 梶 メ п釈 求[1A6]Docker 梶 メ п釈 求
[1A6]Docker 梶 メ п釈 求
NAVER D2
ONOS - multiple instance setting(Distributed SDN Controller)
ONOS - multiple instance setting(Distributed SDN Controller)ONOS - multiple instance setting(Distributed SDN Controller)
ONOS - multiple instance setting(Distributed SDN Controller)
sangyun han
Build the OpenStack Cloud with Neutron Networing, IceHouse
Build the OpenStack Cloud with Neutron Networing, IceHouseBuild the OpenStack Cloud with Neutron Networing, IceHouse
Build the OpenStack Cloud with Neutron Networing, IceHouse
jieun kim
OpenStack DevStack Install - 2覿 (Multi-nodes)
OpenStack DevStack Install - 2覿 (Multi-nodes)OpenStack DevStack Install - 2覿 (Multi-nodes)
OpenStack DevStack Install - 2覿 (Multi-nodes)
Ian Choi
Internship backend
Internship backendInternship backend
Internship backend
Yein Sim
NODE.JS 蠍襦覯 蠍一 襦 蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍
NODE.JS 蠍襦覯 蠍一  襦  蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍NODE.JS 蠍襦覯 蠍一  襦  蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍
NODE.JS 蠍襦覯 蠍一 襦 蠏碁Μ螻, real-time 危襴貅伎 螳覦蠍
John Kim
OpenStack DevStack Install - 1覿 (All-in-one)
OpenStack DevStack Install - 1覿 (All-in-one)OpenStack DevStack Install - 1覿 (All-in-one)
OpenStack DevStack Install - 1覿 (All-in-one)
Ian Choi
GOTHAM 梶 梶求 梶梶衣 ≡求
GOTHAM 梶  梶求 梶梶衣 ≡求GOTHAM 梶  梶求 梶梶衣 ≡求
GOTHAM 梶 梶求 梶梶衣 ≡求
Kyunghee Univ
Confd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOS
Confd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOSConfd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOS
Confd, systemd, fleet 伎 危襴貅伎 覦壱 in CoreOS
豢 蟾
[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳
[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳
[OpenStack Days Korea 2016] Track4 - ろろ 螻給 - 貉るる ろ磯 覿螻 螳
OpenStack Korea Community
AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎
AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎 AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎
AWS Summit Seoul 2015 - AWS襯 牛 蟆 伎
Amazon Web Services Korea
[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ 覦 蟲襦 覦
[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ   覦 蟲襦 覦[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ   覦 蟲襦 覦
[OpenInfra Days Korea 2018] (Track 1) 貉るる ろろ れ 覦 蟲襦 覦
OpenStack Korea Community
Open vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯 ろ語 伎ろ
Open vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯  ろ語 伎ろOpen vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯  ろ語 伎ろ
Open vSwitch Mininet 伎 螳 ろ語 炎骸 OpenDaylight襯 ろ語 伎ろ
Seung-Hoon Baek
Openstack live migration
Openstack live migrationOpenstack live migration
Openstack live migration
ymtech
Docker =釈=求 public v0.1
Docker =釈=求 public v0.1Docker =釈=求 public v0.1
Docker =釈=求 public v0.1
Steve Shim
[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer
[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer
[OpenInfra Days Korea 2018] (Track 1) Openstack 所 れ蠍 - SOfTI Easy Installer
OpenStack Korea Community
[1A6]Docker 梶 メ п釈 求
[1A6]Docker 梶 メ п釈 求[1A6]Docker 梶 メ п釈 求
[1A6]Docker 梶 メ п釈 求
NAVER D2

More from sangyun han (15)

SDN, ONOS, and Network Virtualization
SDN, ONOS, and Network VirtualizationSDN, ONOS, and Network Virtualization
SDN, ONOS, and Network Virtualization
sangyun han
Introduce to OpenVirteX
Introduce to OpenVirteXIntroduce to OpenVirteX
Introduce to OpenVirteX
sangyun han
XOS in open CORD project
XOS in open CORD projectXOS in open CORD project
XOS in open CORD project
sangyun han
Introduction to CORD project
Introduction to CORD projectIntroduction to CORD project
Introduction to CORD project
sangyun han
OpenWRT/Hostapd with ONOS
OpenWRT/Hostapd with ONOSOpenWRT/Hostapd with ONOS
OpenWRT/Hostapd with ONOS
sangyun han
KhuHub student guideline
KhuHub student guidelineKhuHub student guideline
KhuHub student guideline
sangyun han
KhuHub professor guideline
KhuHub professor guidelineKhuHub professor guideline
KhuHub professor guideline
sangyun han
Introduction of ONOS and core technology
Introduction of ONOS and core technologyIntroduction of ONOS and core technology
Introduction of ONOS and core technology
sangyun han
ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻 螳覦
ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻  螳覦ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻  螳覦
ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻 螳覦
sangyun han
[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed
[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed
[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed
sangyun han
RAFT Consensus Algorithm
RAFT Consensus AlgorithmRAFT Consensus Algorithm
RAFT Consensus Algorithm
sangyun han
Hazelcast 螳
Hazelcast 螳Hazelcast 螳
Hazelcast 螳
sangyun han
Implementing SDN Testbed(ONOS & OpenVirteX)
Implementing SDN Testbed(ONOS & OpenVirteX)Implementing SDN Testbed(ONOS & OpenVirteX)
Implementing SDN Testbed(ONOS & OpenVirteX)
sangyun han
Git & Github Seminar-1
Git & Github Seminar-1Git & Github Seminar-1
Git & Github Seminar-1
sangyun han
Git & Github Seminar-2
Git & Github Seminar-2Git & Github Seminar-2
Git & Github Seminar-2
sangyun han
SDN, ONOS, and Network Virtualization
SDN, ONOS, and Network VirtualizationSDN, ONOS, and Network Virtualization
SDN, ONOS, and Network Virtualization
sangyun han
Introduce to OpenVirteX
Introduce to OpenVirteXIntroduce to OpenVirteX
Introduce to OpenVirteX
sangyun han
XOS in open CORD project
XOS in open CORD projectXOS in open CORD project
XOS in open CORD project
sangyun han
Introduction to CORD project
Introduction to CORD projectIntroduction to CORD project
Introduction to CORD project
sangyun han
OpenWRT/Hostapd with ONOS
OpenWRT/Hostapd with ONOSOpenWRT/Hostapd with ONOS
OpenWRT/Hostapd with ONOS
sangyun han
KhuHub student guideline
KhuHub student guidelineKhuHub student guideline
KhuHub student guideline
sangyun han
KhuHub professor guideline
KhuHub professor guidelineKhuHub professor guideline
KhuHub professor guideline
sangyun han
Introduction of ONOS and core technology
Introduction of ONOS and core technologyIntroduction of ONOS and core technology
Introduction of ONOS and core technology
sangyun han
ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻 螳覦
ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻  螳覦ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻  螳覦
ONOS Raspberry Pi 蠍磯 螳覓朱Μ SDN れ 蟆 蟲豢螻 螳覦
sangyun han
[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed
[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed
[SoftCon]SDN/IoT 蠏碁Μ螻 Testbed
sangyun han
RAFT Consensus Algorithm
RAFT Consensus AlgorithmRAFT Consensus Algorithm
RAFT Consensus Algorithm
sangyun han
Hazelcast 螳
Hazelcast 螳Hazelcast 螳
Hazelcast 螳
sangyun han
Implementing SDN Testbed(ONOS & OpenVirteX)
Implementing SDN Testbed(ONOS & OpenVirteX)Implementing SDN Testbed(ONOS & OpenVirteX)
Implementing SDN Testbed(ONOS & OpenVirteX)
sangyun han
Git & Github Seminar-1
Git & Github Seminar-1Git & Github Seminar-1
Git & Github Seminar-1
sangyun han
Git & Github Seminar-2
Git & Github Seminar-2Git & Github Seminar-2
Git & Github Seminar-2
sangyun han

ONOS - setting, configuration, installation, and test

  • 1. ONOS SDN Controller れ 覿 覦 SDN 螳覦 Mobile Convergence Lab, Computer Engineering, Kyung Hee University Sangyun Han Email : sangyun0628@khu.ac.kr SDN/NFV 企, れ, 豕 [ONOS 蟆曙れ, 觜 覦 ろ 蟆 蟲豢]
  • 2. Setting Mobile Convergence Laboratory 2 覈谿 A Table of Contents Install Test 蟆曙れ 螳襾語 , ろ語 蟆 れ 譟伎SW れ 覦 觜 蟯 ろ れ 覦 覲 れ, 觜 ろ 蟆 蟲豢 SDN 貉碁, ろ碁ゼ 覓朱Μ 覦 螳 蟆 Q&A 讌
  • 3. Prerequisites Ubuntu 14.04 LTS 64bits 2GB or more RAM 2 or more processors 8GB or more storage Java 8 JDK Apache Maven(3.3.9 and later) Apache Karaf(3.0.5 and later) Git Mobile Convergence Laboratory 3
  • 4. 螻給 VM instance Ubuntu 14.04 LTS 2GB memory 12GB hard disk (dynamic allocation) eth0 NAT / eth1 host-only username : sdn password : mclab Mobile Convergence Laboratory 4
  • 5. Setting 1. Installing VM 2. Creating VM instance 3. Configuring network option Mobile Convergence Laboratory 5
  • 6. Virtual Box Virtual Box れ企 覦 れ https://www.virtualbox.org/wiki/Downloads Ubuntu れ www.ubuntu.com/download/desktop Mobile Convergence Laboratory 6
  • 7. Set VM (1/2) Mobile Convergence Laboratory 7 螳襾語 覦 Ubuntu れ
  • 8. Set VM (2/2) ろ 豕 螻糾 8GB Ubuntu OS 螻糾 + 留 Mobile Convergence Laboratory 8
  • 9. Install Ubuntu (1/2) Mobile Convergence Laboratory 9
  • 10. Install Ubuntu (2/2) username : sdn // れ 語ろ伎 れ Mobile Convergence Laboratory 10
  • 11. VM Network Setting れ 竪 ろ語 竪 企 1 竪 NAT For connecting internet れ 竪 ろ語 竪 企 2 竪 語ろ 企 For communicating ONOS cluster member 11
  • 12. Structure of Machines れ 語ろ伎 れ , 襾語れ 蟲譟 Mobile Convergence Laboratory 12 Internet Physical machine Virtual machine Virtual machine Virtual machine Instance 1 Instance 2 Instance 3 Eth0 Eth1 Eth0 Eth1 Eth0 Eth1 Host-Only Network
  • 13. Structure of Machines れ 語ろ伎 れ , 襾語れ 蟲譟 Mobile Convergence Laboratory 13 Internet Physical machine Virtual machine Virtual machine Virtual machine Instance 1 Instance 2 Instance 3 Eth0 Eth1 Eth0 Eth1 Eth0 Eth1 Host-Only Network れ 譴 語ろ伎 Instance Duplication
  • 14. ONOS - Install Single Instance setting 1. Getting ONOS 2. Installing ONOS 3. Start ONOS Mobile Convergence Laboratory 14 https://wiki.onosproject.org/display/ONOS/Installing+and+Running+ONOS
  • 15. 1. Install Java 8 $ sudo apt-get install software-properties-common -y $ sudo add-apt-repository ppa:webupd8team/java -y $ sudo apt-get update $ sudo apt-get install oracle-java8-installer oracle-java8-set-default Mobile Convergence Laboratory 15 Single Instance Setting (1/10)
  • 16. 1. Install Java 8 Mobile Convergence Laboratory 16 Single Instance Setting (1/10) Java8 殊伎
  • 17. 2. Configure Java Path on Ubuntu $ env | grep JAVA_HOME JAVA_HOME=/usr/lib/jvm/java-8-oracle $ export JAVA_HOME=/usr/lib/jvm/java-8-oracle Mobile Convergence Laboratory 17 Single Instance Setting (2/10)
  • 18. 3. Install Git $ sudo apt-get install git-core $ git --version Mobile Convergence Laboratory 18 Single Instance Setting (3/10)
  • 19. 4. Set Maven $ cd; mkdir Downloads Applications $ cd Downloads $ wget http://archive.apache.org/dist/maven/maven- 3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz $ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/ Mobile Convergence Laboratory 19 Single Instance Setting (4/10)
  • 20. 4. Set Maven $ cd; mkdir Downloads Applications $ cd Downloads $ wget http://archive.apache.org/dist/maven/maven- 3/3.3.9/binaries/apache-maven-3.3.9-bin.tar.gz $ tar -zxvf apache-maven-3.3.9-bin.tar.gz -C ../Applications/ Mobile Convergence Laboratory 20 Single Instance Setting (4/10) 譴! static path
  • 21. 5. Set Karaf $ cd Downloads $ wget http://archive.apache.org/dist/karaf/3.0.5/apache-karaf- 3.0.5.tar.gz $ tar -zxvf apache-karaf-3.0.5.tar.gz -C ../Applications/ Mobile Convergence Laboratory 21 Single Instance Setting (5/10)
  • 22. 6. Clone ONOS $ cd ~/ $ git clone https://gerrit.onosproject.org/onos/ $ cd onos if> getting specific ONOS version $ git checkout onos-1.5 Mobile Convergence Laboratory 22 Single Instance Setting (6/10)
  • 23. 7. Configure ONOS Path $ export ONOS_ROOT=~/onos $ source $ONOS_ROOT/tools/dev/bash_profile Mobile Convergence Laboratory 23 Single Instance Setting (7/10) # add bash sudo vi /etc/bash.bashrc export ONOS_ROOT=~/onos source $ONOS_ROOT/tools/dev/bash_profile
  • 24. 8. Build ONOS $ cd ~/onos $ mvn clean install Mobile Convergence Laboratory 24 觜 炎概 Single Instance Setting (8/10)
  • 25. 9. Start ONOS CLI $ ok clean Mobile Convergence Laboratory 25 Single Instance Setting (9/10)
  • 26. 10. Start ONOS GUI start ONOS (ONOS CLI) In web browser http://localhost:8181/onos/ui/login.html Default ID: karaf / PW: karaf Mobile Convergence Laboratory 26 Single Instance Setting (10/10)
  • 29. Activate ONOS app onos> app activate <APP_NAME> onos> app deactivate <APP_NAME> Mobile Convergence Laboratory 29
  • 30. Test 1. mininet 伎 螳 ろ 蟆 蟲豢 2. Open vSwitch襯 伎 覓朱Μ ろ 蟆 蟲豢 Mobile Convergence Laboratory 30
  • 31. Mininet Open source ろ語 覡危 ろ語 ろ, 覯蟾 煙 襦 螳 Linux kernel 覦 螳 螳 host, switch, router 蟲豢 螳 node Linux sw襯 ろ螳 wireshark, tcpdump, web server, etc OpenFlow 讌 Python API襯 伎 custom topology Mobile Convergence Laboratory 31 1. mininet 伎 螳 ろ 蟆 蟲豢 (1/6)
  • 32. mininet れ Ubuntu package $ apt-get install mininet $ sudo mn Source build $ git clone git://github.com/mininet/mininet.git $ ./mininet/util/install.sh -nfw $ sudo mn Mobile Convergence Laboratory 32 1. mininet 伎 螳 ろ 蟆 蟲豢 (2/6)
  • 33. 启讌 覦 ONOS 磯 mininet 伎 tree 启讌 // OpenFlow 1.0 蟆曙, 6633 碁ゼ , ONOS OpenFlow 1.0螻 1.3襷 讌 $ sudo mn -- [topology][,depth=][,fanout=] $ sudo mn --topo tree,2,3 --controller=remote,ip=127.0.0.1,port=6633 Mobile Convergence Laboratory 33 1. mininet 伎 螳 ろ 蟆 蟲豢 (3/6) Python 伎 mininet 貉れろ 启讌
  • 34. ping test & host discovery mininet> pingall Mobile Convergence Laboratory 34 襷 SDN controlle襯 磯讌 る pingall ろ unreachable 覓語 覦 ( 覓語) 1. mininet 伎 螳 ろ 蟆 蟲豢 (4/6)
  • 35. ping test & host discovery Mobile Convergence Laboratory 35 1. mininet 伎 螳 ろ 蟆 蟲豢 (5/6)
  • 36. mininet tool xterm node terminal xterm <node_name> ifconfig <node_name> ifconfig ping <src_node_name> ping <dst_node_name> net node螳 郁屋 覲 豢 Mobile Convergence Laboratory 36 1. mininet 伎 螳 ろ 蟆 蟲豢 (6/6)
  • 37. Open vSwitch襯 伎 覓朱Μ ろ 蟆 蟲豢 PC/Server/RaspberryPi襯 蠍磯朱 OpenFlow れ豺襯 蟲豢 ろ碁襦 れ 襷 覦 ろ 螳 Mobile Convergence Laboratory 37
  • 38. Open vSwitch襯 伎 覓朱Μ ろ 蟆 蟲豢 Mobile Convergence Laboratory 38 Pi Stack Switch https://github.com/MobileConvergenceLab/pi-switch 襴 蠍磯企朱 Raspberry Pi 螻殊 蠏碁襦 螳
  • 39. Mobile Convergence Laboratory 39 れ 貂殊 襷 れ 覦 ろ
  • 40. Mobile Convergence Laboratory 40 Pi only SDN (1/3) Raspberry Pi
  • 41. Mobile Convergence Laboratory 41 Pi only SDN (2/3) ONOS controller Pi Stack Switch (SDN Switch)
  • 42. Mobile Convergence Laboratory 42 Pi only SDN (3/3) Raspberry Pi Screen running ONOS