Skip to content

Commit

Permalink
feat: IPFIX biflow rework (#386)
Browse files Browse the repository at this point in the history
- Use biflows for IPFIX reporting CENNSO-1707
- IPFIX src field is always towards Access network and directs towards UE
- Precreate IPFIX context during session creation, so IPFIX templates can be sent before traffic
- Batching of IPFIX reports in single UDP message CENNSO-1708
- Export metric on amount of IPFIX reports and IPFIX packets sent CENNSO-1709
  • Loading branch information
mogaika authored Feb 16, 2024
1 parent 40ca5d1 commit 491f58e
Show file tree
Hide file tree
Showing 19 changed files with 797 additions and 996 deletions.
3 changes: 2 additions & 1 deletion test/e2e/framework/sessionconfig.go
Original file line number Diff line number Diff line change
Expand Up @@ -106,6 +106,7 @@ func newVendorSpecificU8IE(itype uint16, eid uint16, val uint8) *ie.IE {
}

func (cfg SessionConfig) ipfixTemplateIEs() []*ie.IE {
// IEs should be created for uplink FARs only
if cfg.IPFIXTemplate == "" {
return nil
}
Expand Down Expand Up @@ -184,7 +185,7 @@ func (cfg SessionConfig) reverseFAR(farID uint32, flag uint8) *ie.IE {
ie.NewFARID(farID),
ie.NewApplyAction(flag),
ie.NewForwardingParameters(fwParams...),
}, cfg.ipfixTemplateIEs()...)
})
return ie.NewCreateFAR(ies...)
}

Expand Down
Loading

0 comments on commit 491f58e

Please sign in to comment.