diff options
author | Isaku Yamahata <yamahata@valinux.co.jp> | 2013-02-15 09:45:44 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-02-15 17:06:41 +0900 |
commit | be07508b43780218a4092e234eac004162394e35 (patch) | |
tree | dfa83de3be15a8bc09be7063073f001980566e56 /doc/source/how_l2_segregation_works.rst | |
parent | c947e66fd1bd679199b238abf056828e7971c38b (diff) |
doc: internal document on openstack cooperation
Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
Diffstat (limited to 'doc/source/how_l2_segregation_works.rst')
-rw-r--r-- | doc/source/how_l2_segregation_works.rst | 66 |
1 files changed, 0 insertions, 66 deletions
diff --git a/doc/source/how_l2_segregation_works.rst b/doc/source/how_l2_segregation_works.rst deleted file mode 100644 index 4b0d2b9d..00000000 --- a/doc/source/how_l2_segregation_works.rst +++ /dev/null @@ -1,66 +0,0 @@ -.. _how_it_works: - -**************************** -How Ryu L2 segregation works -**************************** -This section describes how Ryu L2 segregation works. - -tenant/network id creation -========================== -When tenant(= network id) is created, Quantum server tells it to Ryu. -Ryu remembers the network id. - - .. image:: /images/network-creation.png - - -association OVS port to network id -================================== -#. When VM instance is created, the network port is created in OVS and - it is associated to network id that VM belongs to. - -#. quantum OVS agent tells the associated (network id, ovs port) to Ryu. - Ryu remembers (network id, ovs port) relationship. - -#. quantum OVS agent also tells to Ryu which OVS port is not managed by - nova/quantum, but is connected to external ether cable. - We call it external OVS port or that the port is external. - - - .. image:: /images/assoc-ovs-port.png - - -mac learing -=========== -When VM sends packets, Ryu determins network id from OVS port and then -associates src mac address to network id. - - .. image:: /images/mac-learning.png - - -packet filtering(L2 unicast case) -================================= -* When VM sending L2-unicast packet, Ryu checks if the destination mac - address belongs to the same netowrk id of the source mac address which - is same to the network id that the OVS port is associated to. -* If no, the packet is dropped. -* If yes, send the packet is sent to ports which belongs to the same - network id and external port. - - .. image:: /images/filtering-outgoing.png - .. image:: /images/filtering-incoming.png - - -packet filtering(L2 broadcast case) -=================================== -* When VM sending L2-broadcast/multicaset packet, Ryu checks if the source - mac address. -* send the packet to all external ports and all OVS ports that belongs - to the same network id of the source mac address. -* When receiving broacast/multicast packet from the external ports, - Ryu checks if the source mac address belongs to known network id. - - * If yes, send the packet to the external ports except incoming one - and the all OVS ports that belongs to the network id - * if no, drop the packet. - - .. image:: /images/filtering-broadcast.png |