Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
peteryui committed Sep 2, 2014
2 parents aa0f638 + 6fd6f46 commit 1e71b4b
Show file tree
Hide file tree
Showing 17 changed files with 11,936 additions and 3,109 deletions.
6,056 changes: 3,028 additions & 3,028 deletions en/source/images/rest_router/fig4.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 1 addition & 6 deletions en/source/sources/link_aggregation.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,7 @@
c0.start()
s1.start([c0])

net.terms.append(makeTerm(c0))
net.terms.append(makeTerm(s1))
net.terms.append(makeTerm(h1))
net.terms.append(makeTerm(h2))
net.terms.append(makeTerm(h3))
net.terms.append(makeTerm(h4))
net.startTerms()

CLI(net)

Expand Down
8 changes: 1 addition & 7 deletions en/source/sources/spanning_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,7 @@
s2.start([c0])
s3.start([c0])

net.terms.append(makeTerm(c0))
net.terms.append(makeTerm(s1))
net.terms.append(makeTerm(s2))
net.terms.append(makeTerm(s3))
net.terms.append(makeTerm(h1))
net.terms.append(makeTerm(h2))
net.terms.append(makeTerm(h3))
net.startTerms()

CLI(net)

Expand Down
33 changes: 33 additions & 0 deletions en/source/spanning_tree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,40 @@ Source name: ``simple_switch_stp_13.py``
.. literalinclude:: sources/simple_switch_stp_13.py


.. NOTE::

If using the Open vSwitch, this application dose not wrok well depending
on the Open vSwitch's settings or version.
Open vSwitch has the STP implementation, but if this option is disabled
(by default), Open vSwitch drops the STP (BPDU) packets with the dest mac
address "01:80:c2:00:00:00" specified in IEEE 802.1D.
For only executing this application, you can avoid this constraint by
modifying the source code as follows.

ryu/ryu/lib/packet/bpdu.py:

.. rst-class:: sourcecode

::

# BPDU destination
#BRIDGE_GROUP_ADDRESS = '01:80:c2:00:00:00'
BRIDGE_GROUP_ADDRESS = '01:80:c2:00:00:0e'

Then, execute the following commands to affect the modification.

.. rst-class:: console

::

$ cd ryu
$ sudo python setup.py install
running install
...
...
running install_scripts
Installing ryu-manager script to /usr/local/bin
Installing ryu script to /usr/local/bin


Configuring the Experimental Environment
Expand Down
14 changes: 7 additions & 7 deletions en/source/switch_test_tool.rst
Original file line number Diff line number Diff line change
Expand Up @@ -224,13 +224,13 @@ The test tool is executed by the following command.
..

===================== ==================================== =====================
Option Explanation Default value
===================== ==================================== =====================
--test-switch-target Data path ID of test target switch 0000000000000001
--test-switch-tester Data path ID of auxiliary switch 0000000000000002
--test-switch-dir Directory path of test pattern file ryu/tests/switch/of13
===================== ==================================== =====================
========================= ==================================== =====================
Option Explanation Default value
========================= ==================================== =====================
``--test-switch-target`` Data path ID of test target switch 0000000000000001
``--test-switch-tester`` Data path ID of auxiliary switch 0000000000000002
``--test-switch-dir`` Directory path of test pattern file ryu/tests/switch/of13
========================= ==================================== =====================


.. NOTE::
Expand Down
2 changes: 1 addition & 1 deletion ja/source/igmp_snooping.rst
Original file line number Diff line number Diff line change
Expand Up @@ -829,7 +829,7 @@ host: h2s1:

root@ryu-vm:~# vlc-wrapper sample.mov --sout udp:225.0.0.1 --loop

すると、「225.0.0.1」のマルチキャストグループに参加しているh1s2、h3s2、h1s3
すると、「225.0.0.1」のマルチキャストグループに参加しているh1s2、h3s2、h3s1
の各ホストで実行しているVLCに、マルチキャストサーバで配信している動画が再生さ
れます。「225.0.0.2」に参加しているh2s2では動画は再生されません。

Expand Down
Loading

0 comments on commit 1e71b4b

Please sign in to comment.