Wrong DlActionVlan was being set for HSIA flow through a harcoding.
Removed the hard-coding and derive it from o_vid classifier.
Change-Id: I42ddf5766306213148192b4ac049ee414ed28ad6
diff --git a/core/workflow_utils.go b/core/workflow_utils.go
index 3260816..d4d16f9 100644
--- a/core/workflow_utils.go
+++ b/core/workflow_utils.go
@@ -30,7 +30,6 @@
const (
//Constants utilised while forming HSIA Flow
HsiaFlow = "HSIA_FLOW"
- DownStreamHsiaActionOVid = 4108 //Used in Downstream HSIA
//Constants utilised while forming DHCP Flow
DhcpFlow = "DHCP_FLOW"
@@ -137,7 +136,7 @@
flowClassifier.PktTagType = DoubleTag
actionCmd.RemoveOuterTag = true
actionInfo.Cmd = &actionCmd
- actionInfo.OVid = DownStreamHsiaActionOVid
+ actionInfo.OVid = subs.Stag
default:
log.Errorw("Unsupported flow type", log.Fields{"flowtype": flowType,
"direction": direction})