forked from vmware/ansible-for-nsxt
-
Notifications
You must be signed in to change notification settings - Fork 0
/
answerfile.yml
167 lines (155 loc) · 4.44 KB
/
answerfile.yml
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# Copyright 2018 VMware, Inc.
# SPDX-License-Identifier: BSD-2-Clause OR GPL-3.0-only
---
hostname: "10.161.157.200"
username: "admin"
password: "Admin!23Admin"
validate_certs: False
ip_pools:
- display_name: IPPool-IPV4-1
subnets:
- allocation_ranges:
- start: "10.112.201.28"
end: "10.112.201.35"
cidr: "10.112.201.0/24"
transportzones:
- display_name: "TZ1"
transport_type: "OVERLAY"
host_switch_name: "hostswitch1"
# - display_name: "TZ2"
# transport_type: "VLAN"
# host_switch_name: "hostswitch2"
uplink_profiles:
- display_name: uplinkProfile1
teaming:
active_list:
- uplink_name: "uplink-1"
uplink_type: PNIC
policy: FAILOVER_ORDER
transport_vlan: 0
# - display_name: uplinkProfile2
# teaming:
# active_list:
# - uplink_name: "uplink-2"
# uplink_type: PNIC
# policy: FAILOVER_ORDER
# transport_vlan: 0
transport_nodes:
- display_name: TN1
host_switches:
- host_switch_profiles:
- name: uplinkProfile1
type: UplinkHostSwitchProfile
host_switch_name: hostswitch1
# pnics:
# - device_name: "vmnic1"
# uplink_name: "uplink-1"
ip_assignment_spec:
resource_type: StaticIpPoolSpec
ip_pool_name: "IPPool-IPV4-1"
transport_zone_endpoints:
- transport_zone_name: "TZ1"
node_deployment_info:
# Host node deployment info ESXI
# resource_type: "HostNode"
# display_name: "Host_1"
# ip_addresses: ["10.161.136.35"]
# os_type: "ESXI"
# os_version: "6.5.0"
# host_credential:
# username: "root"
# password: "ca$hc0w"
# thumbprint: "aba87c8b3a042435e0f3d60784c1fbc6f1aba5ce71f6efb2601fd26fb5453bb0"
resource_type: "HostNode"
display_name: "Host_3"
ip_addresses: ["10.192.44.93"]
os_type: "UBUNTUKVM"
os_version: "16.04"
host_credential:
username: "root"
password: "ca$hc0w"
thumbprint: "3fS+Ik4O0GOMuQ8Chbxfn7KBLjmLhhnEHPKDXnt/AFQ="
# host_switches:
# - host_switch_profiles:
# - name: uplinkProfile1
# type: UplinkHostSwitchProfile
# host_switch_name: hostswitch2
# pnics:
# - device_name: vmnic1
# uplink_name: "uplink-1"
# ip_assignment_spec:
# resource_type: "AssignedByDhcp"
# transport_zone_endpoints:
# - transport_zone_name: "TZ2"
# node_deployment_info:
# # Edge node deployment info
# resource_type: "EdgeNode"
# display_name: "EdegeNode1"
# ip_addresses:
# deployment_type: "VIRTUAL_MACHINE"
# deployment_config:
# form_factor: "SMALL"
# node_user_settings:
# cli_password: "Admin!23Admin"
# root_password: "Admin!23Admin"
# vm_deployment_config:
# placement_type: VsphereDeploymentConfig
# vc_name: "VC2"
# data_network_ids:
# - network-16
# - network-16
# - network-16
# management_network_id: "network-16"
# hostname: "EdgeVM1"
# compute_id: "domain-c7"
# storage_id: "datastore-15"
# host_id: "host-14"
# default_gateway_addresses:
# management_port_subnets:
# - display_name: TN2
# host_switches:
# - host_switch_profiles:
# - name: uplinkProfile2
# type: UplinkHostSwitchProfile
# host_switch_name: hostswitch2
# pnics:
# - device_name: vmnic1
# uplink_name: "uplink-2"
# ip_assignment_spec:
# resource_type: StaticIpPoolSpec
# ip_pool_name: "IPPool-IPV4-1"
# transport_zone_endpoints:
# - transport_zone_name: "TZ2"
# fabric_node_name: "Host_2"
transport_node_profiles:
- display_name: TNP1
host_switches:
- host_switch_profiles:
- name: uplinkProfile1
type: UplinkHostSwitchProfile
host_switch_name: hostswitch1
pnics:
- device_name: vmnic1
uplink_name: "uplink-1"
ip_assignment_spec:
resource_type: StaticIpPoolSpec
ip_pool_name: "IPPool-IPV4-1"
transport_zone_endpoints:
- transport_zone_name: "TZ1"
compute_managers:
- display_name: "VC1"
server: "10.161.129.87"
origin_type: vCenter
credential_type: UsernamePasswordLoginCredential
username: "[email protected]"
password: "Admin!23"
thumbprint: "46:1E:31:DD:0B:37:4C:F0:91:5B:49:A1:A1:94:B5:DF:82:93:90:52:D9:68:0F:86:C8:CA:6C:34:CB:82:D7:D5"
route_advertise:
display_name: "tier-1" # Must be a tier 1 router name
enabled: True
advertise_dns_forwarder: False
advertise_lb_snat_ip: True
advertise_lb_vip: True
advertise_nat_routes: True
advertise_nsx_connected_routes: True
advertise_static_routes: True