]> git.openstreetmap.org Git - chef.git/blob - roles/equinix-dub-public.rb
Improve blackholing of AWS routes on he.net
[chef.git] / roles / equinix-dub-public.rb
1 name "equinix-dub-public"
2 description "Role applied to all public servers at Equinix Dublin"
3
4 default_attributes(
5   :networking => {
6     :interfaces => {
7       :henet => {
8         :interface => "bond0.101",
9         :role => :external,
10         :zone => "dub",
11         :metric => 150,
12         :source_route_table => 101,
13         :inet => {
14           :prefix => "27",
15           :gateway => "184.104.226.97"
16         },
17         :inet6 => {
18           :prefix => 64,
19           :gateway => "2001:470:1:b3b::1",
20           :routes => {
21             "2600:9000::/28" => { :table => 101, :type => "unreachable" }
22           }
23         }
24       },
25       :equinix => {
26         :interface => "bond0.203",
27         :role => :external,
28         :zone => "dub",
29         :metric => 100,
30         :source_route_table => 203,
31         :inet => {
32           :prefix => "27",
33           :gateway => "87.252.214.97"
34         },
35         :inet6 => {
36           :prefix => 64,
37           :gateway => "2001:4d78:fe03:1c::1"
38         }
39       }
40     }
41   }
42 )
43
44 run_list(
45   "role[equinix-dub]"
46 )