neutron/neutron/services
leegy a06e6b20f7 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-20 17:58:09 +00:00
..
auto_allocate Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
externaldns Fix port deletion when dns_integration is enabled 2017-09-07 09:21:12 +00:00
flavors Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
l3_router Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
logapi [log]: Add validator to logging api 2017-08-08 13:25:40 +07:00
loki Consume ServicePluginBase from neutron-lib 2017-03-17 12:06:57 -06:00
metering Fix meter-label-rule creation 2018-04-20 17:58:09 +00:00
network_ip_availability Fix file permissions 2017-05-31 20:49:01 +00:00
qos Merge "Fix error message when duplicate QoS rule is created" into stable/pike 2018-03-08 14:29:07 +00:00
rbac Neutron RBAC API and network support 2015-08-20 20:00:17 -07:00
revisions Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
segments Add retry decorator update_segment_host_mapping() 2018-01-23 19:33:59 +00:00
tag Tag mechanism supports resources with standard attribute 2017-07-25 08:14:04 +09:00
timestamp Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
trunk Speed up trunk MTU enforcement check 2018-01-17 03:23:28 +00:00
__init__.py Empty files should not contain copyright or license 2014-10-20 00:50:32 +00:00
provider_configuration.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00
service_base.py Make code follow log translation guideline 2017-08-14 10:53:33 -07:00