Save ebtables/iptables state

This commit is contained in:
Dean Troyer 2013-03-07 15:10:36 -06:00
parent e29d9d7618
commit 7a142b7ede
1 changed files with 9 additions and 0 deletions

View File

@ -48,6 +48,15 @@ for db in keystone glance nova cinder swift; do
done
# Save ebtables/iptables
# ----------------------
sudo iptables-save >$SAVE_DIR/iptables.$BASE_RELEASE
sudo ebtables -t broute -L >$SAVE_DIR/ebtables-broute.$BASE_RELEASE
sudo ebtables -t filter -L >$SAVE_DIR/ebtables-filter.$BASE_RELEASE
sudo ebtables -t nat -L >$SAVE_DIR/ebtables-nat.$BASE_RELEASE
set +o xtrace
echo "*********************************************************************"
echo "SUCCESS: End $0"