neutron/neutron/services
leegy a01780203b 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 92db1d4a2c)
2018-04-16 16:34:22 +00:00
..
auto_allocate Add OVO for AutoAllocatedTopology 2017-01-17 14:24:10 -06:00
externaldns Fix port deletion when dns_integration is enabled 2017-11-06 11:12:33 +00:00
flavors Make service plugins' get_plugin_type classmethods 2016-06-07 15:33:07 -05:00
l3_router neutron-lib: use L3 constant 2017-01-11 04:27:56 -08:00
loki Add Loki service plugin for optional DB havoc 2017-02-03 05:12:33 -08:00
metering Fix meter-label-rule creation 2018-04-16 16:34:22 +00:00
network_ip_availability Fix importing old path for exceptions 2017-01-19 14:53:49 +09:00
qos Don't create new QoS policy during update operation 2017-11-27 20:21:29 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Register sqlalchemy events through hook for UT cleanup 2017-01-20 04:15:01 -08:00
segments Honor the common session options for the placement API 2017-06-30 13:41:21 +00:00
tag Use correct retry mechanism in tags 2017-04-28 12:11:20 +00:00
timestamp Register sqlalchemy events through hook for UT cleanup 2017-01-20 04:15:01 -08:00
trunk Correct the config group in check_trunk_dependencies 2017-08-25 14:48:07 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Use DB field sizes instead of _MAX_LEN constants 2016-12-23 13:48:57 +00:00
service_base.py Adding the appropriate log hints where needed 2016-06-30 07:35:24 +00:00