neutron/neutron
leegy 92db1d4a2c 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
2017-12-03 09:20:53 +00:00
..
agent Merge "Fix HA router initialization exception" 2017-12-02 20:33:37 +00:00
api Support that an extension extends a sub-resource 2017-11-15 08:59:45 +01:00
callbacks Merge "service: add callback AFTER_SPAWN" 2017-05-20 09:09:12 +00:00
cmd Merge "Refactoring db config options" 2017-11-01 23:58:06 +00:00
common Merge "Router to OVO" 2017-11-30 13:02:22 +00:00
conf [QoS] Add info about rate limiting on router's ports 2017-11-28 20:39:35 +00:00
core_extensions use qos constants from neutron-lib 2017-10-26 19:57:19 +00:00
db Merge "Revert "Revert "objects: get, update and delete converted to Subnet OVO usage""" 2017-12-02 03:23:59 +00:00
debug Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
extensions [L3][QoS] Neutron server side Floating IP QoS 2017-11-29 16:45:38 +08:00
hacking hacking: Remove dead code 2017-07-19 13:43:44 +02:00
ipam Remove unused variables ‘LOG' 2017-11-23 04:33:33 +08:00
locale Imported Translations from Zanata 2017-07-18 08:36:04 +00:00
notifiers use synchronized lock decorator from neutron-lib 2017-10-04 13:57:42 -06:00
objects Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
pecan_wsgi Remove unused variables ‘LOG' 2017-11-23 04:33:33 +08:00
plugins Revert "Revert "objects: get, update and delete converted to Subnet OVO usage"" 2017-12-01 16:45:50 +07:00
privileged Change ip_lib network namespace code to use pyroute2 2017-10-04 21:09:28 +00:00
quota CountableResource: try count/get functions for all plugins 2017-09-08 10:50:12 -07:00
scheduler Use Agent OVO in agents_db and test_agents_db 2017-11-03 16:46:09 +07:00
server Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
services Fix meter-label-rule creation 2017-12-03 09:20:53 +00:00
tests Fix meter-label-rule creation 2017-12-03 09:20:53 +00:00
__init__.py
_i18n.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
auth.py Use oslo.context class method to construct context object 2017-03-23 09:02:46 +00:00
manager.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
neutron_plugin_base_v2.py Do not load default service plugins if core plugin is not DB based 2017-11-09 20:34:52 +00:00
opts.py Merge "Renamed ovs_vsctl_timeout into ovsdb_timeout" 2017-11-13 09:25:20 +00:00
policy.py Merge "Log policy filters in one line" 2017-08-23 11:09:37 +00:00
service.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00
version.py
worker.py replace WorkerSupportServiceMixin with neutron-lib's WorkerBase 2017-06-14 06:56:48 -06:00
wsgi.py Make code follow log translation guideline 2017-08-14 02:01:48 +00:00