From c0d14d1381934a519baa3bd4b818634938e2246b Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Tue, 19 Jun 2012 16:04:47 +0200 Subject: [PATCH] Allow KVM migration --- modules/ferm/manifests/per-host.pp | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/modules/ferm/manifests/per-host.pp b/modules/ferm/manifests/per-host.pp index c12e055f5..de13cb687 100644 --- a/modules/ferm/manifests/per-host.pp +++ b/modules/ferm/manifests/per-host.pp @@ -229,4 +229,13 @@ REJECT reject-with icmp-admin-prohibited default: {} } + + # live ganeti migration + case $::hostname { + tristano: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.217 ACCEPT'; } } + pasquini: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.213 ACCEPT'; } } + bertali: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.216 ACCEPT'; } } + boito: { @ferm::rule { 'dsa-ganeti-migrate': rule => 'interface br1 proto tcp dport 8102 src 192.168.2.212 ACCEPT'; } } + default: {} + } } -- 2.20.1