gachiemchiep / learning

個人のノート
1 stars 0 forks source link

SDNHubのOpenDayLight tutorialを読む、解説 #8

Open gachiemchiep opened 7 years ago

gachiemchiep commented 7 years ago

http://sdnhub.org/tutorials/opendaylight/

過去に行ったが、Tutorialを実効できないまま

netconfのデバイスの設定を編集のsample http://sdnhub.org/tutorials/opendaylight-tutorial/experimenting-with-netconf-connector-in-opendaylight/

gachiemchiep commented 7 years ago

Download source from git clone https://github.com/sdnhub/SDNHub_Opendaylight_Tutorial

Then compile mvn install -nsu -> this will compile the karaf (again), and all the ODL pluins -> took around 30 mins

Inside features/src/main/resources/features.xml they defined customized plugins -> so karaf will automatically load it

check l2switch feature::list --installed | grep l2 -> not installed yet

Start mini net sudo mn --topo single,3 --mac --switch ovsk,protocols=OpenFlow13 --controller remote there is not any controller yet so pingall should fail

Inside karaf , install the switch feature feature:install sdnhub-tutorial-learning-switch also the dlux feature too feature:install odl-dlux-all

Inside mininet, add the controller s1 ovs-ofctl add-flow tcp:127.0.0.1:6654 -OOpenFlow13 priority=1,action=output:controller

gachiemchiep commented 7 years ago

Let run the NETConf example first http://sdnhub.org/tutorials/opendaylight-tutorial/experimenting-with-netconf-connector-in-opendaylight/

This is quite a mess. Do again later