[ovs-dev] SFC patches for OVN

Shuaijun Zhang szhang at research.ait.ie
Tue Feb 7 20:48:06 UTC 2017


Hi John, Flavio,

I have applied the patches and tried it by following the demo (by
Flavio) in the video below:
https://www.youtube.com/watch?v=PUZzhRxc6iA

There is a problem is in my test: the ping message doesn't get replied.

In the demo, I see that when computer_1 ping computer_2,
you can see the message reaches the ports in the computer_3
and computer_1 can receive the reply.
But in my test, message can reach to the ports (port pairs) in computer_3
too,
but computer_1 *doesn't *receive the reply.

The difference between my setup and the demo is that
I used ovn-docker-overlay-driver to create/bind the ports,
and the demo may use script (vagrant) to create/bind ports

Steps in my setup:
    1. setup the ovn+docker environment by https://github.com/
openvswitch/ovs/blob/master/Documentation/howto/docker.rst
    2. create 7 containers on 4 hosts (c1 on host1, c2 on host2, c3 on
host3,
c4/c5/c6/c7 on host4), each container has one port bound. e.g. p1 on c1, p2
on c2 ...
    3. Then I create pair ports, port groups, etc. same as in the demo. (p4
is the vnfa in the demo,
p5 & p6 are the vnfb in the demo, p7 is vnfc). I can see that the *"ovn-sbctl
dump-flows" gives *
*same rules as in the demo, ovn-trace results same as in the demo*
    4. Then ping from c1 to c2, the message shows in c4 (port pair
"vnfa"), *but
c2 *
*doesn't receive the ping msg, and c1 doesn't receive the reply*. (I used
"tcpdump"
to monitor the eth interfaces)

Do you have any idea about this problem?

@Flavio, There may be something missing in my setup. So can I have the
script you used in the demo to repeat your setup, if appropriate. Please.

Thank you,
Jason


On 3 February 2017 at 20:58, John McDowall <jmcdowall at paloaltonetworks.com>
wrote:

> Jason,
>
> I checked it against top of the git tree. So just download the patch and
> clone the lastest and then
>
> $ git apply –directory=ovn <patch>
>
> If you have any questions/feedback let me know.
>
> Regards
>
> John
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> https://mail.openvswitch.org/mailman/listinfo/ovs-dev
>



-- 
Shuaijun (Jason) Zhang
Senior Research Engineer
Software Research Institute,
Athlone Institute of Technology, IE
Tel: +353 90 646 8196 <+353%2090%20646%208196>
http://www.ait.ie/sri/


More information about the dev mailing list