Ask Your Question
0

Beryllium with OVS 2.6.90, nat & conntrack

asked 2016-09-29 06:43:29 -0700

Hi all, I am a newby to ODL and OVS and I have been playing around a bit and gotten a bit stuck. I have a VM with OVS v2.6.90 on it and another VM with ODL Beryllium installed. I can use the ODL NBI to add flows to my OVS VM and that all works fine with simple flows.

Now the tricky part: OVS 2.6.90 came with two new features that I want to use, namely connection tracking (ct) and NAT (nat). I have configured my nat successfully using ovs-vsctl on the OVS VM but I am struggling to find out what I need to do to be able to do the same thing by sending OF messages to OVS via the NBI of ODL.

I won't paste all my flows here but one that I can add with ovs-vsctl that I cannot get to work through the NBI is: ovs-ofctl add-flow br0 table=1,priority=200,in_port=2,actions=ct(commit,zone=10,nat(dst=1.1.1.1)),3

The problematic part for me is the "ct(commit,zone=10,nat(dst=1.1.1.1)),3" as the ct and nat features are new and I have to idea how to find out how to use them with ODL.

Any help at all would be great - point me at docs, other threads, anything at all to help. At the back of my head is a thought that says I have to somehow make sure that a model has been updated with the new capabilities but that is a guess and I cannot find any info on this at all.

Thanks for any help.

Rich

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2016-10-14 05:30:48 -0700

Hello Rich,

I believe those Nicira extensions are not yet implemented in OpenDaylight, reason why you can't get them to work.

This is where you would find current implementation for stable/beryllium, branch you're using: https://github.com/opendaylight/openf...

Regarding the models, they resides under src/main/yang of the repository mentioned above.

You might also want to look at the codec implementation, allowing the serialization and deserialization of OpenFlow messages: https://github.com/opendaylight/openf...

Hope this helps, Alexis

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2016-09-29 06:43:29 -0700

Seen: 204 times

Last updated: Oct 14 '16