<div dir="ltr"><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Rubab Syed</b> <span dir="ltr"><<a href="mailto:rubab.syed21@gmail.com">rubab.syed21@gmail.com</a>></span><br>Date: Mon, Apr 25, 2016 at 11:20 PM<br>Subject: [OpenStack][Neutron][Monasca] Traffic counters at Layer 3<br>To: "OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a>><br><br><br><div dir="ltr">Hi folks,<div><br></div><div>I'm writing a plugin for Monasca to monitor traffic at layer 3. My Neutron backend is OVS and I'm using iptables of network namespaces for getting traffic counters. Would the following rules in router namespace cover all the traffic at layer 3 per router per tenant?</div><div><br></div><div>- Chain MONASCA-INPUT in filter table<br></div><div> - src: anywhere dest: gateway port IP // north-south traffic for SNATed and FIPs</div><div><br></div><div>- Chain MONASCA-FORWARD in filter table</div><div> - src: anywhere dest: anywhere // east-west traffic inter-network and intra-network</div><div><br></div><div>- Chain MONASCA-OUTPUT in filter table</div><div> - src: gateway port dest: anywhere // north-south traffic from VMs to public network</div><div><br></div><div><br></div><div>Would these be sufficient or am I missing something?</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Rubab</div></font></span></div>
</div><br></div>