Akosiaris has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/89791


Change subject: Adding IPv4/6 networks in ferms defs
......................................................................

Adding IPv4/6 networks in ferms defs

This is crude and rudimentary. We need to handle that better possibly
through some templating and properly organizing network.pp

Change-Id: If8584203b0c31afc5f0f4590cfc9cdbfc245878a
---
M modules/base/files/firewall/defs.production
1 file changed, 5 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/91/89791/1

diff --git a/modules/base/files/firewall/defs.production 
b/modules/base/files/firewall/defs.production
index 1e2a8ca..e761c91 100644
--- a/modules/base/files/firewall/defs.production
+++ b/modules/base/files/firewall/defs.production
@@ -4,4 +4,8 @@
 
 @def $INTERNAL_V4 = (10.0.0.0/8);
 @def $INTERNAL_V6 = (2620:0:100::/56);
-@def $INTERNAL = ($INTERNAL_V4 $INTERNAL_V6);
\ No newline at end of file
+@def $INTERNAL = ($INTERNAL_V4 $INTERNAL_V6);
+
+# TODO: This should be better handled. For now just copied all_networks from 
class network::constants
+@def $ALL_IPV4_NETWORKS = (91.198.174.0/24 208.80.152.0/22 10.0.0.0/8 
185.15.56.0/22 198.35.26.0/23 2a02:ec80::/32);
+@def $ALL_IPV6_NETWORKS = (2620:0:860::/46 2a02:ec80::/32);

-- 
To view, visit https://gerrit.wikimedia.org/r/89791
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If8584203b0c31afc5f0f4590cfc9cdbfc245878a
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Akosiaris <akosia...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to