-
Notifications
You must be signed in to change notification settings - Fork 0
/
ne_device_links.tf
59 lines (52 loc) · 1.41 KB
/
ne_device_links.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# Device Links to interconnect NE devices to each others
resource "equinix_network_device_link" "r1-to-r2" {
name = "r1-to-r2"
device {
id = equinix_network_device.c8kv-router.0.uuid
interface_id = 5
}
device {
id = equinix_network_device.c8kv-router.1.uuid
interface_id = 6
}
metro_link {
account_number = data.equinix_network_account.metro.number
metro_code = var.metro_code
throughput = "50"
throughput_unit = "Mbps"
}
}
resource "equinix_network_device_link" "r2-to-r3" {
name = "r2-to-r3"
device {
id = equinix_network_device.c8kv-router.1.uuid
interface_id = 5
}
device {
id = equinix_network_device.c8kv-router.2.uuid
interface_id = 6
}
metro_link {
account_number = data.equinix_network_account.metro.number
metro_code = var.metro_code
throughput = "50"
throughput_unit = "Mbps"
}
}
resource "equinix_network_device_link" "r3-to-r1" {
name = "r3-to-r1"
device {
id = equinix_network_device.c8kv-router.2.uuid
interface_id = 5
}
device {
id = equinix_network_device.c8kv-router.0.uuid
interface_id = 6
}
metro_link {
account_number = data.equinix_network_account.metro.number
metro_code = var.metro_code
throughput = "50"
throughput_unit = "Mbps"
}
}