38a9133eeb283e88e6fb88454df361a9f2566e4f
[csit.git] / fdio.infra.terraform / 3n_aws_c5n / deploy / variables.tf
1 variable "region" {
2   description = "AWS Region"
3   type = string
4 }
5
6 variable "ami_image" {
7   description = "AWS AMI image name"
8   type = string
9 }
10
11 variable "testbed_name" {
12   description = "Testbed name"
13   type = string
14 }
15
16 variable "instance_type" {
17   description = "AWS instance type"
18   type = string
19 }
20
21 variable "avail_zone" {
22   description = "AWS availability zone"
23   type = string
24 }
25
26 variable "topology_name" {
27   description = "Prefix used when creating a topology file"
28   type = string
29   default = "3n_aws_c5n"
30 }
31
32 variable "environment_name" {
33   description = "Environment name - used for Environment tag"
34   type = string
35   default = "CSIT-AWS"
36 }
37
38 variable "resources_name_prefix" {
39   description = "Resource prefix - used for Name tag"
40   type = string
41   default = "CSIT_3n_aws_c5n"
42 }
43
44 variable "first_run_commands" {
45   description = "Commands to run after deployment via remote-exec"
46   type        = list(string)
47   default     = [""]
48 }
49
50 variable "ansible_file_path" {
51   description = "Path to Ansible playbook"
52   type = string
53   default = "../../resources/tools/testbed-setup/ansible/site.yaml"
54 }
55
56 variable "ansible_python_executable" {
57   description = "Path to Python interpreter"
58   type = string
59   default = "/usr/bin/python3"
60 }
61
62 variable "ansible_topology_path" {
63   description = "Path to Ansible playbook which creates a topology file"
64   type = string
65   default = "../../resources/tools/testbed-setup/ansible/cloud_topology.yaml"
66 }
67
68 variable "ansible_provision_pwd" {
69   description = "Password used for ansible provisioning (ansible_ssh_pass)"
70   type        = string
71   default     = "Csit1234"
72 }
73
74 # Base VPC CIDRs
75 variable "vpc_cidr_mgmt" {
76   description = "Management CIDR block"
77   type = string
78   default = "192.168.0.0/24"
79 }
80 variable "vpc_cidr_b" {
81   description = "CIDR block B"
82   type = string
83   default = "192.168.10.0/24"
84 }
85 variable "vpc_cidr_c" {
86   description = "CIDR block C"
87   type = string
88   default = "200.0.0.0/24"
89 }
90 variable "vpc_cidr_d" {
91   description = "CIDR block D"
92   type = string
93   default = "192.168.20.0/24"
94 }
95
96 # Trex Dummy CIDRs
97 variable "trex_dummy_cidr_port_0" {
98   description = "TREX dummy CIDR"
99   type = string
100   default = "10.0.0.0/24"
101 }
102 variable "trex_dummy_cidr_port_1" {
103   description = "TREX dummy CIDR"
104   type = string
105   default = "20.0.0.0/24"
106 }
107
108 # IPs
109 variable "tg_if1_ip" {
110   description = "TG IP on interface 1"
111   type = string
112   default = "192.168.10.254"
113 }
114 variable "tg_if2_ip" {
115   description = "TG IP on interface 2"
116   type = string
117   default = "192.168.20.254"
118 }
119 variable "dut1_if1_ip" {
120   description = "DUT IP on interface 1"
121   type = string
122   default = "192.168.10.11"
123 }
124 variable "dut1_if2_ip" {
125   description = "DUT IP on interface 2"
126   type = string
127   default = "200.0.0.101"
128 }
129 variable "dut2_if1_ip" {
130   description = "DUT2 IP on interface 1"
131   type = string
132   default = "200.0.0.102"
133 }
134 variable "dut2_if2_ip" {
135   description = "DUT2 IP on interface 2"
136   type = string
137   default = "192.168.20.11"
138 }
139 variable "tg_mgmt_ip" {
140   description = "TG management interface IP"
141   type = string
142   default = "192.168.0.10"
143 }
144 variable "dut1_mgmt_ip" {
145   description = "DUT1 management interface IP"
146   type = string
147   default = "192.168.0.11"
148 }
149 variable "dut2_mgmt_ip" {
150   description = "DUT2 management interface IP"
151   type = string
152   default = "192.168.0.12"
153 }