SlideShare une entreprise Scribd logo
1  sur  55
Télécharger pour lire hors ligne
SDN Onboarding: Spine Leaf Topology,
OVS CLIs and OpenDaylight
Telematika Open Session #10
Rabu, 11 April 2018
Lab Telematika
Sekolah Teknik Elektro dan Informatika
Institut Teknologi Bandung
Labtek 8 Lantai 4
Apa itu Software Defined
Network?
1
“
Software Defined Network is emerging architecture that is
dynamic, manageable, cost-effective, and adaptable, making it
ideal for the high-bandwidth, dynamic nature of today’s
applications.
-Open Networking
Foundation
Mengapa SDN bisa tercipta?
• Companies like IBM, Burroughs, Honeywell - they
all made a killing doing everything for the
customer in mutually-exclusive, proprietary ways.
• Today we have open source, and Linux. People
buy or build their own systems (often now
virtual) and do their own thing.
Mengapa SDN bisa tercipta?
• Innovation is huge in compute.Today we have
open source, and Linux. People buy or build their
own systems (often now virtual) and do their
own thing.
• Contrast this with networking
Mengapa SDN bisa tercipta?
• for many years, people running data centers
wanted solutions that just work, were plug n' go,
and they were wiling to pay for that. And
innovation in networking was slow
• Today, data centers are exploding.
Mengapa SDN bisa tercipta?
• First, look at the generic architecture of a switch.
Switch consists of two main components -- the
control plane, and the forwarding plane.
• The forwarding plane is the hardware other than
CPU that makes sure packets are routed. And this
level of a switch is *fast*.
Mengapa SDN bisa tercipta?
• The control plane is the component where things
are configured, routing protocols live and do
their work, and the results find their way down
into the forwarding plane tables to control how
packets are routed.
Mengapa SDN bisa tercipta?
• Software defined networking (SDN) is a way to
exert control on the forwarding plane by writing
software to augment or replace portions of the
control plane on the switch. The SDN system
most associated with SDN is OpenFlow
Mengapa SDN bisa tercipta?
• OpenFlow allows the control plane to be co-
located on a compute node in a data center, as
well as an agent running on the switch.
• In simple terms, the compute node half of
OpenFlow can read stats from the switch, and
change the forwarding plane in response by
sending commands to the OpenFlow agent on
the switch.
Bagaimana Arsitekturnya?
Rest API OpenDaylight
Contoh – contoh Controller
and more…
OpenFlow2
OF 1.0
Flow table
OF 1.3
OF 1.3(2)
How the flow table works
OpenDaylight
Bagaimana Arsitekturnya?
Instalasi OpenDaylight
• Pertama, install dependency dari OpenDaylight.
Maven, Java JDK dan JRE
apt-get install maven
apt-get install default-jdk
apt-get install deafault-jre
Instalasi OpenDaylight
• Download OpenDaylight.
Instalasi OpenDaylight
• Setelah didownload, unzip/untar kemudian run
./bin/karaf.
wget [URL Download ODL]
unzip [Nama File ODL (ZIP)]
tar -xvzf [Nama File ODL (TAR)]
cd [Directory]
./bin/karaf
Instalasi OpenDaylight
root@my-home:/home/petra# cd karaf-0.7.1
root@my-home:/home/petra/karaf-0.7.1# ./bin/karaf
Apache Karaf starting up. Press Enter to open the shell now...
100% [========================================================================]
Karaf started in 10s. Bundle stats: 375 active, 376 total
________ ________ .__ .__ .__ __
_____  ______ ____ ____ ______  _____ ___.__.| | |__| ____ | |___/ |_
/ | ____ _/ __  /  | | __ < | || | | |/ ___| |  __
/ |  |_> > ___/| | | ` / __ ___ || |_| / /_/ > Y  |
_______ / __/ ___ >___| /_______ (____ / ____||____/_____ /|___| /__|
/|__| / / / // /_____/ /
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
opendaylight-user@root>
Instalasi Fitur-Fitur OpenDaylight
#Mengaktifkan Apidocs dan Restconf
opendaylight-user@root> feature:install odl-restconf odl-mdsal-apidocs
#Mengaktifkan GUI
opendaylight-user@root> feature:install odl-dlux-core odl-dluxapps-nodes odl-dluxapps-topology odl-
dluxapps-yangui odl-dluxapps-yangvisualizer odl-dluxapps-yangman
#Mengaktifkan Fungsi Switch Dasar (Link Discovery, Address Tracker)
opendaylight-user@root> feature:install odl-l2switch-hosttracker odl-l2switch-addresstracker odl-
l2switch-packet Alternatif
#Apabila ingin switch memiliki fungsi seperti switch biasa
opendaylight-user@root> feature:install odl-l2switch-switch
#Melihat Seluruh Fitur dan Fitur Terinstall
opendaylight-user@root> feature:list
opendaylight-user@root> feature:list -i
GUI OpenDaylight
GUI OpenDaylight dapat diakses di [IP_Controller]:8181/index.html dengan
login: admin password: admin
Akses API OpenDaylight
API OpenDaylight dapat diakses di tab YangUI atau YangMan
Rest API dan OpenDaylight
Bagaimana Cara Mengatur Kontroller Menggunakan Rest API
Persiapan
1. Siapkan Opendaylight, Switch OpenFlow, dan
Aplikasi Komunikasi Rest Api, misal Postman
2. Koneksikan Switch dengan Opendaylight
Persiapan
1. Siapkan Opendaylight, Switch OpenFlow, dan Aplikasi Komunikasi
Rest Api, misal Postman
2. Koneksikan Switch dengan Opendaylight
Akses Opendaylight Inventory
1. Akses untuk konfigurasi
switch berada di
opendaylight-inventory.
2. Terdapat dua pilihan,
operational untuk melihat
konfigurasi, dan config
untuk mengubah
konfigurasi
Contoh GET Informasi Node Openflow:1
http://[ipcontroller]:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1
GET Menggunakan Postman
1. Masukan Auth Username: admin Password: admin
2. Masukkan Header Accept: application/xml dan Content-Type:
application/xml
GET Menggunakan Postman
1. Kirimkan Perintah GET ke URL
http://[IP_Controller]:8181/restconf/operational/opendaylight-
inventory:nodes/node/openflow:[ID_Node]
PUT Flow Menggunakan Postman
Terlebih dahulu, siapkan Flow dalam XML yang akan dikirimkan,
dokumentasinya ada di:
https://wiki.opendaylight.org/view/Editing_OpenDaylight_OpenFlow_
Plugin:End_to_End_Flows:Example_Flows
PUT Flow Menggunakan Postman
Kemudian, edit xml tersebut dan masukkan pada tab body
PUT Flow Menggunakan Postman
Kirimkan ke URL (dengan method PUT)
http://[IP_controller]:8181/restconf/config/opendaylight-
inventory:nodes/node/openflow:[ID_Node]/table/[ID_Table]/flow/[ID
_Flow]
Pastikan bahwa Table ID dan Flow ID URL sama dengan yang ada di
XML
PUT Flow Menggunakan Postman
Apabila keluar status 200 OK atau 201 Created, maka Flow sudah
berhasil dimasukkan ke switch.
root@mininet-vm:/home/mininet# ovs-ofctl dump-flows s1
NXST_FLOW reply (xid=0x4):
cookie=0x3, duration=7.149s, table=0, n_packets=0, n_bytes=0,
idle_age=7, priority=2,dl_src=00:00:00:00:00:01 actions=drop
demo
Openflow-Basic
◉ Basic forwarding flows
OpenFlow-Basic(2)
◉ Actions examples
Post-basic
◉ Match examples
Post-basic(2)
◉ Modify packet examples
OpenDaylight
root@my-home:/home/petra# cd karaf-0.7.1
root@my-home:/home/petra/karaf-0.7.1# ./bin/karaf
Apache Karaf starting up. Press Enter to open the shell now...
100% [========================================================================]
Karaf started in 10s. Bundle stats: 375 active, 376 total
________ ________ .__ .__ .__ __
_____  ______ ____ ____ ______  _____ ___.__.| | |__| ____ | |___/ |_
/ | ____ _/ __  /  | | __ < | || | | |/ ___| |  __
/ |  |_> > ___/| | | ` / __ ___ || |_| / /_/ > Y  |
_______ / __/ ___ >___| /_______ (____ / ____||____/_____ /|___| /__|
/|__| / / / // /_____/ /
Hit '<tab>' for a list of available commands
and '[cmd] --help' for help on a specific command.
Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight.
opendaylight-user@root>
Spine & leaf Topology
Huh ?
◉ leaf terdiri dari access switch yang
umumnya digunakan untuk
menghubungkan server, firewall,
load balancer, dan edge router.
◉ spine terdiri dari switch yang
difungsikan untuk routing dan
menjadi backbone dari network
Why?
◉ +Masalah pada Spanning Tree Protocol,
mengeliminasi rute yang bukan rute utama
◉ + Skalabilitas
The ideas?
◉ menentukan switch mana yang berfungsi sebagai “spine” dan
sebagai “leaf” pada jaringan.
◉ Tiap “leaf” berfungsi seperti layaknya switch/L2, dan “spine”
berfungsi seperti layaknya router/L3
◉ Secara default, akan ada 2 mekanisme pengiriman flow dari
controller, active forwarding dan reactive forwarding.
◉ Active forwarding dilakukan saat awal sebelum jaringan siap
dengan memberikan set flow pada tiap device untuk kondisi
jaringan yang telah di prediksi.
The ideas?(2)
◉ Bila ada perubahan pada jaringan, akan terjadi
perubahan flow table dengan meminta flow pada
controller dengan meneruskan paket ke
controller. Disini terjadi proses reactive
forwarding
◉ Kontroller akan merespon dengan memberikan
set flow baru ke seluruh perangkat pada jaringan
The ideas?(3)
Thanks!

Contenu connexe

Similaire à SDN Onboarding: Open vSwitch CLIs, OpenDaylight

OpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - IntroductionOpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - IntroductionEueung Mulyana
 
Opendaylight SDN Controller
Opendaylight SDN ControllerOpendaylight SDN Controller
Opendaylight SDN ControllerSumit Arora
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...Daniel Krook
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...Animesh Singh
 
Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...
Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...
Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...DataWorks Summit
 
OpenStack Integration with OpenContrail and OpenDaylight
OpenStack Integration with OpenContrail and OpenDaylightOpenStack Integration with OpenContrail and OpenDaylight
OpenStack Integration with OpenContrail and OpenDaylightSyed Moneeb
 
MySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksMySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksDave Stokes
 
Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001jucaab
 
4th SDN Interest Group Seminar-Session 2-2(130313)
4th SDN Interest Group Seminar-Session 2-2(130313)4th SDN Interest Group Seminar-Session 2-2(130313)
4th SDN Interest Group Seminar-Session 2-2(130313)NAIM Networks, Inc.
 
TGorman Collab16 UnixTools 20160411.pdf
TGorman Collab16 UnixTools 20160411.pdfTGorman Collab16 UnixTools 20160411.pdf
TGorman Collab16 UnixTools 20160411.pdfTricantinoLopezPerez
 
Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7Mark Leith
 
Pushing Java EE outside of the Enterprise - Home Automation
Pushing Java EE outside of the Enterprise - Home AutomationPushing Java EE outside of the Enterprise - Home Automation
Pushing Java EE outside of the Enterprise - Home AutomationDavid Delabassee
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptxIvan Ma
 
SCM Puppet: from an intro to the scaling
SCM Puppet: from an intro to the scalingSCM Puppet: from an intro to the scaling
SCM Puppet: from an intro to the scalingStanislav Osipov
 
SUSE - performance analysis-with_ceph
SUSE - performance analysis-with_cephSUSE - performance analysis-with_ceph
SUSE - performance analysis-with_cephinwin stack
 
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston MeetupOpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston Meetupragss
 
EclipseCon 2016 - OCCIware : one Cloud API to rule them all
EclipseCon 2016 - OCCIware : one Cloud API to rule them allEclipseCon 2016 - OCCIware : one Cloud API to rule them all
EclipseCon 2016 - OCCIware : one Cloud API to rule them allMarc Dutoo
 
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open WideOCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open WideOCCIware
 

Similaire à SDN Onboarding: Open vSwitch CLIs, OpenDaylight (20)

OpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - IntroductionOpenDaylight SDN Controller - Introduction
OpenDaylight SDN Controller - Introduction
 
Opendaylight SDN Controller
Opendaylight SDN ControllerOpendaylight SDN Controller
Opendaylight SDN Controller
 
OpenStack with OpenDaylight
OpenStack with OpenDaylightOpenStack with OpenDaylight
OpenStack with OpenDaylight
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
 
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
CAPS: What's best for deploying and managing OpenStack? Chef vs. Ansible vs. ...
 
MySQL NoSQL APIs
MySQL NoSQL APIsMySQL NoSQL APIs
MySQL NoSQL APIs
 
Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...
Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...
Dr Elephant: LinkedIn's Self-Service System for Detecting and Treating Hadoop...
 
OpenStack Integration with OpenContrail and OpenDaylight
OpenStack Integration with OpenContrail and OpenDaylightOpenStack Integration with OpenContrail and OpenDaylight
OpenStack Integration with OpenContrail and OpenDaylight
 
MySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disksMySql's NoSQL -- best of both worlds on the same disks
MySql's NoSQL -- best of both worlds on the same disks
 
Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001Ebs dba con4696_pdf_4696_0001
Ebs dba con4696_pdf_4696_0001
 
4th SDN Interest Group Seminar-Session 2-2(130313)
4th SDN Interest Group Seminar-Session 2-2(130313)4th SDN Interest Group Seminar-Session 2-2(130313)
4th SDN Interest Group Seminar-Session 2-2(130313)
 
TGorman Collab16 UnixTools 20160411.pdf
TGorman Collab16 UnixTools 20160411.pdfTGorman Collab16 UnixTools 20160411.pdf
TGorman Collab16 UnixTools 20160411.pdf
 
Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7Performance Schema and Sys Schema in MySQL 5.7
Performance Schema and Sys Schema in MySQL 5.7
 
Pushing Java EE outside of the Enterprise - Home Automation
Pushing Java EE outside of the Enterprise - Home AutomationPushing Java EE outside of the Enterprise - Home Automation
Pushing Java EE outside of the Enterprise - Home Automation
 
20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx20141011 my sql clusterv01pptx
20141011 my sql clusterv01pptx
 
SCM Puppet: from an intro to the scaling
SCM Puppet: from an intro to the scalingSCM Puppet: from an intro to the scaling
SCM Puppet: from an intro to the scaling
 
SUSE - performance analysis-with_ceph
SUSE - performance analysis-with_cephSUSE - performance analysis-with_ceph
SUSE - performance analysis-with_ceph
 
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston MeetupOpenStack + Cloud Foundry for the OpenStack Boston Meetup
OpenStack + Cloud Foundry for the OpenStack Boston Meetup
 
EclipseCon 2016 - OCCIware : one Cloud API to rule them all
EclipseCon 2016 - OCCIware : one Cloud API to rule them allEclipseCon 2016 - OCCIware : one Cloud API to rule them all
EclipseCon 2016 - OCCIware : one Cloud API to rule them all
 
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open WideOCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
OCCIware Project at EclipseCon France 2016, by Marc Dutoo, Open Wide
 

Plus de Telematika Open Session

Plus de Telematika Open Session (9)

Learning netconf yang from scratch
Learning netconf yang from scratchLearning netconf yang from scratch
Learning netconf yang from scratch
 
Netconf yang
Netconf yangNetconf yang
Netconf yang
 
ceph software defined storage
ceph software defined storageceph software defined storage
ceph software defined storage
 
Learning OpenFlow with OVS on BPI R1 and Zodiac FX
Learning OpenFlow with OVS on BPI R1 and Zodiac FXLearning OpenFlow with OVS on BPI R1 and Zodiac FX
Learning OpenFlow with OVS on BPI R1 and Zodiac FX
 
Network security
Network securityNetwork security
Network security
 
DevOps Introduction - Why Network Engineer Should Learn Programming
DevOps Introduction - Why Network Engineer Should Learn ProgrammingDevOps Introduction - Why Network Engineer Should Learn Programming
DevOps Introduction - Why Network Engineer Should Learn Programming
 
From network beginner to network programmer.v2
From network beginner to network programmer.v2From network beginner to network programmer.v2
From network beginner to network programmer.v2
 
Cloud managed networking
Cloud managed networkingCloud managed networking
Cloud managed networking
 
Paving your way to become a network engineer
Paving your way to become a network engineerPaving your way to become a network engineer
Paving your way to become a network engineer
 

Dernier

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhisoniya singh
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersThousandEyes
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking MenDelhi Call girls
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024Scott Keck-Warren
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 

Dernier (20)

Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | DelhiFULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
FULL ENJOY 🔝 8264348440 🔝 Call Girls in Diplomatic Enclave | Delhi
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for PartnersEnhancing Worker Digital Experience: A Hands-on Workshop for Partners
Enhancing Worker Digital Experience: A Hands-on Workshop for Partners
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men08448380779 Call Girls In Civil Lines Women Seeking Men
08448380779 Call Girls In Civil Lines Women Seeking Men
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024SQL Database Design For Developers at php[tek] 2024
SQL Database Design For Developers at php[tek] 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 

SDN Onboarding: Open vSwitch CLIs, OpenDaylight

  • 1. SDN Onboarding: Spine Leaf Topology, OVS CLIs and OpenDaylight Telematika Open Session #10 Rabu, 11 April 2018 Lab Telematika Sekolah Teknik Elektro dan Informatika Institut Teknologi Bandung Labtek 8 Lantai 4
  • 2. Apa itu Software Defined Network? 1
  • 3. “ Software Defined Network is emerging architecture that is dynamic, manageable, cost-effective, and adaptable, making it ideal for the high-bandwidth, dynamic nature of today’s applications. -Open Networking Foundation
  • 4. Mengapa SDN bisa tercipta? • Companies like IBM, Burroughs, Honeywell - they all made a killing doing everything for the customer in mutually-exclusive, proprietary ways. • Today we have open source, and Linux. People buy or build their own systems (often now virtual) and do their own thing.
  • 5. Mengapa SDN bisa tercipta? • Innovation is huge in compute.Today we have open source, and Linux. People buy or build their own systems (often now virtual) and do their own thing. • Contrast this with networking
  • 6. Mengapa SDN bisa tercipta? • for many years, people running data centers wanted solutions that just work, were plug n' go, and they were wiling to pay for that. And innovation in networking was slow • Today, data centers are exploding.
  • 7. Mengapa SDN bisa tercipta? • First, look at the generic architecture of a switch. Switch consists of two main components -- the control plane, and the forwarding plane. • The forwarding plane is the hardware other than CPU that makes sure packets are routed. And this level of a switch is *fast*.
  • 8. Mengapa SDN bisa tercipta? • The control plane is the component where things are configured, routing protocols live and do their work, and the results find their way down into the forwarding plane tables to control how packets are routed.
  • 9. Mengapa SDN bisa tercipta? • Software defined networking (SDN) is a way to exert control on the forwarding plane by writing software to augment or replace portions of the control plane on the switch. The SDN system most associated with SDN is OpenFlow
  • 10. Mengapa SDN bisa tercipta? • OpenFlow allows the control plane to be co- located on a compute node in a data center, as well as an agent running on the switch. • In simple terms, the compute node half of OpenFlow can read stats from the switch, and change the forwarding plane in response by sending commands to the OpenFlow agent on the switch.
  • 11.
  • 14. Contoh – contoh Controller and more…
  • 16.
  • 21. How the flow table works
  • 24. Instalasi OpenDaylight • Pertama, install dependency dari OpenDaylight. Maven, Java JDK dan JRE apt-get install maven apt-get install default-jdk apt-get install deafault-jre
  • 26. Instalasi OpenDaylight • Setelah didownload, unzip/untar kemudian run ./bin/karaf. wget [URL Download ODL] unzip [Nama File ODL (ZIP)] tar -xvzf [Nama File ODL (TAR)] cd [Directory] ./bin/karaf
  • 27. Instalasi OpenDaylight root@my-home:/home/petra# cd karaf-0.7.1 root@my-home:/home/petra/karaf-0.7.1# ./bin/karaf Apache Karaf starting up. Press Enter to open the shell now... 100% [========================================================================] Karaf started in 10s. Bundle stats: 375 active, 376 total ________ ________ .__ .__ .__ __ _____ ______ ____ ____ ______ _____ ___.__.| | |__| ____ | |___/ |_ / | ____ _/ __ / | | __ < | || | | |/ ___| | __ / | |_> > ___/| | | ` / __ ___ || |_| / /_/ > Y | _______ / __/ ___ >___| /_______ (____ / ____||____/_____ /|___| /__| /|__| / / / // /_____/ / Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight. opendaylight-user@root>
  • 28. Instalasi Fitur-Fitur OpenDaylight #Mengaktifkan Apidocs dan Restconf opendaylight-user@root> feature:install odl-restconf odl-mdsal-apidocs #Mengaktifkan GUI opendaylight-user@root> feature:install odl-dlux-core odl-dluxapps-nodes odl-dluxapps-topology odl- dluxapps-yangui odl-dluxapps-yangvisualizer odl-dluxapps-yangman #Mengaktifkan Fungsi Switch Dasar (Link Discovery, Address Tracker) opendaylight-user@root> feature:install odl-l2switch-hosttracker odl-l2switch-addresstracker odl- l2switch-packet Alternatif #Apabila ingin switch memiliki fungsi seperti switch biasa opendaylight-user@root> feature:install odl-l2switch-switch #Melihat Seluruh Fitur dan Fitur Terinstall opendaylight-user@root> feature:list opendaylight-user@root> feature:list -i
  • 29. GUI OpenDaylight GUI OpenDaylight dapat diakses di [IP_Controller]:8181/index.html dengan login: admin password: admin
  • 30. Akses API OpenDaylight API OpenDaylight dapat diakses di tab YangUI atau YangMan
  • 31. Rest API dan OpenDaylight Bagaimana Cara Mengatur Kontroller Menggunakan Rest API
  • 32.
  • 33. Persiapan 1. Siapkan Opendaylight, Switch OpenFlow, dan Aplikasi Komunikasi Rest Api, misal Postman 2. Koneksikan Switch dengan Opendaylight
  • 34. Persiapan 1. Siapkan Opendaylight, Switch OpenFlow, dan Aplikasi Komunikasi Rest Api, misal Postman 2. Koneksikan Switch dengan Opendaylight
  • 35. Akses Opendaylight Inventory 1. Akses untuk konfigurasi switch berada di opendaylight-inventory. 2. Terdapat dua pilihan, operational untuk melihat konfigurasi, dan config untuk mengubah konfigurasi
  • 36. Contoh GET Informasi Node Openflow:1 http://[ipcontroller]:8181/restconf/operational/opendaylight-inventory:nodes/node/openflow:1
  • 37. GET Menggunakan Postman 1. Masukan Auth Username: admin Password: admin 2. Masukkan Header Accept: application/xml dan Content-Type: application/xml
  • 38. GET Menggunakan Postman 1. Kirimkan Perintah GET ke URL http://[IP_Controller]:8181/restconf/operational/opendaylight- inventory:nodes/node/openflow:[ID_Node]
  • 39. PUT Flow Menggunakan Postman Terlebih dahulu, siapkan Flow dalam XML yang akan dikirimkan, dokumentasinya ada di: https://wiki.opendaylight.org/view/Editing_OpenDaylight_OpenFlow_ Plugin:End_to_End_Flows:Example_Flows
  • 40. PUT Flow Menggunakan Postman Kemudian, edit xml tersebut dan masukkan pada tab body
  • 41. PUT Flow Menggunakan Postman Kirimkan ke URL (dengan method PUT) http://[IP_controller]:8181/restconf/config/opendaylight- inventory:nodes/node/openflow:[ID_Node]/table/[ID_Table]/flow/[ID _Flow] Pastikan bahwa Table ID dan Flow ID URL sama dengan yang ada di XML
  • 42. PUT Flow Menggunakan Postman Apabila keluar status 200 OK atau 201 Created, maka Flow sudah berhasil dimasukkan ke switch. root@mininet-vm:/home/mininet# ovs-ofctl dump-flows s1 NXST_FLOW reply (xid=0x4): cookie=0x3, duration=7.149s, table=0, n_packets=0, n_bytes=0, idle_age=7, priority=2,dl_src=00:00:00:00:00:01 actions=drop
  • 43. demo
  • 48. OpenDaylight root@my-home:/home/petra# cd karaf-0.7.1 root@my-home:/home/petra/karaf-0.7.1# ./bin/karaf Apache Karaf starting up. Press Enter to open the shell now... 100% [========================================================================] Karaf started in 10s. Bundle stats: 375 active, 376 total ________ ________ .__ .__ .__ __ _____ ______ ____ ____ ______ _____ ___.__.| | |__| ____ | |___/ |_ / | ____ _/ __ / | | __ < | || | | |/ ___| | __ / | |_> > ___/| | | ` / __ ___ || |_| / /_/ > Y | _______ / __/ ___ >___| /_______ (____ / ____||____/_____ /|___| /__| /|__| / / / // /_____/ / Hit '<tab>' for a list of available commands and '[cmd] --help' for help on a specific command. Hit '<ctrl-d>' or type 'system:shutdown' or 'logout' to shutdown OpenDaylight. opendaylight-user@root>
  • 49. Spine & leaf Topology
  • 50. Huh ? ◉ leaf terdiri dari access switch yang umumnya digunakan untuk menghubungkan server, firewall, load balancer, dan edge router. ◉ spine terdiri dari switch yang difungsikan untuk routing dan menjadi backbone dari network
  • 51. Why? ◉ +Masalah pada Spanning Tree Protocol, mengeliminasi rute yang bukan rute utama ◉ + Skalabilitas
  • 52. The ideas? ◉ menentukan switch mana yang berfungsi sebagai “spine” dan sebagai “leaf” pada jaringan. ◉ Tiap “leaf” berfungsi seperti layaknya switch/L2, dan “spine” berfungsi seperti layaknya router/L3 ◉ Secara default, akan ada 2 mekanisme pengiriman flow dari controller, active forwarding dan reactive forwarding. ◉ Active forwarding dilakukan saat awal sebelum jaringan siap dengan memberikan set flow pada tiap device untuk kondisi jaringan yang telah di prediksi.
  • 53. The ideas?(2) ◉ Bila ada perubahan pada jaringan, akan terjadi perubahan flow table dengan meminta flow pada controller dengan meneruskan paket ke controller. Disini terjadi proses reactive forwarding ◉ Kontroller akan merespon dengan memberikan set flow baru ke seluruh perangkat pada jaringan