[ovs-discuss] how to use ovs-conntrack
Zhang, Chunyu
zhangcy at cn.fujitsu.com
Wed Jun 24 02:13:40 UTC 2015
hi Justin
>
>> On Jun 23, 2015, at 12:37 PM, Zhang, Chunyu <zhangcy at cn.fujitsu.com> wrote:
>>
>> hi all
>>
>> i want to use ovs-conntrack.
>> i know ovs is in : https://github.com/justinpettit/ovs/tree/conntrack
>> i know kernel module should change : https://lkml.org/lkml/2015/3/2/835
>>
>> my question is :
>>
>> 1. ovs-conntrack use
>> should i use those patch ? https://lkml.org/lkml/2015/3/2/835
>
>I would use the OVS repo. Those were RFC patches and represent the code on that day. The OVS repo is more current (there have been a number of bug fixes) and also contains the userspace parts that you need.
>
>> 2. if i must use those kernel patch
>> github( kernel+ovs kernel patch ) address is ?
>
>As I mentioned, I'd recommend using the OVS repo, which has all the parts you need. It should be rebased against OVS master in the next couple of days. I imagine an updated kernel portion will be sent out to netdev in the next few weeks.
I found 2 ovs repo in Kernel.org git repositories
1. https://git.kernel.org/cgit/linux/kernel/git/pshelar/openvswitch.git/?h=net_next_ovs
2. https://git.kernel.org/cgit/linux/kernel/git/jesse/openvswitch.git/
which one you will push ?
I git clone net_next_ovs, but not find any kernel patch for ovs-conntrack
thanks
>
>> 3. ovs-ofctl command
>> in our project , we use nf_conntrack extension :
>>
>> static struct nf_ct_ext_type nf_ct_colo_extend __read_mostly = {
>> .len = sizeof(struct nf_conn_colo),
>> .move = nf_ct_colo_extend_move,
>> .destroy = nf_ct_colo_extend_destroy,
>> .align = __alignof__(struct nf_conn_colo),
>> .id = NF_CT_EXT_COLO,
>> };
>>
>> if i want to nf_conntrack extension work.
>> ovs-ofctl command is ?
>> please give me some example and advise
>
>If you use the OVS repo, the man pages for ovs-ofctl were updated. Look for the new "ct" action and "conn_state" match.
>
>--Justin
>
>
More information about the discuss
mailing list