]> git.openstreetmap.org Git - chef.git/blobdiff - roles/spike-08.rb
Add ae60 to uplink interfaces in Amsterdam
[chef.git] / roles / spike-08.rb
index 836c0f41bc872bda5aae0fdc1fed43062fb69428..e73190fc4a3478bfce92bfffd1e463253b725e09 100644 (file)
@@ -17,14 +17,38 @@ default_attributes(
           :slaves => %w[eno1 eno2]
         }
       },
-      :external => {
+      :external_cogent => {
         :interface => "bond0.2",
         :role => :external,
+        :source_route_table => 100,
+        :inet => {
+          :address => "130.117.76.13",
+          :prefix => "27",
+          :gateway => "130.117.76.1"
+        },
+        :inet6 => {
+          :address => "2001:978:2:2c::172:d",
+          :prefix => "64",
+          :gateway => "2001:978:2:2c::172:1",
+          :routes => {
+            "2001:470:1:b3b::/64" => { :type => "unreachable" }
+          }
+        }
+      },
+      :external => {
+        :interface => "bond0.3",
+        :role => :external,
+        :metric => 150,
+        :source_route_table => 150,
         :inet => {
-          :address => "130.117.76.13"
+          :address => "184.104.179.141",
+          :prefix => "27",
+          :gateway => "184.104.179.129"
         },
         :inet6 => {
-          :address => "2001:978:2:2c::172:d"
+          :address => "2001:470:1:fa1::d",
+          :prefix => "64",
+          :gateway => "2001:470:1:fa1::1"
         }
       }
     }