X-Git-Url: https://git.openstreetmap.org./chef.git/blobdiff_plain/c2e7a922242cc5c44e756504f807a701ca2eff1b..e397f006ac6cacb175c27f81b86ce5d90e39e7c3:/roles/fume.rb?ds=sidebyside diff --git a/roles/fume.rb b/roles/fume.rb index 0a29e5d20..5cc06a4b1 100644 --- a/roles/fume.rb +++ b/roles/fume.rb @@ -4,18 +4,55 @@ description "Master role applied to fume" default_attributes( :networking => { :interfaces => { - :external_ipv4 => { - :interface => "ens3", + :internal => { + :interface => "bond0", + :role => :internal, + :inet => { + :address => "10.0.64.16" + }, + :bond => { + :mode => "802.3ad", + :lacprate => "fast", + :xmithashpolicy => "layer3+4", + :slaves => %w[eno1 eno2 eno3 eno4 eno5 eno6] + } + }, + :external_he => { + :interface => "bond0.101", :role => :external, - :family => :inet, - :address => "147.228.60.16", - :prefix => "24", - :gateway => "147.228.60.1" + :source_route_table => 100, + :inet => { + :address => "184.104.226.112", + :prefix => "27", + :gateway => "184.104.226.97" + }, + :inet6 => { + :address => "2001:470:1:b3b::10", + :prefix => 64, + :gateway => "2001:470:1:b3b::1" + } + }, + :external => { + :interface => "bond0.203", + :role => :external, + :metric => 150, + :source_route_table => 150, + :inet => { + :address => "87.252.214.112", + :prefix => "27", + :gateway => "87.252.214.97" + }, + :inet6 => { + :address => "2001:4d78:fe03:1c::10", + :prefix => 64, + :gateway => "2001:4d78:fe03:1c::1" + } } } } ) run_list( - "role[zcu]" + "role[equinix-dub]", + "role[community]" )