Тёмный

OpenDayLight Flow Manager Installation 

Mon Goose
Подписаться 632
Просмотров 15 тыс.
50% 1

Hosted on Ubuntu VM's in Oracle VirtualBox
Using OpenDayLight Beryllium SDN Controller
Using karaf to load features
Used Mininet test environment to create switches and hosts and point switches to ODL SDNC.
Installed grunt and used this to support Cisco OpenFlow Manager (OFM) installation.
Finally got them all running and interrogated using NMAP and connected to using web sessions to ports 6633 (SDNC), 8181 (ODL DLUX) and 9000 (OFM)
If Beryllium does not work will have to consider dropping back to Lithium when working with OFM.
Also note the installation of nodejs-legacy
To get Beryllium ODL up and running:
Download from OpenDayLight
‘www.opendaylight.org/technica...
tar xvfz distribution-karaf-0.4.4-Beryllium-SR4
cd distribution-karaf-0.4.4-Beryllium-SR4/
JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64
echo $JAVA_HOME
./bin/karaf
Check installed features:
feature:list -i
Add these features for ODL and OFM support:
feature:install odl-mdsal-clustering
feature:install odl-dlux-core odl-dlux-node odl-dlux-yangui odl-dlux-yangvisualizer
feature:install odl-l2switch-all odl-restconf-all odl-openflowplugin-all odl-yangtools-common odl-mdsal-all
For OpenFlow Manager
Ensure that odl packages have been installed including:
odl-l2switch-all odl-restconf-all odl-openflowplugin-all odl-yangtools-common
sudo apt-get update
sudo apt-get install -y npm
sudo apt-get install -y nodejs-legacy
git clone github.com/CiscoDevNet/OpenDay...
cd OpenDayLight-OpenFlow-App/
sudo npm install -g grunt-cli
sudo nano ./ofm/src/common/config/env.module.js
Update BASEURL to match SDN Controller IP address or leave as localhost if supported on local machine.
Use NMAP to check that ODL on port 8181 and OFM on 9000
To check ports in use nmap:
nmap localhost
8181/tcp open unknown
9000/tcp open cslistener
Use web browser to see OFM
192.168.1.223:9000/#/openflow_manager/index
Use web browser to see ODL
192.168.1.223:8181/index.html#/topology
Change IP address to suit server/controller

Наука

Опубликовано:

 

