From ce2162dfeeab24277d8553d4e52889b31f70d032 Mon Sep 17 00:00:00 2001 From: arvindvis Date: Fri, 17 Feb 2017 16:59:52 -0800 Subject: [PATCH] This makes the 7 tuple that identifies a flow record mandatory. So in case any of the 7 tuple is not set we take default value. Closes-Bug:#1664449 Change-Id: Ib79351f262887a8f3f7ff5ab241a935e4b63b11e --- src/sandesh/common/flow.sandesh | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/sandesh/common/flow.sandesh b/src/sandesh/common/flow.sandesh index cdc5ec9b262..bcb87f08ea7 100644 --- a/src/sandesh/common/flow.sandesh +++ b/src/sandesh/common/flow.sandesh @@ -11,13 +11,13 @@ struct FlowLogData { 1: string flowuuid; 2: byte direction_ing; - 3: optional string sourcevn; - 4: optional ipaddr sourceip; - 5: optional string destvn; - 6: optional ipaddr destip; - 7: optional byte protocol; - 8: optional i16 sport; - 9: optional i16 dport; + 3: string sourcevn; + 4: ipaddr sourceip; + 5: string destvn; + 6: ipaddr destip; + 7: byte protocol; + 8: i16 sport; + 9: i16 dport; 11: optional u16 tcp_flags; 12: optional string vm; 16: optional string reverse_uuid;