Skip to content

Commit

Permalink
Add clusterId IE to Antrea registry (#379)
Browse files Browse the repository at this point in the history
As a way to identify the K8s cluster from which the IPFIX record was
exported.

The IE is of type string to allow for enough flexibility. This could be
a qualified name or a UUID (for example). It should uniquely identify
the cluster (to an external IPFIX collector).

Signed-off-by: Antonin Bas <[email protected]>
  • Loading branch information
antoninbas authored Jan 2, 2025
1 parent 23e5f35 commit c3f89ed
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions pkg/registry/registry_antrea.csv
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,4 @@ ElementID,Name,Abstract Data Type,Data Type Semantics,Status,Description,Units,R
155,appProtocolName,string,,current,,,,,,,,56506,
156,httpVals,string,,current,,,,,,,,56506,
157,egressNodeName,string,,current,,,,,,,,56506,
158,clusterId,string,,current,,,,,,,,56506,
1 change: 1 addition & 0 deletions pkg/registry/registry_antrea.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,5 @@ func loadAntreaRegistry() {
registerInfoElement(*entities.NewInfoElement("appProtocolName", 155, 13, 56506, 65535), 56506)
registerInfoElement(*entities.NewInfoElement("httpVals", 156, 13, 56506, 65535), 56506)
registerInfoElement(*entities.NewInfoElement("egressNodeName", 157, 13, 56506, 65535), 56506)
registerInfoElement(*entities.NewInfoElement("clusterId", 158, 13, 56506, 65535), 56506)
}

0 comments on commit c3f89ed

Please sign in to comment.