commit a06e6b20f7ef6c9a94950e214aab77d1c164865a
Author: leegy <email address hidden>
Date: Sun Oct 29 05:35:55 2017 +0000
Fix meter-label-rule creation
The existing method is to meter outgoing traffic from the entire VM
to a specific "remote_ip_addr"(in case of outbound),
but the method I suggested can meter outgoing traffic
from a particular subnet to external network.
From a metering point of view,
it does not matter which address/CIDR is the destination for outbound.
But, it is important to know where(subnet or VM) the packet leaves from.
That way you can see how much VMs are using the external network.
For outbound metering, dst is 0.0.0.0/0 and src is network of VMs
and for inbound metering, src is 0.0.0.0/0 and dst is network of VMs.
When creating a meter-label-rule, it is correct
to specify src address for "remote_ip_prefix" option for outbound
and specify dst address for inbound.
If you are confused by the term "remote_ip_prefix",
you need to clarify this option.
Change-Id: Ia3f3e26410a73d7b44abae637703fda41c4bc09a
Closes-Bug: #1716913
(cherry picked from commit 92db1d4a2c49b1f675b6a9552a8cc5a417973b64)
Reviewed: https:/ /review. openstack. org/561667 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=a06e6b20f7e f6c9a94950e214a ab77d1c164865a
Committed: https:/
Submitter: Zuul
Branch: stable/pike
commit a06e6b20f7ef6c9 a94950e214aab77 d1c164865a
Author: leegy <email address hidden>
Date: Sun Oct 29 05:35:55 2017 +0000
Fix meter-label-rule creation
The existing method is to meter outgoing traffic from the entire VM
to a specific "remote_ip_addr"(in case of outbound),
but the method I suggested can meter outgoing traffic
from a particular subnet to external network.
From a metering point of view,
it does not matter which address/CIDR is the destination for outbound.
But, it is important to know where(subnet or VM) the packet leaves from.
That way you can see how much VMs are using the external network.
For outbound metering, dst is 0.0.0.0/0 and src is network of VMs
and for inbound metering, src is 0.0.0.0/0 and dst is network of VMs.
When creating a meter-label-rule, it is correct
to specify src address for "remote_ip_prefix" option for outbound
and specify dst address for inbound.
If you are confused by the term "remote_ip_prefix",
you need to clarify this option.
Change-Id: Ia3f3e26410a73d 7b44abae637703f da41c4bc09a 675b6a9552a8cc5 a417973b64)
Closes-Bug: #1716913
(cherry picked from commit 92db1d4a2c49b1f