diff options
author | Adrian Moreno <amorenoz@redhat.com> | 2023-02-10 17:03:13 +0100 |
---|---|---|
committer | Ilya Maximets <i.maximets@ovn.org> | 2023-02-21 14:42:37 +0100 |
commit | 2b1c70656503ad9ce1e50a8b2457a846557bd20b (patch) | |
tree | ed0dd6ed270fb4659837591eeb9842704287a533 /.github/workflows | |
parent | 564dc0f2cc1a29ae5a3a87eb6a8ad9ebf84d8057 (diff) | |
download | openvswitch-2b1c70656503ad9ce1e50a8b2457a846557bd20b.tar.gz |
ofproto-ipfix: Use per-domain template timeouts.
IPFIX templates have to be sent for each Observation Domain ID.
Currently, a timer is kept at each dpif_ipfix_exporter to send them.
This works fine for per-bridge sampling where there is only one
Observation Domain ID per exporter. However, this is does not work for
per-flow sampling where more than one Observation Domain IDs can be
specified by the controller. In this case, ovs-vswitchd will only send
template information for one (arbitrary) DomainID.
Fix per-flow sampling by using an hmap to keep a timer for each
Observation Domain ID.
Signed-off-by: Adrian Moreno <amorenoz@redhat.com>
Reviewed-by: Simon Horman <simon.horman@corigine.com>
Signed-off-by: Ilya Maximets <i.maximets@ovn.org>
Diffstat (limited to '.github/workflows')
0 files changed, 0 insertions, 0 deletions