On 2/13/25 7:50 PM, Brendan Doyle via discuss wrote:
> Hi,
> 

Hi Brendan,

> 
> Does the ACL sampling only work for stateful ACLs?
> 

No, it works for all kinds of ACLs.

> Also how is the sample data queried?
> 

The data is forwarded to a collector based on configuration in the local
OVS database.  That can be an IPFIX or a local collector:

https://github.com/openvswitch/ovs/blob/9f7eb58f77da9fd453dbfd211eb619fdb5273416/vswitchd/vswitch.xml#L7094-L7149

> And is there any documentation/tutorial on this that shows how to use it?
> 

Here's an end-to-end example from the OVN system tests.  This one uses
an IPFIX collector.

https://github.com/ovn-org/ovn/blob/800fd0681579a553c5d381dfcd30cc7ff1a50798/tests/system-ovn.at#L13353-L13567

> The ovn-nbctl section on it is pretty minimal

That's true, maybe we should improve the documentation on this front.
In case it helps, however, here's a link to a talk Nadia, Adrian and I
did on OVS/OVN/OVN-K sampling at ovscon '24:

https://www.openvswitch.org/support/ovscon2024/#t19
https://www.youtube.com/watch?v=gLwDsaiUuN4&t=2s

I'm not sure why the slides are not linked on the conference page but if
you think you need them I can try to share those too.

Regards,
Dumitru

> 
> Thanks
> 
> Brendan
> 

_______________________________________________
discuss mailing list
disc...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss

Reply via email to