Benutzer-Werkzeuge

Webseiten-Werkzeuge


ryu-sdn-controller-on-github-mac-os-x-omniswitch

Unterschiede

Hier werden die Unterschiede zwischen zwei Versionen angezeigt.

Link zu dieser Vergleichsansicht

ryu-sdn-controller-on-github-mac-os-x-omniswitch [2014/10/24 19:35] – angelegt bennyryu-sdn-controller-on-github-mac-os-x-omniswitch [2014/10/24 19:53] (aktuell) benny
Zeile 1: Zeile 1:
 ====== Ryu SDN-Controller von Github auf MacOS X installieren ====== ====== Ryu SDN-Controller von Github auf MacOS X installieren ======
  
-<WRAP center round important 60%> +Der Vorteil der Ryu-Variante direkt von Github ist die direkte Versorgung mit Patches oder Erweiterungen. Generell wird das PyPi Projekt nur mit jedem Major Release versorgt.
-An diesem Artikel wird gearbeitetWork in Progress to extend this article! +
-</WRAP>+
  
 ===== Voraussetzungen ===== ===== Voraussetzungen =====
Zeile 9: Zeile 7:
   * Python v2.7 ist bereits an Bord   * Python v2.7 ist bereits an Bord
   * ''pip'' (alles notwendige ist [[https://pip.pypa.io/en/latest/installing.html#install-or-upgrade-pip|hier]] beschrieben!)   * ''pip'' (alles notwendige ist [[https://pip.pypa.io/en/latest/installing.html#install-or-upgrade-pip|hier]] beschrieben!)
-  * Ich empfehle dringend den Einsatz von ''virtualenv'' (''pip install virtualenv''+  * ''virtualenv'' (''pip install virtualenv''
-  * XCode v5.1.1 (Apple AppStore, wichtig sind die command-line Tools)+  * XCode v5.1.1 (Apple AppStore, wichtig sind die command-line Tools! Man sollte Zeit haben denn der Download ist umfangreich!)
   * XCode Command-Line Tools (''pip'' will einiges kompilieren)   * XCode Command-Line Tools (''pip'' will einiges kompilieren)
   * ''git'' (sinnvollerweise auch ein Github Account)   * ''git'' (sinnvollerweise auch ein Github Account)
Zeile 17: Zeile 15:
  
 Ich empfehle die Installation in folgenden Schritten. Ich empfehle die Installation in folgenden Schritten.
 +
 +<WRAP center round important 60%>
 +Ohne "virtualenv" müllt man sich langsam aber sicher das System voll. Ich möchte eindringlich empfehlen dieses hilfreiche Werkzeug einzusetzen!
 +</WRAP>
  
 ==== virtualenv erstellen & aktivieren ==== ==== virtualenv erstellen & aktivieren ====
Zeile 60: Zeile 62:
   Downloading lxml-3.3.5.tar.gz (3.5MB): 3.5MB downloaded   Downloading lxml-3.3.5.tar.gz (3.5MB): 3.5MB downloaded
   Running setup.py (path:/Users/Benny/Python/ryu/build/lxml/setup.py) egg_info for package lxml   Running setup.py (path:/Users/Benny/Python/ryu/build/lxml/setup.py) egg_info for package lxml
 +  
   (... Jede Menge CLI-Kilometer ausgelassen ...)   (... Jede Menge CLI-Kilometer ausgelassen ...)
 +  
 Successfully installed lxml Successfully installed lxml
 Cleaning up... Cleaning up...
Zeile 92: Zeile 96:
 </code> </code>
  
-===== Ryu in Aktion! ===== +=== Mögliche Fehlermeldung beim ersten Start! ===
- +
-==== Mögliche Fehlermeldung beim ersten Start! ====+
 <code> <code>
 (ryu)Macbook:ryu Benny$ ryu-manager ryu/app/simple_switch_13.py  (ryu)Macbook:ryu Benny$ ryu-manager ryu/app/simple_switch_13.py 
Zeile 109: Zeile 111:
 </code> </code>
  
-==== Lösung ===+=== Lösung ===
 <code> <code>
 (ryu)Macbook:ryu Benny$ pip install pbr (ryu)Macbook:ryu Benny$ pip install pbr
Zeile 119: Zeile 120:
 Successfully installed pbr Successfully installed pbr
 Cleaning up... Cleaning up...
 +</code>
 +
 +===== Ryu in Aktion! =====
 +<code>
 (ryu)Macbook:ryu Benny$ ryu-manager --verbose ryu/app/simple_switch_13.py  (ryu)Macbook:ryu Benny$ ryu-manager --verbose ryu/app/simple_switch_13.py 
 loading app ryu/app/simple_switch_13.py loading app ryu/app/simple_switch_13.py
Zeile 134: Zeile 139:
   CONSUMES EventOFPErrorMsg   CONSUMES EventOFPErrorMsg
   CONSUMES EventOFPPortDescStatsReply   CONSUMES EventOFPPortDescStatsReply
-  CONSUMES EventOFPHello 
-</code> 
- 
-<code> 
-(ryu-3.11)Macbook:ryu-3.11 Benny$ bin/ryu-manager --verbose ../ryu-git/ryu/app/simple_switch_13.py 
-loading app ../ryu-git/ryu/app/simple_switch_13.py 
-loading app ryu.controller.ofp_handler 
-instantiating app ryu.controller.ofp_handler of OFPHandler 
-instantiating app ../ryu-git/ryu/app/simple_switch_13.py of SimpleSwitch13 
-BRICK SimpleSwitch13 
-  CONSUMES EventOFPPacketIn 
-  CONSUMES EventOFPSwitchFeatures 
-BRICK ofp_event 
-  PROVIDES EventOFPPacketIn TO {'SimpleSwitch13': set(['main'])} 
-  PROVIDES EventOFPSwitchFeatures TO {'SimpleSwitch13': set(['config'])} 
-  CONSUMES EventOFPPortDescStatsReply 
-  CONSUMES EventOFPEchoRequest 
-  CONSUMES EventOFPSwitchFeatures 
-  CONSUMES EventOFPErrorMsg 
   CONSUMES EventOFPHello   CONSUMES EventOFPHello
 </code> </code>
ryu-sdn-controller-on-github-mac-os-x-omniswitch.txt · Zuletzt geändert: 2014/10/24 19:53 von benny

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki