X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/adc8d923c01cee17a5818caf1b59e251b97540c5..0578a5d0e3acb3ea8d107083d07f07d23b48f62b:/roles/grisu.rb diff --git a/roles/grisu.rb b/roles/grisu.rb index 749be40e2..525e028d2 100644 --- a/roles/grisu.rb +++ b/roles/grisu.rb @@ -4,31 +4,55 @@ description "Master role applied to grisu" default_attributes( :networking => { :interfaces => { - :external_ipv4 => { - :interface => "em1", - :role => :external, - :family => :inet, - :address => "193.63.75.108", - :hwaddress => "d8:d3:85:5d:87:a0" + :internal => { + :interface => "bond0", + :role => :internal, + :inet => { + :address => "10.0.64.17" + }, + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } }, - :external_ipv6 => { - :interface => "em1", + :external_he => { + :interface => "bond0.101", :role => :external, - :family => :inet6, - :address => "2001:630:12:500:dad3:85ff:fe5d:87a0" + :source_route_table => 100, + :inet => { + :address => "184.104.226.113", + :prefix => "27", + :gateway => "184.104.226.97" + }, + :inet6 => { + :address => "2001:470:1:b3b::11", + :prefix => 64, + :gateway => "2001:470:1:b3b::1" + } }, - :internal_ipv4 => { - :interface => "em2", - :role => :internal, - :family => :inet, - :address => "146.179.159.168", - :hwaddress => "d8:d3:85:5d:87:a1" + :external => { + :interface => "bond0.203", + :role => :external, + :metric => 150, + :source_route_table => 150, + :inet => { + :address => "87.252.214.113", + :prefix => "27", + :gateway => "87.252.214.97" + }, + :inet6 => { + :address => "2001:4d78:fe03:1c::11", + :prefix => 64, + :gateway => "2001:4d78:fe03:1c::1" + } } } } ) run_list( - "role[ic]", - "role[hp-dl180-g6]" + "role[equinix-dub]", + "role[overpass-query]" )