]> git.openstreetmap.org Git - chef.git/blobdiff - roles/odin.rb
Make bond configuration more robust
[chef.git] / roles / odin.rb
index 8263b6e78cca51cce0664c810a115b0dc64b1ab3..9d5bd1cfcc67ef5ff552594f2181d3ceb8925713 100644 (file)
@@ -5,27 +5,28 @@ default_attributes(
   :networking => {
     :interfaces => {
       :internal => {
-        :interface => "bond0",
-        :role => :internal,
         :inet => {
           :address => "10.0.48.15"
         },
         :bond => {
-          :mode => "802.3ad",
-          :lacprate => "fast",
-          :xmithashpolicy => "layer3+4",
           :slaves => %w[eno1np0 eno2np1]
         }
       },
-      :external => {
-        :interface => "bond0.3",
-        :role => :external,
+      :henet => {
         :inet => {
           :address => "184.104.179.143"
         },
         :inet6 => {
           :address => "2001:470:1:fa1::f"
         }
+      },
+      :equinix => {
+        :inet => {
+          :address => "82.199.86.111"
+        },
+        :inet6 => {
+          :address => "2001:4d78:500:5e3::f"
+        }
       }
     }
   },
@@ -124,6 +125,6 @@ default_attributes(
 )
 
 run_list(
-  "role[equinix-ams]",
+  "role[equinix-ams-public]",
   "role[tile]"
 )