[neutron][ovn] Logical Port Statistics
Hello all, Is anyone aware of a method to gather statistics (bytes in/out, packets, etc.) for logical router ports or similar when using ML2/OVN? I understand neutron-metering-agent parity is currently a feature gap, but I’m curious if there’s some OVN-native functionality that can provide those details. The ask is to provide a bytes-in/out counter for tenant routers, specifically on the external interface(s). Thanks, James Get Outlook for Mac <https://aka.ms/GetOutlookForMac>
Not that this helps too much but we resulted to writing an agent that pulls the information directly from openvswitch etc. We then combined that with Netflow from our PE routing edge. —Karl. Karl Kloppenborg Chief Technology Officer m: +61 437 239 565 resetdata.com<https://resetdata.com/> [cid:reset_69557fc2-1d63-4932-b5fd-93bd4f39ca7b.png] ResetData supports Mandatory Client Related Financial Disclosures – Scope 3 Emissions Reporting For more information on the phasing of these requirements for business please visit; https://treasury.gov.au/sites/default/files/2024-01/c2024-466491-policy-state.pdf<https://treasury.gov.au/sites/default/files/2024-01/c2024-466491-policy-state.pdf> This email transmission is intended only for the addressee / person responsible for delivery of the message to such person and may contain confidential or privileged information. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you, nor may you use, review, disclose, disseminate or copy any information contained in or attached to it. Whilst this email has been checked for viruses, the sender does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. If you received this e-mail in error please delete it and any attachments and kindly notify us by immediately sending an email to contact@resetdata.com.au<mailto:contact@resetdata.com.au> From: James Denton <james.denton@rackspace.com> Date: Friday, 29 August 2025 at 4:04 am To: openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: [neutron][ovn] Logical Port Statistics You don't often get email from james.denton@rackspace.com. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hello all, Is anyone aware of a method to gather statistics (bytes in/out, packets, etc.) for logical router ports or similar when using ML2/OVN? I understand neutron-metering-agent parity is currently a feature gap, but I’m curious if there’s some OVN-native functionality that can provide those details. The ask is to provide a bytes-in/out counter for tenant routers, specifically on the external interface(s). Thanks, James Get Outlook for Mac<https://aka.ms/GetOutlookForMac>
Hello James: In ML2/OVN you can use the ML2/OVN Network Logging ( https://docs.openstack.org/neutron/latest/contributor/internals/ovn/ovn_netw...). Right now it works for security groups. That will create a meter register that monitors the traffic of a OVN Port Group (a SG in Neutron terms). Maybe it could be possible to propose an extension to this feature to monitor single ports. It could be a feasible RFE. Regards. On Fri, Aug 29, 2025 at 1:20 AM Karl Kloppenborg < kkloppenborg@resetdata.com.au> wrote:
Not that this helps too much but we resulted to writing an agent that pulls the information directly from openvswitch etc. We then combined that with Netflow from our PE routing edge.
—Karl.
Karl Kloppenborg
Chief Technology Officer
m: *+61 437 239 565* *resetdata.com <https://resetdata.com/>*
[image: reset.png]
*ResetData supports Mandatory Client Related Financial Disclosures – Scope 3 Emissions Reporting*For more information on the phasing of these requirements for business please visit; *https://treasury.gov.au/sites/default/files/2024-01/c2024-466491-policy-stat... <https://treasury.gov.au/sites/default/files/2024-01/c2024-466491-policy-state.pdf>*
This email transmission is intended only for the addressee / person responsible for delivery of the message to such person and may contain confidential or privileged information. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you, nor may you use, review, disclose, disseminate or copy any information contained in or attached to it. Whilst this email has been checked for viruses, the sender does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. If you received this e-mail in error please delete it and any attachments and kindly notify us by immediately sending an email to *contact@resetdata.com.au <contact@resetdata.com.au>* *From: *James Denton <james.denton@rackspace.com> *Date: *Friday, 29 August 2025 at 4:04 am *To: *openstack-discuss@lists.openstack.org < openstack-discuss@lists.openstack.org> *Subject: *[neutron][ovn] Logical Port Statistics
You don't often get email from james.denton@rackspace.com. Learn why this is important <https://aka.ms/LearnAboutSenderIdentification> Hello all,
Is anyone aware of a method to gather statistics (bytes in/out, packets, etc.) for logical router ports or similar when using ML2/OVN? I understand neutron-metering-agent parity is currently a feature gap, but I’m curious if there’s some OVN-native functionality that can provide those details. The ask is to provide a bytes-in/out counter for tenant routers, specifically on the external interface(s).
Thanks, James
Get Outlook for Mac <https://aka.ms/GetOutlookForMac>
Thank you both. Extending the network logging functionality is an interesting idea, and I’m happy to expand on the idea for monitoring single ports as an RFE. I’ve not been able to find a way to extrapolate statistics for a logical router port that doesn’t map to some logical switch port interface. The information is likely available in the individual flow(s), but that doesn’t sound like a fun job to try and collect. Thanks again, James Get Outlook for Mac <https://aka.ms/GetOutlookForMac> From: Rodolfo Alonso Hernandez <ralonsoh@redhat.com> Date: Friday, August 29, 2025 at 9:09 AM To: Karl Kloppenborg <kkloppenborg@resetdata.com.au> Cc: James Denton <james.denton@rackspace.com>, openstack-discuss@lists.openstack.org <openstack-discuss@lists.openstack.org> Subject: Re: [neutron][ovn] Logical Port Statistics CAUTION: This message originated externally, please use caution when clicking on links or opening attachments! Hello James: In ML2/OVN you can use the ML2/OVN Network Logging (https://docs.openstack.org/neutron/latest/contributor/internals/ovn/ovn_netw...). Right now it works for security groups. That will create a meter register that monitors the traffic of a OVN Port Group (a SG in Neutron terms). Maybe it could be possible to propose an extension to this feature to monitor single ports. It could be a feasible RFE. Regards. On Fri, Aug 29, 2025 at 1:20 AM Karl Kloppenborg <kkloppenborg@resetdata.com.au<mailto:kkloppenborg@resetdata.com.au>> wrote: Not that this helps too much but we resulted to writing an agent that pulls the information directly from openvswitch etc. We then combined that with Netflow from our PE routing edge. —Karl. Karl Kloppenborg Chief Technology Officer m: +61 437 239 565 resetdata.com<https://resetdata.com/> [reset.png] ResetData supports Mandatory Client Related Financial Disclosures – Scope 3 Emissions Reporting For more information on the phasing of these requirements for business please visit; https://treasury.gov.au/sites/default/files/2024-01/c2024-466491-policy-stat... This email transmission is intended only for the addressee / person responsible for delivery of the message to such person and may contain confidential or privileged information. Confidentiality and legal privilege are not waived or lost by reason of mistaken delivery to you, nor may you use, review, disclose, disseminate or copy any information contained in or attached to it. Whilst this email has been checked for viruses, the sender does not warrant that any attachments are free from viruses or other defects. You assume all liability for any loss, damage or other consequences which may arise from opening or using the attachments. If you received this e-mail in error please delete it and any attachments and kindly notify us by immediately sending an email to contact@resetdata.com.au<mailto:contact@resetdata.com.au> From: James Denton <james.denton@rackspace.com<mailto:james.denton@rackspace.com>> Date: Friday, 29 August 2025 at 4:04 am To: openstack-discuss@lists.openstack.org<mailto:openstack-discuss@lists.openstack.org> <openstack-discuss@lists.openstack.org<mailto:openstack-discuss@lists.openstack.org>> Subject: [neutron][ovn] Logical Port Statistics You don't often get email from james.denton@rackspace.com<mailto:james.denton@rackspace.com>. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification> Hello all, Is anyone aware of a method to gather statistics (bytes in/out, packets, etc.) for logical router ports or similar when using ML2/OVN? I understand neutron-metering-agent parity is currently a feature gap, but I’m curious if there’s some OVN-native functionality that can provide those details. The ask is to provide a bytes-in/out counter for tenant routers, specifically on the external interface(s). Thanks, James Get Outlook for Mac<https://aka.ms/GetOutlookForMac>
participants (3)
-
James Denton
-
Karl Kloppenborg
-
Rodolfo Alonso Hernandez