network/l3: add metering agent

Neutron Metering Agent allow to track the traffic used by each tenant
from North to South (Public to internal) networks and vice-versa.

Signed-off-by: Emilien Macchi <emilien.macchi@enovance.com>
This commit is contained in:
Emilien Macchi
2014-02-14 14:57:15 +01:00
parent c81f713917
commit ea73a9be94
2 changed files with 10 additions and 0 deletions

View File

@@ -35,4 +35,8 @@ class cloud::network::l3(
bridge => 'br-ex'
}
class { 'neutron::agents::metering':
debug => $debug,
}
}

View File

@@ -79,6 +79,12 @@ describe 'cloud::network::l3' do
:handle_internal_only_routers => false
)
end
it 'configure neutron metering agent' do
should contain_class('neutron::agents::metering').with(
:debug => true
)
end
end
context 'on Debian platforms' do