[ovs-dev] [PATCH v2] Support port level IPFIX

2016-04-24 Thread Benli Ye
2) Clear ovs-vsctl clear Port port0 ipfix Signed-off-by: Benli Ye --- lib/odp-util.c| 32 +++- lib/odp-util.h| 19 +- ofproto/ofproto-dpif-ipfix.c | 403 +++--- ofproto/ofproto-dpif-ipfix.h | 17 ++ ofproto/ofproto-dpi

[ovs-dev] [PATCH v1] ipfix: Bug fix for configuring IPFIX for flows

2016-05-27 Thread Benli Ye
tapath flow should only contain the sample action like below: id(0),in_port(2),eth_type(0x0800),ipv4(frag=no), packets:9, bytes:871, used:0.656s, actions:sample(sample=100.0%,actions(userspace(pid=4294962911, flow_sample(probability=65535,collector_set_id=1,obs_domain_id=123, obs_point_id=4

[ovs-dev] [PATCH v1] ipfix: add support for exporting ipfix statistics

2016-05-27 Thread Benli Ye
errs: Count of IPV6 flow packet in the error packets. tx errs: the count of IPFIX exported packets failed when sending to the collector(s). Signed-off-by: Benli Ye --- include/openflow/nicira-ext.h| 16 include/openvswitch/ofp-errors.h | 8 ++ include/openvswitch/ofp-msgs.h

[ovs-dev] [PATCH v1] ipfix: support tunnel information for Flow IPFIX

2016-06-02 Thread Benli Ye
he output port and sampling_port are both open flow port and the output port is the GRE tunnel port. 6) Ping from the contain whose host enable IPFIX 6) Get the IPFIX template pakcets and IPFIX information packets. Signed-off-by: Benli Ye --- include/openvswitch/ofp-actio

[ovs-dev] [PATCH v2] ipfix: add support for exporting ipfix statistics

2016-06-02 Thread Benli Ye
errs: Count of IPV6 flow packet in the error packets. tx errs: the count of IPFIX exported packets failed when sending to the collector(s). Signed-off-by: Benli Ye --- include/openflow/nicira-ext.h| 16 +++ include/openvswitch/ofp-errors.h | 8 ++ include/openvswitch/ofp-msgs.h

[ovs-dev] [PATCH v3] ipfix: add support for exporting ipfix statistics

2016-06-08 Thread Benli Ye
6 flow packet in the error packets. tx errs: the count of IPFIX exported packets failed when sending to the collector(s). Signed-off-by: Benli Ye --- NEWS | 2 + include/openflow/nicira-ext.h| 17 include/openvswitch/ofp-errors.h | 8 ++ include/openvswitc

[ovs-dev] [PATCH v2] ipfix: support tunnel information for Flow IPFIX

2016-06-08 Thread Benli Ye
obs_point_id=456,sampling_port=3')',output:3' Note: The in-port is container port. The output port and sampling_port are both open flow port and the output port is a GRE tunnel port. 6) Ping from the container whose host enabled flow-based IPFIX. 7) Get

[ovs-dev] [PATCH v4] ipfix: add support for exporting ipfix statistics

2016-06-09 Thread Benli Ye
6 flow packet in the error packets. tx errs: the count of IPFIX exported packets failed when sending to the collector(s). Signed-off-by: Benli Ye --- NEWS | 2 + include/openflow/nicira-ext.h| 17 include/openvswitch/ofp-errors.h | 8 ++ include/openvswitc

[ovs-dev] [PATCH v3] ipfix: support tunnel information for Flow IPFIX

2016-06-10 Thread Benli Ye
=65535,collector_set_id=1,obs_domain_id=123, obs_point_id=456,sampling_port=3')',output:3' Note: The in-port is container port. The output port and sampling_port are both open flow port and the output port is a GRE tunnel port. 6) Ping from the container

[ovs-dev] [PATCH v5] ipfix: add support for exporting ipfix statistics

2016-06-10 Thread Benli Ye
6 flow packet in the error packets. tx errs: the count of IPFIX exported packets failed when sending to the collector(s). Signed-off-by: Benli Ye --- NEWS | 2 + include/openflow/nicira-ext.h| 17 include/openvswitch/ofp-errors.h | 8 ++ include/openvswitc

[ovs-dev] [PATCH v1] ipfix: Bug fix for not sending template packets on 32-bit OS

2016-06-10 Thread Benli Ye
'last_template_set_time' in truct dpif_ipfix_exporter is declared as time_t and time_t is long int type. If we initialize 'last_template_set_time' as TIME_MIN, whose value is -2147483648 on 32-bit OS and -2^63 on 64-bit OS. There will be a problem on 32-bit OS when comparing 'last_template_set_time

[ovs-dev] [PATCH v4] ipfix: support tunnel information for Flow IPFIX

2016-06-10 Thread Benli Ye
=65535,collector_set_id=1,obs_domain_id=123, obs_point_id=456,sampling_port=3')',output:3' Note: The in-port is container port. The output port and sampling_port are both open flow port and the output port is a GRE tunnel port. 6) Ping from the container

[ovs-dev] [PATCH v5] ipfix: support tunnel information for Flow IPFIX

2016-06-11 Thread Benli Ye
obs_point_id=456,sampling_port=3')',output:3' Note: The in-port is container port. The output port and sampling_port are both open flow port and the output port is a GRE tunnel port. 6) Ping from the container whose host enabled flow-based IPFIX. 7) Get

[ovs-dev] [PATCH v6] ipfix: support tunnel information for Flow IPFIX

2016-06-12 Thread Benli Ye
=65535,collector_set_id=1,obs_domain_id=123, obs_point_id=456,sampling_port=3')',output:3' Note: The in-port is container port. The output port and sampling_port are both open flow port and the output port is a GRE tunnel port. 6) Ping from the

[ovs-dev] [PATCH v6] ipfix: add support for exporting ipfix statistics

2016-06-12 Thread Benli Ye
6 flow packet in the error packets. tx errs: the count of IPFIX exported packets failed when sending to the collector(s). Signed-off-by: Benli Ye --- NEWS | 2 + include/openflow/nicira-ext.h| 17 include/openvswitch/ofp-errors.h | 8 ++ include/openvswitc

[ovs-dev] [PATCH v2] ipfix: Bug fix for not sending template packets on 32-bit OS

2016-06-13 Thread Benli Ye
it OS when comparing 'last_template_set_time' with a unisgned int type variable, because type casting will happen and negative value could be a large positive number. Fix this problem by simply initialize 'last_template_set_time' as 0. Signed-off-by: Benli Ye --- ofproto/ofproto-dpif-ipfix.c | 4

[ovs-dev] [PATCH v7] ipfix: support tunnel information for Flow IPFIX

2016-06-14 Thread Benli Ye
w mybridge in_port=1, actions=sample'('probability=65535,collector_set_id=1,obs_domain_id=123, obs_point_id=456,sampling_port=3')',output:3' Note: The in-port is container port. The output port and sampling_port are both open flow port and the out

[ovs-dev] [PATCH v1] Fix IPFIX test cases issue

2016-07-07 Thread Benli Ye
port 4739 on local host is not listened. Remove XFAIL check for 'Flow IPFIX sanity check - tunnel set', as this test had “UNEXPECTED PASS” on Windows. More detail, please refer the following link. https://www.mail-archive.com/dev@openvswitch.org/msg65229.html Reported-by: Paul Boca Signed

[ovs-dev] [PATCH v1] Support port level IPFIX

2016-04-19 Thread Daniel Benli Ye
From: Benli Ye This patch enables port level IPFIX. Before this patch, OVS supported per bridge IPFIX and per flow IPFX, and exporting packet tunnel headers is only supported by bridge IPFIX. This patch adds port level IPFIX for easy configuration and port level IPFIX also supports exporting

[ovs-dev] [PATCH v1] ipfix: Add ingress and egress interface in exporting flows

2016-05-13 Thread Daniel Benli Ye
VS bridge to differentiate the flows above. Signed-off-by: Daniel Benli Ye --- ofproto/ofproto-dpif-ipfix.c | 8 +++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif-ipfix.c b/ofproto/ofproto-dpif-ipfix.c index 59cd884..2d1f7a8 100644 --- a/ofproto/ofproto-

[ovs-dev] [PATCH v2] ipfix: Add ingress and egress interface in exporting flows

2016-06-30 Thread Daniel Benli Ye
VS bridge to differentiate the flows above. Use IPFIX Information Element identifiers "ingressInterface" and "egressInterface" in rfc5102 to carry the information. Signed-off-by: Benli Ye --- v1 -> v2: - Use 32bit odp_port instead of ofp_port. - Fix some "sparse" wa