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:
@@ -35,4 +35,8 @@ class cloud::network::l3(
|
|||||||
bridge => 'br-ex'
|
bridge => 'br-ex'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
class { 'neutron::agents::metering':
|
||||||
|
debug => $debug,
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -79,6 +79,12 @@ describe 'cloud::network::l3' do
|
|||||||
:handle_internal_only_routers => false
|
:handle_internal_only_routers => false
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
|
||||||
|
it 'configure neutron metering agent' do
|
||||||
|
should contain_class('neutron::agents::metering').with(
|
||||||
|
:debug => true
|
||||||
|
)
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
context 'on Debian platforms' do
|
context 'on Debian platforms' do
|
||||||
|
|||||||
Reference in New Issue
Block a user