[VOL-5374] Upgrade go version to v1.23
Change-Id: I11655451672cc7bae9cc92cddcaa563ac50d7de4
Signed-off-by: Akash Reddy Kankanala <akash.kankanala@radisys.com>
diff --git a/internal/pkg/application/service.go b/internal/pkg/application/service.go
index e060548..ae6f313 100644
--- a/internal/pkg/application/service.go
+++ b/internal/pkg/application/service.go
@@ -82,7 +82,8 @@
// MacAddress - The MAC hardware address learnt on the UNI interface
// MacAddresses - Not yet implemented. To be used to learn more MAC addresses
type VoltServiceCfg struct {
- DsRemarkPbitsMap map[int]int // Ex: Remark case {0:0,1:0} and No-remark case {1:1}
+ FlowPushCount map[string]int64 // Tracks the number of flow install/delete failure attempts per cookie in order to throttle flow auditing
+ DsRemarkPbitsMap map[int]int // Ex: Remark case {0:0,1:0} and No-remark case {1:1}
Name string
CircuitID string
Port string
@@ -94,9 +95,9 @@
RemoteIDType string
DataRateAttr string
ServiceType string
- MacAddr net.HardwareAddr
- RemoteID []byte
Pbits []of.PbitType
+ RemoteID []byte
+ MacAddr net.HardwareAddr
Trigger ServiceTrigger
MacLearning MacLearningType
ONTEtherTypeClassification int
@@ -155,8 +156,8 @@
// VoltService structure
type VoltService struct {
- VoltServiceOper
Version string
+ VoltServiceOper
VoltServiceCfg
}
@@ -214,6 +215,7 @@
vs.Ipv6Addr = net.ParseIP("::")
vs.PendingFlows = make(map[string]bool)
vs.AssociatedFlows = make(map[string]bool)
+ vs.FlowPushCount = make(map[string]int64)
return &vs
}