30 июн 2017

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 91   
@johnf5476
@johnf5476 7 лет назад
Thanks, this has been a big help in setting up my SDN training Lab
@hadend
@hadend 4 года назад
Excellent tutorial, thanks a million!
@wajeehhasan4860
@wajeehhasan4860 6 лет назад
Thankyou SIR, you are a life saver, subscribed
@joeharyar9873
@joeharyar9873 5 лет назад
Great tutorial sir...thank you.
@tomsfb936
@tomsfb936 3 года назад
My teachers sent this video thank you for your explanation
@beautifulhirbodhero8753
@beautifulhirbodhero8753 3 года назад
Perfect, Thank you so much
@hudasaleh7683
@hudasaleh7683 4 года назад
thanx very much ...this is very useful
@rahelehsamadi647
@rahelehsamadi647 2 года назад
It was so helpful, thank you so much
@frogsam4228
@frogsam4228 3 месяца назад
sir can you please help me may I know which release of ODL you installed I tried to install the latest but so may things have changed. so can you please tell me or give me the link of the exact release I shall use I'm so in need + if you used indeed a different version than the video, is there any other problems you encountred? can you then tell me how to prevent them
@zim7563
@zim7563 6 лет назад
This was great and a huge help! Would you be willing to post more videos on how it the manager works and some examples of some flows that you can create with it? If you could send some data through that flow and show how you did so, that would be absolutely amazing, also! Either way, thank you for at least this video. This may have assisted with my work.
@MonGooseTech
@MonGooseTech 6 лет назад
Yes I am in the process of doing some work on NFV Orchestrators and I have some OpenDayLight stuff that I just need to edit so watch this aspace.
@bienanggiang5996
@bienanggiang5996 4 года назад
Thank you
@mazzicharaf5714
@mazzicharaf5714 5 лет назад
hello sir , i want to get switch from mininet in java , i dont know how !! , can you help?
@MickymaxSP
@MickymaxSP 4 года назад
Everything worked fine for me, but i had one problem with the OFM, it was kind of slow when i added 3 or more switches to my topology, i guess it was because of the version of ubuntu im using. Do you know why i can't block traffic with a match of IP Source with OFM? i tried blocking MAC Address source and it worked (OPERATIONAL - ON DEVICE) but when i add a flow with an ip source it says in OPERATIONAL "NOT ON DEVICE". And i dont know how to fix it. Btw, which version of ubuntu you are using?
@GnHguy
@GnHguy 5 лет назад
Hello sir can you tell me in short about flow management using flow manager how can i manage traffic from hosts through flow manager... Its very urgent sir please if you could help me save my Final year project
@Rexiusss
@Rexiusss 3 года назад
i didnt have mesh.py in folder examples
@giankyky
@giankyky 6 лет назад
Hi, i'm working with Windows. I have a host and in there i have deployed 2 virtual machines using Virtual Box: One witch Ubuntu Server in which i have installed my SDN controller OpenDaylight in its Lithium version, and another in whch i have deployed Mininet VM. I'm following the steps but when i get to the point in which i type the command "sudo npm install -g grunt-cli" i get an error message with several lines and it displays "Error: CERT_UNTRUSTED". Can anyone help me please? It's kind of urgent :/
@MonGooseTech
@MonGooseTech 6 лет назад
Sounds like your certificates are not necessarily up to date. Try sudo apt-get update sudo apt-get upgrade
@furkaneravsar9627
@furkaneravsar9627 3 года назад
Do I need the mininet ? Isn't Ubuntu enough for that ?
@walabenrhouma6440
@walabenrhouma6440 2 года назад
mrs i have one probleme for l'installation de npm added 2 packages, and audited 42 packages in 2s 9 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
@frogsam4228
@frogsam4228 3 месяца назад
sir can you please help me may I know which release of ODL you installed I tried to install the latest but so may things have changed. so can you please tell me or give me the link of the exact release I shall use I'm so in need + if you used indeed a different version than the video, is there any other problems you encountred? can you then tell me how to prevent them
@yourcode8738
@yourcode8738 2 года назад
hello everyone, please i don't find the mesh;py file in mininet/examples, who can help
@frogsam4228
@frogsam4228 3 месяца назад
sir can you please help me may I know which release of ODL you installed I tried to install the latest but so may things have changed. so can you please tell me or give me the link of the exact release I shall use I'm so in need + if you used indeed a different version than the video, is there any other problems you encountred? can you then tell me how to prevent them
@konigdw
@konigdw 7 лет назад
Very good! Do you know if OFM is compatible with ODL Carbon?
@MonGooseTech
@MonGooseTech 7 лет назад
I tried it without any joy, it was just incredibly slow. I checked around and others were having a similar experience. If you find anyone who has got this working beyond Lithium I would be very grateful.
@konigdw
@konigdw 7 лет назад
Thanks for the explanations! I'm working with SDN (ODL + OFM) for my course completion work. I will implement SDN in a lab with Cisco switch. But first I'm doing the tests in the same scenario as your video (Ubuntu Server + ODL Carbon + OFM + mininet). Could you pass me the mesh.py script? Sorry for my English (goolge translate). I'm from Brazil.
@konigdw
@konigdw 7 лет назад
I found the mesh.py script!
@MonGooseTech
@MonGooseTech 7 лет назад
yes sure, see below, change the IP address in this line 'net.addController('c0',controller=RemoteController,ip="192.168.1.1",port=6633)' to your SDN controller (and the port number of different): #!/usr/bin/python """ This example shows how to create an empty Mininet object (without a topology object) and add nodes to it manually. """ from mininet.net import Mininet from mininet.node import RemoteController from mininet.cli import CLI from mininet.log import setLogLevel, info def emptyNet(): "Create an empty network and add nodes to it." net = Mininet(controller=RemoteController ) info( '*** Adding controller ' ) net.addController('c0',controller=RemoteController,ip="192.168.1.1",port=6633) info( '*** Adding hosts ' ) h1 = net.addHost( 'h1', ip='192.168.10.1' ) h2 = net.addHost( 'h2', ip='192.168.10.2' ) info( '*** Adding switch ' ) s1 = net.addSwitch( 's1' ) s2 = net.addSwitch( 's2' ) s3 = net.addSwitch( 's3' ) s4 = net.addSwitch( 's4' ) info( '*** Creating links ' ) net.addLink( h1, s1 ) net.addLink( h2, s4 ) SwitchList = (s1, s2, s3, s4) for index in range ( 0 , len(SwitchList)): for index2 in range ( index+1, len(SwitchList)): net.addLink(SwitchList[index] , SwitchList[index2]) info( '*** Starting network ') net.start() info( '*** Running CLI ' ) CLI( net ) info( '*** Stopping network' ) net.stop() if __name__ == '__main__': setLogLevel( 'info' ) emptyNet()
@konigdw
@konigdw 7 лет назад
Thank you!
@coredeingeniero6985
@coredeingeniero6985 4 года назад
Hello. First of all, excellent video. I don't get the OFM application. I follow all steps. My opendaylight release is Oxigen. The error in the :9000 is this: Controller error Cannot load inventory data from controller, check connection settings in config. Cannot load topology data from controller, check connection settings in config. When I command nmap localhost it shows me this: 8181/tcp open intermapper 9000/tcp open cslistener What could be the problem? I need some help, please.
@diegolasso978
@diegolasso978 3 года назад
I have the same problem, did you manage to solve it?
@meriemouadah3498
@meriemouadah3498 5 лет назад
hello , i did everything correctly as shown in the video i installed ofm inside a vm with odl , both ports are open , the problem is that i cannot connect to localhost:9000 from the host but i can do that from the vm itself what do u think the problem is ? ps; i can ping from host to vm
@MonGooseTech
@MonGooseTech 5 лет назад
Perhaps your localhost and VM are not on the same subnet.
@MonGooseTech
@MonGooseTech 5 лет назад
Could be that you need to bridge the VM ethernet port to the host ethernet and then check that their IP addresses put them in the same subnet.
@meriemouadah3498
@meriemouadah3498 5 лет назад
@@MonGooseTech do u mean that i should use the bridged adapter , idk why but it doesn't work (my host and vm are both ubuntu 16.04) , actually i tried the host only adapter and it worked but then my vm is linked to ovs and other vms so when i'm on host only i cannot ping the ovs port and thus the controller appears as nnot connected in the ofm gui so i cannot see anything , as a solution i kept generic driver adapter ( to be able to ping ovs ) and tried to access localhost:9000 from one of the vms since i can ping them all it did work but then on the ofm gui the only thing that i see is openvswitch i cannot see the vms that are linked to it , is that normal ?
@MonGooseTech
@MonGooseTech 5 лет назад
@@meriemouadah3498 you should see the hosts on ofm once they start pinging one another etc.
@MonGooseTech
@MonGooseTech 5 лет назад
Are yoy trying to bridge the wireless adaptor if so you may need to create a microsoft loopback address and then bridge to that. Alternatively if you are trying to bridge to an ethernet make sure it is cable connected in the advanced settings for the vbox network settings for the VM
@VuppalapatiNavyaeed
@VuppalapatiNavyaeed 5 лет назад
sir , I am unable to install the features like odl-l2switch and dlux. it is showing no matching feature. can you please me to sort it out. Thank you
@phuccoiinkorea3341
@phuccoiinkorea3341 5 лет назад
hey what version did you install?
@VuppalapatiNavyaeed
@VuppalapatiNavyaeed 5 лет назад
@@phuccoiinkorea3341 opendaylight neon in ubuntu 18.04
@MonGooseTech
@MonGooseTech 5 лет назад
In ODL do a feature:list | grep odl- And see what odl features you have listed. May need to apply a tighter filter on grep but it should detail features available. See what's installed with the -i option
@VuppalapatiNavyaeed
@VuppalapatiNavyaeed 5 лет назад
@@MonGooseTech i have checked it but those features are not available in Neon opendaylight. can you please tell me weather they are replaced with some other features
@MonGooseTech
@MonGooseTech 5 лет назад
@@VuppalapatiNavyaeed try Getting Started with DLUX¶ DLUX provides a number of different Karaf features, which you can enable and disable separately. They are: odl-dlux-core odl-dluxapps-nodes odl-dluxapps-topology odl-dluxapps-yangui odl-dluxapps-yangvisualizer odl-dluxapps-yangman See docs.opendaylight.org/en/stable-nitrogen/getting-started-guide/common-features/dlux.html
@IQ88612
@IQ88612 6 лет назад
hi,thanks for the video but when i run the command (feature:...) it says no matching features for .... so what to do??
@MonGooseTech
@MonGooseTech 6 лет назад
alisalman hussein can you copy command and output here. feature:list | grep odl- To list available features and feature:list -i For installed features; might want to use grep as well.
@IQ88612
@IQ88612 6 лет назад
thank you, i will put it in 2 hours
@IQ88612
@IQ88612 6 лет назад
gulfupload.com/jkaq2o3z4jso here is a picture of what i got , especially if i add (odl-mdsal-all )
@MonGooseTech
@MonGooseTech 6 лет назад
Got you thanks. Try feature:list | grep odl-dlux Should list features such as odl-dlux-core odl-dlux-nodes odl-dlux-yangui odl-dlux-yanguivisualizer Install these separately using feature:install Check using feature:list -i | grep odl-dlux
@IQ88612
@IQ88612 6 лет назад
no, thank you , i appreciate you taking part of your time to help me sir
@ouadahmeriem738
@ouadahmeriem738 5 лет назад
Hello i followed the tutorial to install ofm but i don't have the controller on port 8181 when i type nmap localhost i don't find port 8181 what shall i do ?
@MonGooseTech
@MonGooseTech 5 лет назад
Port 8181 should be open on your SDN Controller if the controller is running. Don't forget to set the IP address of the SDNC in environmental file of the OFM
@ouadahmeriem738
@ouadahmeriem738 5 лет назад
I already checked , The ip address is set , this is what I see when I check the config/env.modules.js : baseURL:192.168.1.33:”, adSalPort :”8181”, mdSalPort: “8181”, ofmPort:”8181” stills when i run nmap localhost there is no 8181 just port 9000 ; tcp 22 and 631 ipp Ps : I'm using Beryllium and i installed all required features
@ouadahmeriem738
@ouadahmeriem738 5 лет назад
I'm gonna add one more thing , my controller is connected to an ovs on br0 i used this command to connect them : sudo ovs-vsctl set-controller br0 tcp: 192.168.1.33:6633 when i run ; ovs-vsctl show on Br0 i find the controller and i see its ip but i don't find the word "connected " do you think it's the problem for not being able to listen on port 8181 ? if so do u have any solutions please i'm stuck and out of time i would appreciate it sir
@MonGooseTech
@MonGooseTech 5 лет назад
@@ouadahmeriem738 yes check controller is working first
@MonGooseTech
@MonGooseTech 5 лет назад
@@ouadahmeriem738 try sudo ovs-vsctl list Open_vSwitch to see if the mininet environment is connected to the controller on the south bound an then check that the controller is running on the north bound by 'nmap locahost' on the controller; see which ports are open i.e. 8181
@stala2640
@stala2640 6 лет назад
Hi i am new and this video is very helpful, but working in a vm with ubuntu, i cannot reach opendaylight manager. Can i have your email cause i need your help. Thanx!
@gunabegur782
@gunabegur782 6 лет назад
Can i get ur email id I have a few questions on NFV I am trying to implement firewall at cloud and use its service to change flowtable by integrating odl,openstack,and mininet . So i have a few questions on this
@MonGooseTech
@MonGooseTech 6 лет назад
monsieurg0053@gmail.com
Далее
Postman and Netconf Test Tool
27:01
Просмотров 5 тыс.
The lightweights ended Round One with a BANG 💪
00:10
Мой инстаграм: v1.ann
00:13
Просмотров 93 тыс.
skibidi toilet zombie universe 37 ( New Virus)
03:02
Просмотров 1,9 млн
OpenDaylight
22:25
Просмотров 10 тыс.
Adding a GNS3 appliance from the Market Place
10:55
Просмотров 4,1 тыс.
Opendaylight (SDN Controller) Installation and Setup
29:13
КРУТОЙ ТЕЛЕФОН
0:16
Просмотров 7 млн
Самая редкая видеокарта NVIDIA
1:00