| 1 |
|
| 2 |
from __future__ import absolute_import, division, print_function |
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
__metaclass__ = type |
| 7 |
|
| 8 |
ANSIBLE_METADATA = {'status': ['preview'], |
| 9 |
'supported_by': 'community', |
| 10 |
'metadata_version': '1.1'} |
| 11 |
|
| 12 |
DOCUMENTATION = ''' |
| 13 |
--- |
| 14 |
module: fmgr_firewall_vip |
| 15 |
short_description: Configure virtual IP for IPv4. |
| 16 |
version_added: "1.0.0" |
| 17 |
extends_documentation_fragment: |
| 18 |
- fortinet.fortimanager.general |
| 19 |
- fortinet.fortimanager.general.full_crud |
| 20 |
options: |
| 21 |
revision_note: |
| 22 |
description: The change note that can be specified when an object is created or updated. |
| 23 |
type: str |
| 24 |
adom: |
| 25 |
description: The parameter (adom) in requested url. |
| 26 |
type: str |
| 27 |
required: true |
| 28 |
firewall_vip: |
| 29 |
description: The top level parameters set. |
| 30 |
required: false |
| 31 |
type: dict |
| 32 |
suboptions: |
| 33 |
arp_reply: |
| 34 |
aliases: ['arp-reply'] |
| 35 |
type: str |
| 36 |
description: Enable to respond to ARP requests for this virtual IP address. |
| 37 |
choices: ['disable', 'enable'] |
| 38 |
color: |
| 39 |
type: int |
| 40 |
description: Color of icon on the GUI. |
| 41 |
comment: |
| 42 |
type: str |
| 43 |
description: Comment. |
| 44 |
dns_mapping_ttl: |
| 45 |
aliases: ['dns-mapping-ttl'] |
| 46 |
type: int |
| 47 |
description: DNS mapping TTL |
| 48 |
dynamic_mapping: |
| 49 |
type: list |
| 50 |
elements: dict |
| 51 |
description: Dynamic mapping. |
| 52 |
suboptions: |
| 53 |
_scope: |
| 54 |
type: list |
| 55 |
elements: dict |
| 56 |
description: Scope. |
| 57 |
suboptions: |
| 58 |
name: |
| 59 |
type: str |
| 60 |
description: Name. |
| 61 |
vdom: |
| 62 |
type: str |
| 63 |
description: Vdom. |
| 64 |
arp_reply: |
| 65 |
aliases: ['arp-reply'] |
| 66 |
type: str |
| 67 |
description: Arp reply. |
| 68 |
choices: ['disable', 'enable'] |
| 69 |
color: |
| 70 |
type: int |
| 71 |
description: Color. |
| 72 |
comment: |
| 73 |
type: str |
| 74 |
description: Comment. |
| 75 |
dns_mapping_ttl: |
| 76 |
aliases: ['dns-mapping-ttl'] |
| 77 |
type: int |
| 78 |
description: Dns mapping ttl. |
| 79 |
extaddr: |
| 80 |
type: raw |
| 81 |
description: (list or str) Extaddr. |
| 82 |
extintf: |
| 83 |
type: str |
| 84 |
description: Extintf. |
| 85 |
extip: |
| 86 |
type: str |
| 87 |
description: Extip. |
| 88 |
extport: |
| 89 |
type: str |
| 90 |
description: Extport. |
| 91 |
gratuitous_arp_interval: |
| 92 |
aliases: ['gratuitous-arp-interval'] |
| 93 |
type: int |
| 94 |
description: Gratuitous arp interval. |
| 95 |
http_cookie_age: |
| 96 |
aliases: ['http-cookie-age'] |
| 97 |
type: int |
| 98 |
description: Http cookie age. |
| 99 |
http_cookie_domain: |
| 100 |
aliases: ['http-cookie-domain'] |
| 101 |
type: str |
| 102 |
description: Http cookie domain. |
| 103 |
http_cookie_domain_from_host: |
| 104 |
aliases: ['http-cookie-domain-from-host'] |
| 105 |
type: str |
| 106 |
description: Http cookie domain from host. |
| 107 |
choices: ['disable', 'enable'] |
| 108 |
http_cookie_generation: |
| 109 |
aliases: ['http-cookie-generation'] |
| 110 |
type: int |
| 111 |
description: Http cookie generation. |
| 112 |
http_cookie_path: |
| 113 |
aliases: ['http-cookie-path'] |
| 114 |
type: str |
| 115 |
description: Http cookie path. |
| 116 |
http_cookie_share: |
| 117 |
aliases: ['http-cookie-share'] |
| 118 |
type: str |
| 119 |
description: Http cookie share. |
| 120 |
choices: ['disable', 'same-ip'] |
| 121 |
http_ip_header: |
| 122 |
aliases: ['http-ip-header'] |
| 123 |
type: str |
| 124 |
description: Http ip header. |
| 125 |
choices: ['disable', 'enable'] |
| 126 |
http_ip_header_name: |
| 127 |
aliases: ['http-ip-header-name'] |
| 128 |
type: str |
| 129 |
description: Http ip header name. |
| 130 |
http_multiplex: |
| 131 |
aliases: ['http-multiplex'] |
| 132 |
type: str |
| 133 |
description: Http multiplex. |
| 134 |
choices: ['disable', 'enable'] |
| 135 |
https_cookie_secure: |
| 136 |
aliases: ['https-cookie-secure'] |
| 137 |
type: str |
| 138 |
description: Https cookie secure. |
| 139 |
choices: ['disable', 'enable'] |
| 140 |
id: |
| 141 |
type: int |
| 142 |
description: Id. |
| 143 |
ldb_method: |
| 144 |
aliases: ['ldb-method'] |
| 145 |
type: str |
| 146 |
description: Ldb method. |
| 147 |
choices: ['static', 'round-robin', 'weighted', 'least-session', |
| 148 |
'least-rtt', 'first-alive', 'http-host'] |
| 149 |
mapped_addr: |
| 150 |
aliases: ['mapped-addr'] |
| 151 |
type: str |
| 152 |
description: Mapped addr. |
| 153 |
mappedip: |
| 154 |
type: raw |
| 155 |
description: (list) Mappedip. |
| 156 |
mappedport: |
| 157 |
type: str |
| 158 |
description: Mappedport. |
| 159 |
max_embryonic_connections: |
| 160 |
aliases: ['max-embryonic-connections'] |
| 161 |
type: int |
| 162 |
description: Max embryonic connections. |
| 163 |
monitor: |
| 164 |
type: raw |
| 165 |
description: (list or str) Monitor. |
| 166 |
nat_source_vip: |
| 167 |
aliases: ['nat-source-vip'] |
| 168 |
type: str |
| 169 |
description: Nat source vip. |
| 170 |
choices: ['disable', 'enable'] |
| 171 |
outlook_web_access: |
| 172 |
aliases: ['outlook-web-access'] |
| 173 |
type: str |
| 174 |
description: Outlook web access. |
| 175 |
choices: ['disable', 'enable'] |
| 176 |
persistence: |
| 177 |
type: str |
| 178 |
description: Persistence. |
| 179 |
choices: ['none', 'http-cookie', 'ssl-session-id'] |
| 180 |
portforward: |
| 181 |
type: str |
| 182 |
description: Portforward. |
| 183 |
choices: ['disable', 'enable'] |
| 184 |
portmapping_type: |
| 185 |
aliases: ['portmapping-type'] |
| 186 |
type: str |
| 187 |
description: Portmapping type. |
| 188 |
choices: ['1-to-1', 'm-to-n'] |
| 189 |
protocol: |
| 190 |
type: str |
| 191 |
description: Protocol. |
| 192 |
choices: ['tcp', 'udp', 'sctp', 'icmp'] |
| 193 |
realservers: |
| 194 |
type: list |
| 195 |
elements: dict |
| 196 |
description: Realservers. |
| 197 |
suboptions: |
| 198 |
client_ip: |
| 199 |
aliases: ['client-ip'] |
| 200 |
type: raw |
| 201 |
description: (list) Client ip. |
| 202 |
healthcheck: |
| 203 |
type: str |
| 204 |
description: Healthcheck. |
| 205 |
choices: ['disable', 'enable', 'vip'] |
| 206 |
holddown_interval: |
| 207 |
aliases: ['holddown-interval'] |
| 208 |
type: int |
| 209 |
description: Holddown interval. |
| 210 |
http_host: |
| 211 |
aliases: ['http-host'] |
| 212 |
type: str |
| 213 |
description: Http host. |
| 214 |
ip: |
| 215 |
type: str |
| 216 |
description: Ip. |
| 217 |
max_connections: |
| 218 |
aliases: ['max-connections'] |
| 219 |
type: int |
| 220 |
description: Max connections. |
| 221 |
monitor: |
| 222 |
type: raw |
| 223 |
description: (list or str) Monitor. |
| 224 |
port: |
| 225 |
type: int |
| 226 |
description: Port. |
| 227 |
seq: |
| 228 |
type: int |
| 229 |
description: Seq. |
| 230 |
status: |
| 231 |
type: str |
| 232 |
description: Status. |
| 233 |
choices: ['active', 'standby', 'disable'] |
| 234 |
weight: |
| 235 |
type: int |
| 236 |
description: Weight. |
| 237 |
address: |
| 238 |
type: str |
| 239 |
description: Address. |
| 240 |
id: |
| 241 |
type: int |
| 242 |
description: Id. |
| 243 |
type: |
| 244 |
type: str |
| 245 |
description: Type. |
| 246 |
choices: ['ip', 'address'] |
| 247 |
translate_host: |
| 248 |
aliases: ['translate-host'] |
| 249 |
type: str |
| 250 |
description: Enable/disable translation of hostname/IP from virtual server to real server. |
| 251 |
choices: ['disable', 'enable'] |
| 252 |
health_check_proto: |
| 253 |
aliases: ['health-check-proto'] |
| 254 |
type: str |
| 255 |
description: Health check proto. |
| 256 |
choices: ['ping', 'http'] |
| 257 |
verify_cert: |
| 258 |
aliases: ['verify-cert'] |
| 259 |
type: str |
| 260 |
description: Verify cert. |
| 261 |
choices: ['disable', 'enable'] |
| 262 |
server_type: |
| 263 |
aliases: ['server-type'] |
| 264 |
type: str |
| 265 |
description: Server type. |
| 266 |
choices: ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', |
| 267 |
'smtps', 'ssh'] |
| 268 |
service: |
| 269 |
type: raw |
| 270 |
description: (list or str) Service. |
| 271 |
src_filter: |
| 272 |
aliases: ['src-filter'] |
| 273 |
type: raw |
| 274 |
description: (list) Src filter. |
| 275 |
srcintf_filter: |
| 276 |
aliases: ['srcintf-filter'] |
| 277 |
type: raw |
| 278 |
description: (list) Srcintf filter. |
| 279 |
ssl_algorithm: |
| 280 |
aliases: ['ssl-algorithm'] |
| 281 |
type: str |
| 282 |
description: Ssl algorithm. |
| 283 |
choices: ['high', 'medium', 'low', 'custom'] |
| 284 |
ssl_certificate: |
| 285 |
aliases: ['ssl-certificate'] |
| 286 |
type: str |
| 287 |
description: Ssl certificate. |
| 288 |
ssl_cipher_suites: |
| 289 |
aliases: ['ssl-cipher-suites'] |
| 290 |
type: list |
| 291 |
elements: dict |
| 292 |
description: Ssl cipher suites. |
| 293 |
suboptions: |
| 294 |
cipher: |
| 295 |
type: str |
| 296 |
description: Cipher. |
| 297 |
choices: ['TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', |
| 298 |
'TLS-RSA-WITH-DES-CBC-SHA', |
| 299 |
'TLS-RSA-WITH-3DES-EDE-CBC-SHA', |
| 300 |
'TLS-RSA-WITH-AES-128-CBC-SHA', |
| 301 |
'TLS-RSA-WITH-AES-256-CBC-SHA', |
| 302 |
'TLS-RSA-WITH-AES-128-CBC-SHA256', |
| 303 |
'TLS-RSA-WITH-AES-256-CBC-SHA256', |
| 304 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 305 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 306 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 307 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', |
| 308 |
'TLS-RSA-WITH-SEED-CBC-SHA', |
| 309 |
'TLS-RSA-WITH-ARIA-128-CBC-SHA256', |
| 310 |
'TLS-RSA-WITH-ARIA-256-CBC-SHA384', |
| 311 |
'TLS-DHE-RSA-WITH-DES-CBC-SHA', |
| 312 |
'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 313 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', |
| 314 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', |
| 315 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', |
| 316 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', |
| 317 |
'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 318 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 319 |
'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 320 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', |
| 321 |
'TLS-DHE-RSA-WITH-SEED-CBC-SHA', |
| 322 |
'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 323 |
'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 324 |
'TLS-ECDHE-RSA-WITH-RC4-128-SHA', |
| 325 |
'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 326 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', |
| 327 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', |
| 328 |
'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 329 |
'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', |
| 330 |
'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 331 |
'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', |
| 332 |
'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', |
| 333 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', |
| 334 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', |
| 335 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', |
| 336 |
'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', |
| 337 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', |
| 338 |
'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', |
| 339 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', |
| 340 |
'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256', |
| 341 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', |
| 342 |
'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', |
| 343 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', |
| 344 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', |
| 345 |
'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', |
| 346 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', |
| 347 |
'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', |
| 348 |
'TLS-RSA-WITH-AES-128-GCM-SHA256', |
| 349 |
'TLS-RSA-WITH-AES-256-GCM-SHA384', |
| 350 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', |
| 351 |
'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA', |
| 352 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', |
| 353 |
'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', |
| 354 |
'TLS-DHE-DSS-WITH-SEED-CBC-SHA', |
| 355 |
'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', |
| 356 |
'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', |
| 357 |
'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 358 |
'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 359 |
'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', |
| 360 |
'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', |
| 361 |
'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', |
| 362 |
'TLS-DHE-DSS-WITH-DES-CBC-SHA', |
| 363 |
'TLS-AES-128-GCM-SHA256', 'TLS-AES-256-GCM-SHA384', |
| 364 |
'TLS-CHACHA20-POLY1305-SHA256', |
| 365 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA'] |
| 366 |
id: |
| 367 |
type: int |
| 368 |
description: Id. |
| 369 |
versions: |
| 370 |
type: list |
| 371 |
elements: str |
| 372 |
description: Versions. |
| 373 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 374 |
priority: |
| 375 |
type: int |
| 376 |
description: Priority. |
| 377 |
ssl_client_fallback: |
| 378 |
aliases: ['ssl-client-fallback'] |
| 379 |
type: str |
| 380 |
description: Ssl client fallback. |
| 381 |
choices: ['disable', 'enable'] |
| 382 |
ssl_client_renegotiation: |
| 383 |
aliases: ['ssl-client-renegotiation'] |
| 384 |
type: str |
| 385 |
description: Ssl client renegotiation. |
| 386 |
choices: ['deny', 'allow', 'secure'] |
| 387 |
ssl_client_session_state_max: |
| 388 |
aliases: ['ssl-client-session-state-max'] |
| 389 |
type: int |
| 390 |
description: Ssl client session state max. |
| 391 |
ssl_client_session_state_timeout: |
| 392 |
aliases: ['ssl-client-session-state-timeout'] |
| 393 |
type: int |
| 394 |
description: Ssl client session state timeout. |
| 395 |
ssl_client_session_state_type: |
| 396 |
aliases: ['ssl-client-session-state-type'] |
| 397 |
type: str |
| 398 |
description: Ssl client session state type. |
| 399 |
choices: ['disable', 'time', 'count', 'both'] |
| 400 |
ssl_dh_bits: |
| 401 |
aliases: ['ssl-dh-bits'] |
| 402 |
type: str |
| 403 |
description: Ssl dh bits. |
| 404 |
choices: ['768', '1024', '1536', '2048', '3072', '4096'] |
| 405 |
ssl_hpkp: |
| 406 |
aliases: ['ssl-hpkp'] |
| 407 |
type: str |
| 408 |
description: Ssl hpkp. |
| 409 |
choices: ['disable', 'enable', 'report-only'] |
| 410 |
ssl_hpkp_age: |
| 411 |
aliases: ['ssl-hpkp-age'] |
| 412 |
type: int |
| 413 |
description: Ssl hpkp age. |
| 414 |
ssl_hpkp_backup: |
| 415 |
aliases: ['ssl-hpkp-backup'] |
| 416 |
type: str |
| 417 |
description: Ssl hpkp backup. |
| 418 |
ssl_hpkp_include_subdomains: |
| 419 |
aliases: ['ssl-hpkp-include-subdomains'] |
| 420 |
type: str |
| 421 |
description: Ssl hpkp include subdomains. |
| 422 |
choices: ['disable', 'enable'] |
| 423 |
ssl_hpkp_primary: |
| 424 |
aliases: ['ssl-hpkp-primary'] |
| 425 |
type: str |
| 426 |
description: Ssl hpkp primary. |
| 427 |
ssl_hpkp_report_uri: |
| 428 |
aliases: ['ssl-hpkp-report-uri'] |
| 429 |
type: str |
| 430 |
description: Ssl hpkp report uri. |
| 431 |
ssl_hsts: |
| 432 |
aliases: ['ssl-hsts'] |
| 433 |
type: str |
| 434 |
description: Ssl hsts. |
| 435 |
choices: ['disable', 'enable'] |
| 436 |
ssl_hsts_age: |
| 437 |
aliases: ['ssl-hsts-age'] |
| 438 |
type: int |
| 439 |
description: Ssl hsts age. |
| 440 |
ssl_hsts_include_subdomains: |
| 441 |
aliases: ['ssl-hsts-include-subdomains'] |
| 442 |
type: str |
| 443 |
description: Ssl hsts include subdomains. |
| 444 |
choices: ['disable', 'enable'] |
| 445 |
ssl_http_location_conversion: |
| 446 |
aliases: ['ssl-http-location-conversion'] |
| 447 |
type: str |
| 448 |
description: Ssl http location conversion. |
| 449 |
choices: ['disable', 'enable'] |
| 450 |
ssl_http_match_host: |
| 451 |
aliases: ['ssl-http-match-host'] |
| 452 |
type: str |
| 453 |
description: Ssl http match host. |
| 454 |
choices: ['disable', 'enable'] |
| 455 |
ssl_max_version: |
| 456 |
aliases: ['ssl-max-version'] |
| 457 |
type: str |
| 458 |
description: Ssl max version. |
| 459 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 460 |
ssl_min_version: |
| 461 |
aliases: ['ssl-min-version'] |
| 462 |
type: str |
| 463 |
description: Ssl min version. |
| 464 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 465 |
ssl_mode: |
| 466 |
aliases: ['ssl-mode'] |
| 467 |
type: str |
| 468 |
description: Ssl mode. |
| 469 |
choices: ['half', 'full'] |
| 470 |
ssl_pfs: |
| 471 |
aliases: ['ssl-pfs'] |
| 472 |
type: str |
| 473 |
description: Ssl pfs. |
| 474 |
choices: ['require', 'deny', 'allow'] |
| 475 |
ssl_send_empty_frags: |
| 476 |
aliases: ['ssl-send-empty-frags'] |
| 477 |
type: str |
| 478 |
description: Ssl send empty frags. |
| 479 |
choices: ['disable', 'enable'] |
| 480 |
ssl_server_algorithm: |
| 481 |
aliases: ['ssl-server-algorithm'] |
| 482 |
type: str |
| 483 |
description: Ssl server algorithm. |
| 484 |
choices: ['high', 'low', 'medium', 'custom', 'client'] |
| 485 |
ssl_server_max_version: |
| 486 |
aliases: ['ssl-server-max-version'] |
| 487 |
type: str |
| 488 |
description: Ssl server max version. |
| 489 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'] |
| 490 |
ssl_server_min_version: |
| 491 |
aliases: ['ssl-server-min-version'] |
| 492 |
type: str |
| 493 |
description: Ssl server min version. |
| 494 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'] |
| 495 |
ssl_server_session_state_max: |
| 496 |
aliases: ['ssl-server-session-state-max'] |
| 497 |
type: int |
| 498 |
description: Ssl server session state max. |
| 499 |
ssl_server_session_state_timeout: |
| 500 |
aliases: ['ssl-server-session-state-timeout'] |
| 501 |
type: int |
| 502 |
description: Ssl server session state timeout. |
| 503 |
ssl_server_session_state_type: |
| 504 |
aliases: ['ssl-server-session-state-type'] |
| 505 |
type: str |
| 506 |
description: Ssl server session state type. |
| 507 |
choices: ['disable', 'time', 'count', 'both'] |
| 508 |
type: |
| 509 |
type: str |
| 510 |
description: Type. |
| 511 |
choices: ['static-nat', 'load-balance', 'server-load-balance', |
| 512 |
'dns-translation', 'fqdn', 'access-proxy'] |
| 513 |
uuid: |
| 514 |
type: str |
| 515 |
description: Uuid. |
| 516 |
weblogic_server: |
| 517 |
aliases: ['weblogic-server'] |
| 518 |
type: str |
| 519 |
description: Weblogic server. |
| 520 |
choices: ['disable', 'enable'] |
| 521 |
websphere_server: |
| 522 |
aliases: ['websphere-server'] |
| 523 |
type: str |
| 524 |
description: Websphere server. |
| 525 |
choices: ['disable', 'enable'] |
| 526 |
http_redirect: |
| 527 |
aliases: ['http-redirect'] |
| 528 |
type: str |
| 529 |
description: Http redirect. |
| 530 |
choices: ['disable', 'enable'] |
| 531 |
ssl_client_rekey_count: |
| 532 |
aliases: ['ssl-client-rekey-count'] |
| 533 |
type: int |
| 534 |
description: Ssl client rekey count. |
| 535 |
status: |
| 536 |
type: str |
| 537 |
description: Enable/disable VIP. |
| 538 |
choices: ['disable', 'enable'] |
| 539 |
add_nat46_route: |
| 540 |
aliases: ['add-nat46-route'] |
| 541 |
type: str |
| 542 |
description: Enable/disable adding NAT46 route. |
| 543 |
choices: ['disable', 'enable'] |
| 544 |
ipv6_mappedip: |
| 545 |
aliases: ['ipv6-mappedip'] |
| 546 |
type: str |
| 547 |
description: Range of mapped IPv6 addresses. |
| 548 |
ipv6_mappedport: |
| 549 |
aliases: ['ipv6-mappedport'] |
| 550 |
type: str |
| 551 |
description: IPv6 port number range on the destination network to which the external port number range is mapped. |
| 552 |
nat44: |
| 553 |
type: str |
| 554 |
description: Enable/disable NAT44. |
| 555 |
choices: ['disable', 'enable'] |
| 556 |
nat46: |
| 557 |
type: str |
| 558 |
description: Enable/disable NAT46. |
| 559 |
choices: ['disable', 'enable'] |
| 560 |
ssl_accept_ffdhe_groups: |
| 561 |
aliases: ['ssl-accept-ffdhe-groups'] |
| 562 |
type: str |
| 563 |
description: Enable/disable FFDHE cipher suite for SSL key exchange. |
| 564 |
choices: ['disable', 'enable'] |
| 565 |
http_multiplex_max_request: |
| 566 |
aliases: ['http-multiplex-max-request'] |
| 567 |
type: int |
| 568 |
description: Maximum number of requests that a multiplex server can handle before disconnecting sessions |
| 569 |
http_multiplex_ttl: |
| 570 |
aliases: ['http-multiplex-ttl'] |
| 571 |
type: int |
| 572 |
description: Time-to-live for idle connections to servers. |
| 573 |
http_supported_max_version: |
| 574 |
aliases: ['http-supported-max-version'] |
| 575 |
type: str |
| 576 |
description: Maximum supported HTTP versions. |
| 577 |
choices: ['http1', 'http2'] |
| 578 |
ssl_server_renegotiation: |
| 579 |
aliases: ['ssl-server-renegotiation'] |
| 580 |
type: str |
| 581 |
description: Enable/disable secure renegotiation to comply with RFC 5746. |
| 582 |
choices: ['disable', 'enable'] |
| 583 |
h2_support: |
| 584 |
aliases: ['h2-support'] |
| 585 |
type: str |
| 586 |
description: Enable/disable HTTP2 support |
| 587 |
choices: ['disable', 'enable'] |
| 588 |
h3_support: |
| 589 |
aliases: ['h3-support'] |
| 590 |
type: str |
| 591 |
description: Enable/disable HTTP3/QUIC support |
| 592 |
choices: ['disable', 'enable'] |
| 593 |
http_multiplex_max_concurrent_request: |
| 594 |
aliases: ['http-multiplex-max-concurrent-request'] |
| 595 |
type: int |
| 596 |
description: Maximum number of concurrent requests that a multiplex server can handle |
| 597 |
gslb_domain_name: |
| 598 |
aliases: ['gslb-domain-name'] |
| 599 |
type: str |
| 600 |
description: Domain to use when integrating with FortiGSLB. |
| 601 |
gslb_hostname: |
| 602 |
aliases: ['gslb-hostname'] |
| 603 |
type: str |
| 604 |
description: Hostname to use within the configured FortiGSLB domain. |
| 605 |
one_click_gslb_server: |
| 606 |
aliases: ['one-click-gslb-server'] |
| 607 |
type: str |
| 608 |
description: Enable/disable one click GSLB server integration with FortiGSLB. |
| 609 |
choices: ['disable', 'enable'] |
| 610 |
src_vip_filter: |
| 611 |
aliases: ['src-vip-filter'] |
| 612 |
type: str |
| 613 |
description: Enable/disable use of src-filter to match destinations for the reverse SNAT rule. |
| 614 |
choices: ['disable', 'enable'] |
| 615 |
client_cert: |
| 616 |
aliases: ['client-cert'] |
| 617 |
type: str |
| 618 |
description: Enable/disable requesting client certificate. |
| 619 |
choices: ['disable', 'enable'] |
| 620 |
empty_cert_action: |
| 621 |
aliases: ['empty-cert-action'] |
| 622 |
type: str |
| 623 |
description: Action for an empty client certificate. |
| 624 |
choices: ['accept', 'block', 'accept-unmanageable'] |
| 625 |
user_agent_detect: |
| 626 |
aliases: ['user-agent-detect'] |
| 627 |
type: str |
| 628 |
description: Enable/disable detecting device type by HTTP user-agent if no client certificate is provided. |
| 629 |
choices: ['disable', 'enable'] |
| 630 |
vip_id: |
| 631 |
aliases: ['vip-id'] |
| 632 |
type: int |
| 633 |
description: Vip id. |
| 634 |
extaddr: |
| 635 |
type: raw |
| 636 |
description: (list or str) External FQDN address name. |
| 637 |
extintf: |
| 638 |
type: str |
| 639 |
description: Interface connected to the source network that receives the packets that will be forwarded to the destination network. |
| 640 |
extip: |
| 641 |
type: str |
| 642 |
description: IP address or address range on the external interface that you want to map to an address or address range on the destinati... |
| 643 |
extport: |
| 644 |
type: str |
| 645 |
description: Incoming port number range that you want to map to a port number range on the destination network. |
| 646 |
gratuitous_arp_interval: |
| 647 |
aliases: ['gratuitous-arp-interval'] |
| 648 |
type: int |
| 649 |
description: Enable to have the VIP send gratuitous ARPs. |
| 650 |
http_cookie_age: |
| 651 |
aliases: ['http-cookie-age'] |
| 652 |
type: int |
| 653 |
description: Time in minutes that client web browsers should keep a cookie. |
| 654 |
http_cookie_domain: |
| 655 |
aliases: ['http-cookie-domain'] |
| 656 |
type: str |
| 657 |
description: Domain that HTTP cookie persistence should apply to. |
| 658 |
http_cookie_domain_from_host: |
| 659 |
aliases: ['http-cookie-domain-from-host'] |
| 660 |
type: str |
| 661 |
description: Enable/disable use of HTTP cookie domain from host field in HTTP. |
| 662 |
choices: ['disable', 'enable'] |
| 663 |
http_cookie_generation: |
| 664 |
aliases: ['http-cookie-generation'] |
| 665 |
type: int |
| 666 |
description: Generation of HTTP cookie to be accepted. |
| 667 |
http_cookie_path: |
| 668 |
aliases: ['http-cookie-path'] |
| 669 |
type: str |
| 670 |
description: Limit HTTP cookie persistence to the specified path. |
| 671 |
http_cookie_share: |
| 672 |
aliases: ['http-cookie-share'] |
| 673 |
type: str |
| 674 |
description: Control sharing of cookies across virtual servers. |
| 675 |
choices: ['disable', 'same-ip'] |
| 676 |
http_ip_header: |
| 677 |
aliases: ['http-ip-header'] |
| 678 |
type: str |
| 679 |
description: For HTTP multiplexing, enable to add the original client IP address in the XForwarded-For HTTP header. |
| 680 |
choices: ['disable', 'enable'] |
| 681 |
http_ip_header_name: |
| 682 |
aliases: ['http-ip-header-name'] |
| 683 |
type: str |
| 684 |
description: For HTTP multiplexing, enter a custom HTTPS header name. |
| 685 |
http_multiplex: |
| 686 |
aliases: ['http-multiplex'] |
| 687 |
type: str |
| 688 |
description: Enable/disable HTTP multiplexing. |
| 689 |
choices: ['disable', 'enable'] |
| 690 |
https_cookie_secure: |
| 691 |
aliases: ['https-cookie-secure'] |
| 692 |
type: str |
| 693 |
description: Enable/disable verification that inserted HTTPS cookies are secure. |
| 694 |
choices: ['disable', 'enable'] |
| 695 |
id: |
| 696 |
type: int |
| 697 |
description: Custom defined ID. |
| 698 |
ldb_method: |
| 699 |
aliases: ['ldb-method'] |
| 700 |
type: str |
| 701 |
description: Method used to distribute sessions to real servers. |
| 702 |
choices: ['static', 'round-robin', 'weighted', 'least-session', 'least-rtt', |
| 703 |
'first-alive', 'http-host'] |
| 704 |
mapped_addr: |
| 705 |
aliases: ['mapped-addr'] |
| 706 |
type: str |
| 707 |
description: Mapped FQDN address name. |
| 708 |
mappedip: |
| 709 |
type: raw |
| 710 |
description: (list) IP address or address range on the destination network to which the external IP address is mapped. |
| 711 |
mappedport: |
| 712 |
type: str |
| 713 |
description: Port number range on the destination network to which the external port number range is mapped. |
| 714 |
max_embryonic_connections: |
| 715 |
aliases: ['max-embryonic-connections'] |
| 716 |
type: int |
| 717 |
description: Maximum number of incomplete connections. |
| 718 |
monitor: |
| 719 |
type: raw |
| 720 |
description: (list or str) Name of the health check monitor to use when polling to determine a virtual servers connectivity status. |
| 721 |
name: |
| 722 |
type: str |
| 723 |
description: Virtual IP name. |
| 724 |
required: true |
| 725 |
nat_source_vip: |
| 726 |
aliases: ['nat-source-vip'] |
| 727 |
type: str |
| 728 |
description: Enable/disable forcing the source NAT mapped IP to the external IP for all traffic. |
| 729 |
choices: ['disable', 'enable'] |
| 730 |
outlook_web_access: |
| 731 |
aliases: ['outlook-web-access'] |
| 732 |
type: str |
| 733 |
description: Enable to add the Front-End-Https header for Microsoft Outlook Web Access. |
| 734 |
choices: ['disable', 'enable'] |
| 735 |
persistence: |
| 736 |
type: str |
| 737 |
description: Configure how to make sure that clients connect to the same server every time they make a request that is part of the same... |
| 738 |
choices: ['none', 'http-cookie', 'ssl-session-id'] |
| 739 |
portforward: |
| 740 |
type: str |
| 741 |
description: Enable/disable port forwarding. |
| 742 |
choices: ['disable', 'enable'] |
| 743 |
portmapping_type: |
| 744 |
aliases: ['portmapping-type'] |
| 745 |
type: str |
| 746 |
description: Port mapping type. |
| 747 |
choices: ['1-to-1', 'm-to-n'] |
| 748 |
protocol: |
| 749 |
type: str |
| 750 |
description: Protocol to use when forwarding packets. |
| 751 |
choices: ['tcp', 'udp', 'sctp', 'icmp'] |
| 752 |
realservers: |
| 753 |
type: list |
| 754 |
elements: dict |
| 755 |
description: Realservers. |
| 756 |
suboptions: |
| 757 |
client_ip: |
| 758 |
aliases: ['client-ip'] |
| 759 |
type: raw |
| 760 |
description: (list) Only clients in this IP range can connect to this real server. |
| 761 |
healthcheck: |
| 762 |
type: str |
| 763 |
description: Enable to check the responsiveness of the real server before forwarding traffic. |
| 764 |
choices: ['disable', 'enable', 'vip'] |
| 765 |
holddown_interval: |
| 766 |
aliases: ['holddown-interval'] |
| 767 |
type: int |
| 768 |
description: Time in seconds that the health check monitor continues to monitor and unresponsive server that should be active. |
| 769 |
http_host: |
| 770 |
aliases: ['http-host'] |
| 771 |
type: str |
| 772 |
description: HTTP server domain name in HTTP header. |
| 773 |
ip: |
| 774 |
type: str |
| 775 |
description: IP address of the real server. |
| 776 |
max_connections: |
| 777 |
aliases: ['max-connections'] |
| 778 |
type: int |
| 779 |
description: Max number of active connections that can be directed to the real server. |
| 780 |
monitor: |
| 781 |
type: raw |
| 782 |
description: (list or str) Name of the health check monitor to use when polling to determine a virtual servers connectivity status. |
| 783 |
port: |
| 784 |
type: int |
| 785 |
description: Port for communicating with the real server. |
| 786 |
seq: |
| 787 |
type: int |
| 788 |
description: Seq. |
| 789 |
status: |
| 790 |
type: str |
| 791 |
description: Set the status of the real server to active so that it can accept traffic, or on standby or disabled so no traffic... |
| 792 |
choices: ['active', 'standby', 'disable'] |
| 793 |
weight: |
| 794 |
type: int |
| 795 |
description: Weight of the real server. |
| 796 |
address: |
| 797 |
type: str |
| 798 |
description: Dynamic address of the real server. |
| 799 |
id: |
| 800 |
type: int |
| 801 |
description: Real server ID. |
| 802 |
type: |
| 803 |
type: str |
| 804 |
description: Type of address. |
| 805 |
choices: ['ip', 'address'] |
| 806 |
translate_host: |
| 807 |
aliases: ['translate-host'] |
| 808 |
type: str |
| 809 |
description: Enable/disable translation of hostname/IP from virtual server to real server. |
| 810 |
choices: ['disable', 'enable'] |
| 811 |
verify_cert: |
| 812 |
aliases: ['verify-cert'] |
| 813 |
type: str |
| 814 |
description: Enable/disable certificate verification of the real server. |
| 815 |
choices: ['disable', 'enable'] |
| 816 |
health_check_proto: |
| 817 |
aliases: ['health-check-proto'] |
| 818 |
type: str |
| 819 |
description: Health check proto. |
| 820 |
choices: ['ping', 'http'] |
| 821 |
server_type: |
| 822 |
aliases: ['server-type'] |
| 823 |
type: str |
| 824 |
description: Protocol to be load balanced by the virtual server |
| 825 |
choices: ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', 'smtps', |
| 826 |
'ssh'] |
| 827 |
service: |
| 828 |
type: raw |
| 829 |
description: (list or str) Service name. |
| 830 |
src_filter: |
| 831 |
aliases: ['src-filter'] |
| 832 |
type: raw |
| 833 |
description: (list) Source address filter. |
| 834 |
srcintf_filter: |
| 835 |
aliases: ['srcintf-filter'] |
| 836 |
type: raw |
| 837 |
description: (list or str) Interfaces to which the VIP applies. |
| 838 |
ssl_algorithm: |
| 839 |
aliases: ['ssl-algorithm'] |
| 840 |
type: str |
| 841 |
description: Permitted encryption algorithms for SSL sessions according to encryption strength. |
| 842 |
choices: ['high', 'medium', 'low', 'custom'] |
| 843 |
ssl_certificate: |
| 844 |
aliases: ['ssl-certificate'] |
| 845 |
type: str |
| 846 |
description: The name of the SSL certificate to use for SSL acceleration. |
| 847 |
ssl_cipher_suites: |
| 848 |
aliases: ['ssl-cipher-suites'] |
| 849 |
type: list |
| 850 |
elements: dict |
| 851 |
description: Ssl cipher suites. |
| 852 |
suboptions: |
| 853 |
cipher: |
| 854 |
type: str |
| 855 |
description: Cipher suite name. |
| 856 |
choices: ['TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', |
| 857 |
'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA', |
| 858 |
'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', |
| 859 |
'TLS-RSA-WITH-AES-128-CBC-SHA256', |
| 860 |
'TLS-RSA-WITH-AES-256-CBC-SHA256', |
| 861 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 862 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 863 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 864 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', |
| 865 |
'TLS-RSA-WITH-SEED-CBC-SHA', 'TLS-RSA-WITH-ARIA-128-CBC-SHA256', |
| 866 |
'TLS-RSA-WITH-ARIA-256-CBC-SHA384', |
| 867 |
'TLS-DHE-RSA-WITH-DES-CBC-SHA', |
| 868 |
'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 869 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', |
| 870 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', |
| 871 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', |
| 872 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', |
| 873 |
'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 874 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 875 |
'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 876 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', |
| 877 |
'TLS-DHE-RSA-WITH-SEED-CBC-SHA', |
| 878 |
'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 879 |
'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 880 |
'TLS-ECDHE-RSA-WITH-RC4-128-SHA', |
| 881 |
'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 882 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', |
| 883 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', |
| 884 |
'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 885 |
'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', |
| 886 |
'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 887 |
'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', |
| 888 |
'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', |
| 889 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', |
| 890 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', |
| 891 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', |
| 892 |
'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', |
| 893 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', |
| 894 |
'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', |
| 895 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', |
| 896 |
'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256', |
| 897 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', |
| 898 |
'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', |
| 899 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', |
| 900 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', |
| 901 |
'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', |
| 902 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', |
| 903 |
'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', |
| 904 |
'TLS-RSA-WITH-AES-128-GCM-SHA256', |
| 905 |
'TLS-RSA-WITH-AES-256-GCM-SHA384', |
| 906 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', |
| 907 |
'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA', |
| 908 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', |
| 909 |
'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', |
| 910 |
'TLS-DHE-DSS-WITH-SEED-CBC-SHA', |
| 911 |
'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', |
| 912 |
'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', |
| 913 |
'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 914 |
'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 915 |
'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', |
| 916 |
'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', |
| 917 |
'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', |
| 918 |
'TLS-DHE-DSS-WITH-DES-CBC-SHA', 'TLS-AES-128-GCM-SHA256', |
| 919 |
'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256', |
| 920 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA'] |
| 921 |
id: |
| 922 |
type: int |
| 923 |
description: Id. |
| 924 |
versions: |
| 925 |
type: list |
| 926 |
elements: str |
| 927 |
description: SSL/TLS versions that the cipher suite can be used with. |
| 928 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 929 |
priority: |
| 930 |
type: int |
| 931 |
description: SSL/TLS cipher suites priority. |
| 932 |
ssl_client_fallback: |
| 933 |
aliases: ['ssl-client-fallback'] |
| 934 |
type: str |
| 935 |
description: Enable/disable support for preventing Downgrade Attacks on client connections |
| 936 |
choices: ['disable', 'enable'] |
| 937 |
ssl_client_renegotiation: |
| 938 |
aliases: ['ssl-client-renegotiation'] |
| 939 |
type: str |
| 940 |
description: Allow, deny, or require secure renegotiation of client sessions to comply with RFC 5746. |
| 941 |
choices: ['deny', 'allow', 'secure'] |
| 942 |
ssl_client_session_state_max: |
| 943 |
aliases: ['ssl-client-session-state-max'] |
| 944 |
type: int |
| 945 |
description: Maximum number of client to FortiGate SSL session states to keep. |
| 946 |
ssl_client_session_state_timeout: |
| 947 |
aliases: ['ssl-client-session-state-timeout'] |
| 948 |
type: int |
| 949 |
description: Number of minutes to keep client to FortiGate SSL session state. |
| 950 |
ssl_client_session_state_type: |
| 951 |
aliases: ['ssl-client-session-state-type'] |
| 952 |
type: str |
| 953 |
description: How to expire SSL sessions for the segment of the SSL connection between the client and the FortiGate. |
| 954 |
choices: ['disable', 'time', 'count', 'both'] |
| 955 |
ssl_dh_bits: |
| 956 |
aliases: ['ssl-dh-bits'] |
| 957 |
type: str |
| 958 |
description: Number of bits to use in the Diffie-Hellman exchange for RSA encryption of SSL sessions. |
| 959 |
choices: ['768', '1024', '1536', '2048', '3072', '4096'] |
| 960 |
ssl_hpkp: |
| 961 |
aliases: ['ssl-hpkp'] |
| 962 |
type: str |
| 963 |
description: Enable/disable including HPKP header in response. |
| 964 |
choices: ['disable', 'enable', 'report-only'] |
| 965 |
ssl_hpkp_age: |
| 966 |
aliases: ['ssl-hpkp-age'] |
| 967 |
type: int |
| 968 |
description: Number of seconds the client should honour the HPKP setting. |
| 969 |
ssl_hpkp_backup: |
| 970 |
aliases: ['ssl-hpkp-backup'] |
| 971 |
type: str |
| 972 |
description: Certificate to generate backup HPKP pin from. |
| 973 |
ssl_hpkp_include_subdomains: |
| 974 |
aliases: ['ssl-hpkp-include-subdomains'] |
| 975 |
type: str |
| 976 |
description: Indicate that HPKP header applies to all subdomains. |
| 977 |
choices: ['disable', 'enable'] |
| 978 |
ssl_hpkp_primary: |
| 979 |
aliases: ['ssl-hpkp-primary'] |
| 980 |
type: str |
| 981 |
description: Certificate to generate primary HPKP pin from. |
| 982 |
ssl_hpkp_report_uri: |
| 983 |
aliases: ['ssl-hpkp-report-uri'] |
| 984 |
type: str |
| 985 |
description: URL to report HPKP violations to. |
| 986 |
ssl_hsts: |
| 987 |
aliases: ['ssl-hsts'] |
| 988 |
type: str |
| 989 |
description: Enable/disable including HSTS header in response. |
| 990 |
choices: ['disable', 'enable'] |
| 991 |
ssl_hsts_age: |
| 992 |
aliases: ['ssl-hsts-age'] |
| 993 |
type: int |
| 994 |
description: Number of seconds the client should honour the HSTS setting. |
| 995 |
ssl_hsts_include_subdomains: |
| 996 |
aliases: ['ssl-hsts-include-subdomains'] |
| 997 |
type: str |
| 998 |
description: Indicate that HSTS header applies to all subdomains. |
| 999 |
choices: ['disable', 'enable'] |
| 1000 |
ssl_http_location_conversion: |
| 1001 |
aliases: ['ssl-http-location-conversion'] |
| 1002 |
type: str |
| 1003 |
description: Enable to replace HTTP with HTTPS in the replys Location HTTP header field. |
| 1004 |
choices: ['disable', 'enable'] |
| 1005 |
ssl_http_match_host: |
| 1006 |
aliases: ['ssl-http-match-host'] |
| 1007 |
type: str |
| 1008 |
description: Enable/disable HTTP host matching for location conversion. |
| 1009 |
choices: ['disable', 'enable'] |
| 1010 |
ssl_max_version: |
| 1011 |
aliases: ['ssl-max-version'] |
| 1012 |
type: str |
| 1013 |
description: Highest SSL/TLS version acceptable from a client. |
| 1014 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 1015 |
ssl_min_version: |
| 1016 |
aliases: ['ssl-min-version'] |
| 1017 |
type: str |
| 1018 |
description: Lowest SSL/TLS version acceptable from a client. |
| 1019 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 1020 |
ssl_mode: |
| 1021 |
aliases: ['ssl-mode'] |
| 1022 |
type: str |
| 1023 |
description: Apply SSL offloading between the client and the FortiGate |
| 1024 |
choices: ['half', 'full'] |
| 1025 |
ssl_pfs: |
| 1026 |
aliases: ['ssl-pfs'] |
| 1027 |
type: str |
| 1028 |
description: Select the cipher suites that can be used for SSL perfect forward secrecy |
| 1029 |
choices: ['require', 'deny', 'allow'] |
| 1030 |
ssl_send_empty_frags: |
| 1031 |
aliases: ['ssl-send-empty-frags'] |
| 1032 |
type: str |
| 1033 |
description: Enable/disable sending empty fragments to avoid CBC IV attacks |
| 1034 |
choices: ['disable', 'enable'] |
| 1035 |
ssl_server_algorithm: |
| 1036 |
aliases: ['ssl-server-algorithm'] |
| 1037 |
type: str |
| 1038 |
description: Permitted encryption algorithms for the server side of SSL full mode sessions according to encryption strength. |
| 1039 |
choices: ['high', 'low', 'medium', 'custom', 'client'] |
| 1040 |
ssl_server_cipher_suites: |
| 1041 |
aliases: ['ssl-server-cipher-suites'] |
| 1042 |
type: list |
| 1043 |
elements: dict |
| 1044 |
description: Ssl server cipher suites. |
| 1045 |
suboptions: |
| 1046 |
cipher: |
| 1047 |
type: str |
| 1048 |
description: Cipher suite name. |
| 1049 |
choices: ['TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', |
| 1050 |
'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1051 |
'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', |
| 1052 |
'TLS-RSA-WITH-AES-128-CBC-SHA256', |
| 1053 |
'TLS-RSA-WITH-AES-256-CBC-SHA256', |
| 1054 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 1055 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 1056 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 1057 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', |
| 1058 |
'TLS-RSA-WITH-SEED-CBC-SHA', 'TLS-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1059 |
'TLS-RSA-WITH-ARIA-256-CBC-SHA384', |
| 1060 |
'TLS-DHE-RSA-WITH-DES-CBC-SHA', |
| 1061 |
'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1062 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', |
| 1063 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', |
| 1064 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', |
| 1065 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', |
| 1066 |
'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 1067 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 1068 |
'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 1069 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', |
| 1070 |
'TLS-DHE-RSA-WITH-SEED-CBC-SHA', |
| 1071 |
'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1072 |
'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 1073 |
'TLS-ECDHE-RSA-WITH-RC4-128-SHA', |
| 1074 |
'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1075 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', |
| 1076 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', |
| 1077 |
'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1078 |
'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1079 |
'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1080 |
'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1081 |
'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', |
| 1082 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', |
| 1083 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', |
| 1084 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', |
| 1085 |
'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', |
| 1086 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', |
| 1087 |
'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', |
| 1088 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', |
| 1089 |
'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1090 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', |
| 1091 |
'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', |
| 1092 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', |
| 1093 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', |
| 1094 |
'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', |
| 1095 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', |
| 1096 |
'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', |
| 1097 |
'TLS-RSA-WITH-AES-128-GCM-SHA256', |
| 1098 |
'TLS-RSA-WITH-AES-256-GCM-SHA384', |
| 1099 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', |
| 1100 |
'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA', |
| 1101 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', |
| 1102 |
'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', |
| 1103 |
'TLS-DHE-DSS-WITH-SEED-CBC-SHA', |
| 1104 |
'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', |
| 1105 |
'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', |
| 1106 |
'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1107 |
'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 1108 |
'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', |
| 1109 |
'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', |
| 1110 |
'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', |
| 1111 |
'TLS-DHE-DSS-WITH-DES-CBC-SHA', 'TLS-AES-128-GCM-SHA256', |
| 1112 |
'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256', |
| 1113 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA'] |
| 1114 |
priority: |
| 1115 |
type: int |
| 1116 |
description: SSL/TLS cipher suites priority. |
| 1117 |
versions: |
| 1118 |
type: list |
| 1119 |
elements: str |
| 1120 |
description: SSL/TLS versions that the cipher suite can be used with. |
| 1121 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'] |
| 1122 |
ssl_server_max_version: |
| 1123 |
aliases: ['ssl-server-max-version'] |
| 1124 |
type: str |
| 1125 |
description: Highest SSL/TLS version acceptable from a server. |
| 1126 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'] |
| 1127 |
ssl_server_min_version: |
| 1128 |
aliases: ['ssl-server-min-version'] |
| 1129 |
type: str |
| 1130 |
description: Lowest SSL/TLS version acceptable from a server. |
| 1131 |
choices: ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'] |
| 1132 |
ssl_server_session_state_max: |
| 1133 |
aliases: ['ssl-server-session-state-max'] |
| 1134 |
type: int |
| 1135 |
description: Maximum number of FortiGate to Server SSL session states to keep. |
| 1136 |
ssl_server_session_state_timeout: |
| 1137 |
aliases: ['ssl-server-session-state-timeout'] |
| 1138 |
type: int |
| 1139 |
description: Number of minutes to keep FortiGate to Server SSL session state. |
| 1140 |
ssl_server_session_state_type: |
| 1141 |
aliases: ['ssl-server-session-state-type'] |
| 1142 |
type: str |
| 1143 |
description: How to expire SSL sessions for the segment of the SSL connection between the server and the FortiGate. |
| 1144 |
choices: ['disable', 'time', 'count', 'both'] |
| 1145 |
type: |
| 1146 |
type: str |
| 1147 |
description: Configure a static NAT, load balance, DNS translation, or FQDN VIP. |
| 1148 |
choices: ['static-nat', 'load-balance', 'server-load-balance', 'dns-translation', |
| 1149 |
'fqdn', 'access-proxy'] |
| 1150 |
uuid: |
| 1151 |
type: str |
| 1152 |
description: Universally Unique Identifier |
| 1153 |
weblogic_server: |
| 1154 |
aliases: ['weblogic-server'] |
| 1155 |
type: str |
| 1156 |
description: Enable to add an HTTP header to indicate SSL offloading for a WebLogic server. |
| 1157 |
choices: ['disable', 'enable'] |
| 1158 |
websphere_server: |
| 1159 |
aliases: ['websphere-server'] |
| 1160 |
type: str |
| 1161 |
description: Enable to add an HTTP header to indicate SSL offloading for a WebSphere server. |
| 1162 |
choices: ['disable', 'enable'] |
| 1163 |
http_redirect: |
| 1164 |
aliases: ['http-redirect'] |
| 1165 |
type: str |
| 1166 |
description: Enable/disable redirection of HTTP to HTTPS |
| 1167 |
choices: ['disable', 'enable'] |
| 1168 |
ssl_client_rekey_count: |
| 1169 |
aliases: ['ssl-client-rekey-count'] |
| 1170 |
type: int |
| 1171 |
description: Maximum length of data in MB before triggering a client rekey |
| 1172 |
status: |
| 1173 |
type: str |
| 1174 |
description: Enable/disable VIP. |
| 1175 |
choices: ['disable', 'enable'] |
| 1176 |
add_nat46_route: |
| 1177 |
aliases: ['add-nat46-route'] |
| 1178 |
type: str |
| 1179 |
description: Enable/disable adding NAT46 route. |
| 1180 |
choices: ['disable', 'enable'] |
| 1181 |
ipv6_mappedip: |
| 1182 |
aliases: ['ipv6-mappedip'] |
| 1183 |
type: str |
| 1184 |
description: Range of mapped IPv6 addresses. |
| 1185 |
ipv6_mappedport: |
| 1186 |
aliases: ['ipv6-mappedport'] |
| 1187 |
type: str |
| 1188 |
description: IPv6 port number range on the destination network to which the external port number range is mapped. |
| 1189 |
nat44: |
| 1190 |
type: str |
| 1191 |
description: Enable/disable NAT44. |
| 1192 |
choices: ['disable', 'enable'] |
| 1193 |
nat46: |
| 1194 |
type: str |
| 1195 |
description: Enable/disable NAT46. |
| 1196 |
choices: ['disable', 'enable'] |
| 1197 |
ssl_accept_ffdhe_groups: |
| 1198 |
aliases: ['ssl-accept-ffdhe-groups'] |
| 1199 |
type: str |
| 1200 |
description: Enable/disable FFDHE cipher suite for SSL key exchange. |
| 1201 |
choices: ['disable', 'enable'] |
| 1202 |
http_multiplex_max_request: |
| 1203 |
aliases: ['http-multiplex-max-request'] |
| 1204 |
type: int |
| 1205 |
description: Maximum number of requests that a multiplex server can handle before disconnecting sessions |
| 1206 |
http_multiplex_ttl: |
| 1207 |
aliases: ['http-multiplex-ttl'] |
| 1208 |
type: int |
| 1209 |
description: Time-to-live for idle connections to servers. |
| 1210 |
http_supported_max_version: |
| 1211 |
aliases: ['http-supported-max-version'] |
| 1212 |
type: str |
| 1213 |
description: Maximum supported HTTP versions. |
| 1214 |
choices: ['http1', 'http2'] |
| 1215 |
ssl_server_renegotiation: |
| 1216 |
aliases: ['ssl-server-renegotiation'] |
| 1217 |
type: str |
| 1218 |
description: Enable/disable secure renegotiation to comply with RFC 5746. |
| 1219 |
choices: ['disable', 'enable'] |
| 1220 |
h2_support: |
| 1221 |
aliases: ['h2-support'] |
| 1222 |
type: str |
| 1223 |
description: Enable/disable HTTP2 support |
| 1224 |
choices: ['disable', 'enable'] |
| 1225 |
h3_support: |
| 1226 |
aliases: ['h3-support'] |
| 1227 |
type: str |
| 1228 |
description: Enable/disable HTTP3/QUIC support |
| 1229 |
choices: ['disable', 'enable'] |
| 1230 |
http_multiplex_max_concurrent_request: |
| 1231 |
aliases: ['http-multiplex-max-concurrent-request'] |
| 1232 |
type: int |
| 1233 |
description: Maximum number of concurrent requests that a multiplex server can handle |
| 1234 |
quic: |
| 1235 |
type: dict |
| 1236 |
description: Quic. |
| 1237 |
suboptions: |
| 1238 |
ack_delay_exponent: |
| 1239 |
aliases: ['ack-delay-exponent'] |
| 1240 |
type: int |
| 1241 |
description: ACK delay exponent |
| 1242 |
active_connection_id_limit: |
| 1243 |
aliases: ['active-connection-id-limit'] |
| 1244 |
type: int |
| 1245 |
description: Active connection ID limit |
| 1246 |
active_migration: |
| 1247 |
aliases: ['active-migration'] |
| 1248 |
type: str |
| 1249 |
description: Enable/disable active migration |
| 1250 |
choices: ['disable', 'enable'] |
| 1251 |
grease_quic_bit: |
| 1252 |
aliases: ['grease-quic-bit'] |
| 1253 |
type: str |
| 1254 |
description: Enable/disable grease QUIC bit |
| 1255 |
choices: ['disable', 'enable'] |
| 1256 |
max_ack_delay: |
| 1257 |
aliases: ['max-ack-delay'] |
| 1258 |
type: int |
| 1259 |
description: Maximum ACK delay in milliseconds |
| 1260 |
max_datagram_frame_size: |
| 1261 |
aliases: ['max-datagram-frame-size'] |
| 1262 |
type: int |
| 1263 |
description: Maximum datagram frame size in bytes |
| 1264 |
max_idle_timeout: |
| 1265 |
aliases: ['max-idle-timeout'] |
| 1266 |
type: int |
| 1267 |
description: Maximum idle timeout milliseconds |
| 1268 |
max_udp_payload_size: |
| 1269 |
aliases: ['max-udp-payload-size'] |
| 1270 |
type: int |
| 1271 |
description: Maximum UDP payload size in bytes |
| 1272 |
gslb_domain_name: |
| 1273 |
aliases: ['gslb-domain-name'] |
| 1274 |
type: str |
| 1275 |
description: Domain to use when integrating with FortiGSLB. |
| 1276 |
gslb_hostname: |
| 1277 |
aliases: ['gslb-hostname'] |
| 1278 |
type: str |
| 1279 |
description: Hostname to use within the configured FortiGSLB domain. |
| 1280 |
gslb_public_ips: |
| 1281 |
aliases: ['gslb-public-ips'] |
| 1282 |
type: list |
| 1283 |
elements: dict |
| 1284 |
description: Gslb public ips. |
| 1285 |
suboptions: |
| 1286 |
index: |
| 1287 |
type: int |
| 1288 |
description: Index of this public IP setting. |
| 1289 |
ip: |
| 1290 |
type: str |
| 1291 |
description: The publicly accessible IP address. |
| 1292 |
one_click_gslb_server: |
| 1293 |
aliases: ['one-click-gslb-server'] |
| 1294 |
type: str |
| 1295 |
description: Enable/disable one click GSLB server integration with FortiGSLB. |
| 1296 |
choices: ['disable', 'enable'] |
| 1297 |
src_vip_filter: |
| 1298 |
aliases: ['src-vip-filter'] |
| 1299 |
type: str |
| 1300 |
description: Enable/disable use of src-filter to match destinations for the reverse SNAT rule. |
| 1301 |
choices: ['disable', 'enable'] |
| 1302 |
client_cert: |
| 1303 |
aliases: ['client-cert'] |
| 1304 |
type: str |
| 1305 |
description: Enable/disable requesting client certificate. |
| 1306 |
choices: ['disable', 'enable'] |
| 1307 |
empty_cert_action: |
| 1308 |
aliases: ['empty-cert-action'] |
| 1309 |
type: str |
| 1310 |
description: Action for an empty client certificate. |
| 1311 |
choices: ['accept', 'block', 'accept-unmanageable'] |
| 1312 |
user_agent_detect: |
| 1313 |
aliases: ['user-agent-detect'] |
| 1314 |
type: str |
| 1315 |
description: Enable/disable detecting device type by HTTP user-agent if no client certificate is provided. |
| 1316 |
choices: ['disable', 'enable'] |
| 1317 |
vip_id: |
| 1318 |
aliases: ['vip-id'] |
| 1319 |
type: int |
| 1320 |
description: Vip id. |
| 1321 |
''' |
| 1322 |
|
| 1323 |
EXAMPLES = ''' |
| 1324 |
- name: Demo of cloning objects in FortiManager |
| 1325 |
hosts: fortimanagers |
| 1326 |
gather_facts: false |
| 1327 |
connection: httpapi |
| 1328 |
vars: |
| 1329 |
ansible_httpapi_use_ssl: true |
| 1330 |
ansible_httpapi_validate_certs: false |
| 1331 |
ansible_httpapi_port: 443 |
| 1332 |
initial_vip_object: "vip_object0" |
| 1333 |
cloned_vip_objects: |
| 1334 |
- name: "vip_object1" |
| 1335 |
comment: "vip_object1 is cloned!" |
| 1336 |
- name: "vip_object2" |
| 1337 |
comment: "vip_object2 is cloned!" |
| 1338 |
tasks: |
| 1339 |
- name: Create An VIP object |
| 1340 |
fortinet.fortimanager.fmgr_firewall_vip: |
| 1341 |
adom: "root" |
| 1342 |
state: "present" |
| 1343 |
firewall_vip: |
| 1344 |
arp_reply: "disable" |
| 1345 |
comment: "The VIP is created via Ansible" |
| 1346 |
name: "{{ initial_vip_object }}" |
| 1347 |
protocol: "tcp" |
| 1348 |
type: "load-balance" |
| 1349 |
- name: Clone an VIP object using fmgr_clone module. |
| 1350 |
fortinet.fortimanager.fmgr_clone: |
| 1351 |
rc_succeeded: [-2] |
| 1352 |
clone: |
| 1353 |
selector: "firewall_vip" |
| 1354 |
self: |
| 1355 |
adom: "root" |
| 1356 |
vip: "{{ initial_vip_object }}" |
| 1357 |
target: |
| 1358 |
name: "{{ item.name }}" |
| 1359 |
comment: "{{ item.comment }}" |
| 1360 |
with_items: "{{ cloned_vip_objects }}" |
| 1361 |
|
| 1362 |
- name: Example playbook |
| 1363 |
hosts: fortimanagers |
| 1364 |
gather_facts: false |
| 1365 |
connection: httpapi |
| 1366 |
vars: |
| 1367 |
ansible_httpapi_use_ssl: true |
| 1368 |
ansible_httpapi_validate_certs: false |
| 1369 |
ansible_httpapi_port: 443 |
| 1370 |
tasks: |
| 1371 |
- name: Configure virtual IP for IPv4. |
| 1372 |
fortinet.fortimanager.fmgr_firewall_vip: |
| 1373 |
bypass_validation: true |
| 1374 |
adom: ansible |
| 1375 |
state: present |
| 1376 |
firewall_vip: |
| 1377 |
arp_reply: disable # <value in [disable, enable]> |
| 1378 |
color: 1 |
| 1379 |
comment: "ansible-comment" |
| 1380 |
id: 1 |
| 1381 |
name: "ansible-test-vip" |
| 1382 |
protocol: tcp # <value in [tcp, udp, sctp, ...]> |
| 1383 |
type: load-balance # <value in [static-nat, load-balance, server-load-balance, ...]> |
| 1384 |
|
| 1385 |
- name: Gathering fortimanager facts |
| 1386 |
hosts: fortimanagers |
| 1387 |
gather_facts: false |
| 1388 |
connection: httpapi |
| 1389 |
vars: |
| 1390 |
ansible_httpapi_use_ssl: true |
| 1391 |
ansible_httpapi_validate_certs: false |
| 1392 |
ansible_httpapi_port: 443 |
| 1393 |
tasks: |
| 1394 |
- name: Retrieve all the virtual IPs for IPv4 |
| 1395 |
fortinet.fortimanager.fmgr_fact: |
| 1396 |
facts: |
| 1397 |
selector: "firewall_vip" |
| 1398 |
params: |
| 1399 |
adom: "ansible" |
| 1400 |
vip: "your_value" |
| 1401 |
''' |
| 1402 |
|
| 1403 |
RETURN = ''' |
| 1404 |
meta: |
| 1405 |
description: The result of the request. |
| 1406 |
type: dict |
| 1407 |
returned: always |
| 1408 |
contains: |
| 1409 |
request_url: |
| 1410 |
description: The full url requested. |
| 1411 |
returned: always |
| 1412 |
type: str |
| 1413 |
sample: /sys/login/user |
| 1414 |
response_code: |
| 1415 |
description: The status of api request. |
| 1416 |
returned: always |
| 1417 |
type: int |
| 1418 |
sample: 0 |
| 1419 |
response_data: |
| 1420 |
description: The api response. |
| 1421 |
type: list |
| 1422 |
returned: always |
| 1423 |
response_message: |
| 1424 |
description: The descriptive message of the api response. |
| 1425 |
type: str |
| 1426 |
returned: always |
| 1427 |
sample: OK. |
| 1428 |
system_information: |
| 1429 |
description: The information of the target system. |
| 1430 |
type: dict |
| 1431 |
returned: always |
| 1432 |
rc: |
| 1433 |
description: The status the request. |
| 1434 |
type: int |
| 1435 |
returned: always |
| 1436 |
sample: 0 |
| 1437 |
version_check_warning: |
| 1438 |
description: Warning if the parameters used in the playbook are not supported by the current FortiManager version. |
| 1439 |
type: list |
| 1440 |
returned: complex |
| 1441 |
''' |
| 1442 |
from ansible.module_utils.basic import AnsibleModule |
| 1443 |
from ansible.module_utils.connection import Connection |
| 1444 |
from ansible_collections.fortinet.fortimanager.plugins.module_utils.napi import NAPIManager, check_galaxy_version, check_parameter_bypass |
| 1445 |
from ansible_collections.fortinet.fortimanager.plugins.module_utils.common import get_module_arg_spec |
| 1446 |
|
| 1447 |
|
| 1448 |
def main(): |
| 1449 |
urls_list = [ |
| 1450 |
'/pm/config/adom/{adom}/obj/firewall/vip', |
| 1451 |
'/pm/config/global/obj/firewall/vip' |
| 1452 |
] |
| 1453 |
module_arg_spec = { |
| 1454 |
'adom': {'required': True, 'type': 'str'}, |
| 1455 |
'revision_note': {'type': 'str'}, |
| 1456 |
'firewall_vip': { |
| 1457 |
'type': 'dict', 'v_range': [['6.0.0', '']], |
| 1458 |
'options': { |
| 1459 |
'arp-reply': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1460 |
'color': {'type': 'int'}, |
| 1461 |
'comment': {'type': 'str'}, |
| 1462 |
'dns-mapping-ttl': {'type': 'int'}, |
| 1463 |
'dynamic_mapping': { |
| 1464 |
'type': 'list', |
| 1465 |
'options': { |
| 1466 |
'_scope': {'type': 'list', 'options': {'name': {'type': 'str'}, 'vdom': {'type': 'str'}}, 'elements': 'dict'}, |
| 1467 |
'arp-reply': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1468 |
'color': {'type': 'int'}, |
| 1469 |
'comment': {'type': 'str'}, |
| 1470 |
'dns-mapping-ttl': {'type': 'int'}, |
| 1471 |
'extaddr': {'type': 'raw'}, |
| 1472 |
'extintf': {'type': 'str'}, |
| 1473 |
'extip': {'type': 'str'}, |
| 1474 |
'extport': {'type': 'str'}, |
| 1475 |
'gratuitous-arp-interval': {'type': 'int'}, |
| 1476 |
'http-cookie-age': {'type': 'int'}, |
| 1477 |
'http-cookie-domain': {'type': 'str'}, |
| 1478 |
'http-cookie-domain-from-host': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1479 |
'http-cookie-generation': {'type': 'int'}, |
| 1480 |
'http-cookie-path': {'type': 'str'}, |
| 1481 |
'http-cookie-share': {'choices': ['disable', 'same-ip'], 'type': 'str'}, |
| 1482 |
'http-ip-header': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1483 |
'http-ip-header-name': {'type': 'str'}, |
| 1484 |
'http-multiplex': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1485 |
'https-cookie-secure': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1486 |
'id': {'type': 'int'}, |
| 1487 |
'ldb-method': { |
| 1488 |
'choices': ['static', 'round-robin', 'weighted', 'least-session', 'least-rtt', 'first-alive', 'http-host'], |
| 1489 |
'type': 'str' |
| 1490 |
}, |
| 1491 |
'mapped-addr': {'type': 'str'}, |
| 1492 |
'mappedip': {'type': 'raw'}, |
| 1493 |
'mappedport': {'type': 'str'}, |
| 1494 |
'max-embryonic-connections': {'type': 'int'}, |
| 1495 |
'monitor': {'type': 'raw'}, |
| 1496 |
'nat-source-vip': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1497 |
'outlook-web-access': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1498 |
'persistence': {'choices': ['none', 'http-cookie', 'ssl-session-id'], 'type': 'str'}, |
| 1499 |
'portforward': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1500 |
'portmapping-type': {'choices': ['1-to-1', 'm-to-n'], 'type': 'str'}, |
| 1501 |
'protocol': {'choices': ['tcp', 'udp', 'sctp', 'icmp'], 'type': 'str'}, |
| 1502 |
'realservers': { |
| 1503 |
'type': 'list', |
| 1504 |
'options': { |
| 1505 |
'client-ip': {'type': 'raw'}, |
| 1506 |
'healthcheck': {'choices': ['disable', 'enable', 'vip'], 'type': 'str'}, |
| 1507 |
'holddown-interval': {'type': 'int'}, |
| 1508 |
'http-host': {'type': 'str'}, |
| 1509 |
'ip': {'type': 'str'}, |
| 1510 |
'max-connections': {'type': 'int'}, |
| 1511 |
'monitor': {'type': 'raw'}, |
| 1512 |
'port': {'type': 'int'}, |
| 1513 |
'seq': {'type': 'int'}, |
| 1514 |
'status': {'choices': ['active', 'standby', 'disable'], 'type': 'str'}, |
| 1515 |
'weight': {'type': 'int'}, |
| 1516 |
'address': {'v_range': [['6.4.0', '']], 'type': 'str'}, |
| 1517 |
'id': {'v_range': [['6.4.0', '']], 'type': 'int'}, |
| 1518 |
'type': {'v_range': [['6.4.0', '']], 'choices': ['ip', 'address'], 'type': 'str'}, |
| 1519 |
'translate-host': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1520 |
'health-check-proto': {'v_range': [['7.2.3', '']], 'choices': ['ping', 'http'], 'type': 'str'}, |
| 1521 |
'verify-cert': {'v_range': [['7.4.7', '7.4.10'], ['7.6.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'} |
| 1522 |
}, |
| 1523 |
'elements': 'dict' |
| 1524 |
}, |
| 1525 |
'server-type': {'choices': ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', 'smtps', 'ssh'], 'type': 'str'}, |
| 1526 |
'service': {'type': 'raw'}, |
| 1527 |
'src-filter': {'type': 'raw'}, |
| 1528 |
'srcintf-filter': {'type': 'raw'}, |
| 1529 |
'ssl-algorithm': {'choices': ['high', 'medium', 'low', 'custom'], 'type': 'str'}, |
| 1530 |
'ssl-certificate': {'type': 'str'}, |
| 1531 |
'ssl-cipher-suites': { |
| 1532 |
'type': 'list', |
| 1533 |
'options': { |
| 1534 |
'cipher': { |
| 1535 |
'choices': [ |
| 1536 |
'TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', 'TLS-RSA-WITH-DES-CBC-SHA', |
| 1537 |
'TLS-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', |
| 1538 |
'TLS-RSA-WITH-AES-128-CBC-SHA256', 'TLS-RSA-WITH-AES-256-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 1539 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 1540 |
'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-RSA-WITH-SEED-CBC-SHA', 'TLS-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1541 |
'TLS-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-RSA-WITH-DES-CBC-SHA', 'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1542 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', |
| 1543 |
'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 1544 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 1545 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-SEED-CBC-SHA', |
| 1546 |
'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-RC4-128-SHA', |
| 1547 |
'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', |
| 1548 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', 'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1549 |
'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1550 |
'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', 'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', |
| 1551 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', |
| 1552 |
'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', |
| 1553 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1554 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', |
| 1555 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', |
| 1556 |
'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', |
| 1557 |
'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', 'TLS-RSA-WITH-AES-128-GCM-SHA256', 'TLS-RSA-WITH-AES-256-GCM-SHA384', |
| 1558 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA', |
| 1559 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', |
| 1560 |
'TLS-DHE-DSS-WITH-SEED-CBC-SHA', 'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', |
| 1561 |
'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', |
| 1562 |
'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', 'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', |
| 1563 |
'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-DSS-WITH-DES-CBC-SHA', 'TLS-AES-128-GCM-SHA256', |
| 1564 |
'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA' |
| 1565 |
], |
| 1566 |
'type': 'str' |
| 1567 |
}, |
| 1568 |
'id': {'type': 'int'}, |
| 1569 |
'versions': {'type': 'list', 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'elements': 'str'}, |
| 1570 |
'priority': {'v_range': [['6.4.0', '']], 'type': 'int'} |
| 1571 |
}, |
| 1572 |
'elements': 'dict' |
| 1573 |
}, |
| 1574 |
'ssl-client-fallback': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1575 |
'ssl-client-renegotiation': {'choices': ['deny', 'allow', 'secure'], 'type': 'str'}, |
| 1576 |
'ssl-client-session-state-max': {'type': 'int'}, |
| 1577 |
'ssl-client-session-state-timeout': {'type': 'int'}, |
| 1578 |
'ssl-client-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'}, |
| 1579 |
'ssl-dh-bits': {'choices': ['768', '1024', '1536', '2048', '3072', '4096'], 'type': 'str'}, |
| 1580 |
'ssl-hpkp': {'choices': ['disable', 'enable', 'report-only'], 'type': 'str'}, |
| 1581 |
'ssl-hpkp-age': {'type': 'int'}, |
| 1582 |
'ssl-hpkp-backup': {'type': 'str'}, |
| 1583 |
'ssl-hpkp-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1584 |
'ssl-hpkp-primary': {'type': 'str'}, |
| 1585 |
'ssl-hpkp-report-uri': {'type': 'str'}, |
| 1586 |
'ssl-hsts': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1587 |
'ssl-hsts-age': {'type': 'int'}, |
| 1588 |
'ssl-hsts-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1589 |
'ssl-http-location-conversion': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1590 |
'ssl-http-match-host': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1591 |
'ssl-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'}, |
| 1592 |
'ssl-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'}, |
| 1593 |
'ssl-mode': {'choices': ['half', 'full'], 'type': 'str'}, |
| 1594 |
'ssl-pfs': {'choices': ['require', 'deny', 'allow'], 'type': 'str'}, |
| 1595 |
'ssl-send-empty-frags': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1596 |
'ssl-server-algorithm': {'choices': ['high', 'low', 'medium', 'custom', 'client'], 'type': 'str'}, |
| 1597 |
'ssl-server-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'}, |
| 1598 |
'ssl-server-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'}, |
| 1599 |
'ssl-server-session-state-max': {'type': 'int'}, |
| 1600 |
'ssl-server-session-state-timeout': {'type': 'int'}, |
| 1601 |
'ssl-server-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'}, |
| 1602 |
'type': { |
| 1603 |
'choices': ['static-nat', 'load-balance', 'server-load-balance', 'dns-translation', 'fqdn', 'access-proxy'], |
| 1604 |
'type': 'str' |
| 1605 |
}, |
| 1606 |
'uuid': {'type': 'str'}, |
| 1607 |
'weblogic-server': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1608 |
'websphere-server': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1609 |
'http-redirect': {'v_range': [['6.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1610 |
'ssl-client-rekey-count': {'v_range': [['6.2.1', '']], 'no_log': True, 'type': 'int'}, |
| 1611 |
'status': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1612 |
'add-nat46-route': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1613 |
'ipv6-mappedip': {'v_range': [['7.0.1', '']], 'type': 'str'}, |
| 1614 |
'ipv6-mappedport': {'v_range': [['7.0.1', '']], 'type': 'str'}, |
| 1615 |
'nat44': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1616 |
'nat46': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1617 |
'ssl-accept-ffdhe-groups': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1618 |
'http-multiplex-max-request': {'v_range': [['7.2.2', '']], 'type': 'int'}, |
| 1619 |
'http-multiplex-ttl': {'v_range': [['7.2.2', '']], 'type': 'int'}, |
| 1620 |
'http-supported-max-version': {'v_range': [['7.2.2', '']], 'choices': ['http1', 'http2'], 'type': 'str'}, |
| 1621 |
'ssl-server-renegotiation': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1622 |
'h2-support': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1623 |
'h3-support': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1624 |
'http-multiplex-max-concurrent-request': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1625 |
'gslb-domain-name': {'v_range': [['7.4.2', '']], 'type': 'str'}, |
| 1626 |
'gslb-hostname': {'v_range': [['7.4.2', '']], 'type': 'str'}, |
| 1627 |
'one-click-gslb-server': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1628 |
'src-vip-filter': {'v_range': [['7.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1629 |
'client-cert': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1630 |
'empty-cert-action': {'v_range': [['7.6.2', '']], 'choices': ['accept', 'block', 'accept-unmanageable'], 'type': 'str'}, |
| 1631 |
'user-agent-detect': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1632 |
'vip-id': {'v_range': [['7.6.5', '']], 'type': 'int'} |
| 1633 |
}, |
| 1634 |
'elements': 'dict' |
| 1635 |
}, |
| 1636 |
'extaddr': {'type': 'raw'}, |
| 1637 |
'extintf': {'type': 'str'}, |
| 1638 |
'extip': {'type': 'str'}, |
| 1639 |
'extport': {'type': 'str'}, |
| 1640 |
'gratuitous-arp-interval': {'type': 'int'}, |
| 1641 |
'http-cookie-age': {'type': 'int'}, |
| 1642 |
'http-cookie-domain': {'type': 'str'}, |
| 1643 |
'http-cookie-domain-from-host': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1644 |
'http-cookie-generation': {'type': 'int'}, |
| 1645 |
'http-cookie-path': {'type': 'str'}, |
| 1646 |
'http-cookie-share': {'choices': ['disable', 'same-ip'], 'type': 'str'}, |
| 1647 |
'http-ip-header': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1648 |
'http-ip-header-name': {'type': 'str'}, |
| 1649 |
'http-multiplex': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1650 |
'https-cookie-secure': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1651 |
'id': {'type': 'int'}, |
| 1652 |
'ldb-method': {'choices': ['static', 'round-robin', 'weighted', 'least-session', 'least-rtt', 'first-alive', 'http-host'], 'type': 'str'}, |
| 1653 |
'mapped-addr': {'type': 'str'}, |
| 1654 |
'mappedip': {'type': 'raw'}, |
| 1655 |
'mappedport': {'type': 'str'}, |
| 1656 |
'max-embryonic-connections': {'type': 'int'}, |
| 1657 |
'monitor': {'type': 'raw'}, |
| 1658 |
'name': {'required': True, 'type': 'str'}, |
| 1659 |
'nat-source-vip': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1660 |
'outlook-web-access': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1661 |
'persistence': {'choices': ['none', 'http-cookie', 'ssl-session-id'], 'type': 'str'}, |
| 1662 |
'portforward': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1663 |
'portmapping-type': {'choices': ['1-to-1', 'm-to-n'], 'type': 'str'}, |
| 1664 |
'protocol': {'choices': ['tcp', 'udp', 'sctp', 'icmp'], 'type': 'str'}, |
| 1665 |
'realservers': { |
| 1666 |
'type': 'list', |
| 1667 |
'options': { |
| 1668 |
'client-ip': {'type': 'raw'}, |
| 1669 |
'healthcheck': {'choices': ['disable', 'enable', 'vip'], 'type': 'str'}, |
| 1670 |
'holddown-interval': {'type': 'int'}, |
| 1671 |
'http-host': {'type': 'str'}, |
| 1672 |
'ip': {'type': 'str'}, |
| 1673 |
'max-connections': {'type': 'int'}, |
| 1674 |
'monitor': {'type': 'raw'}, |
| 1675 |
'port': {'type': 'int'}, |
| 1676 |
'seq': {'v_range': [['6.0.0', '7.6.2'], ['7.6.4', '']], 'type': 'int'}, |
| 1677 |
'status': {'choices': ['active', 'standby', 'disable'], 'type': 'str'}, |
| 1678 |
'weight': {'type': 'int'}, |
| 1679 |
'address': {'v_range': [['6.4.0', '']], 'type': 'str'}, |
| 1680 |
'id': {'v_range': [['6.4.0', '']], 'type': 'int'}, |
| 1681 |
'type': {'v_range': [['6.4.0', '']], 'choices': ['ip', 'address'], 'type': 'str'}, |
| 1682 |
'translate-host': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1683 |
'verify-cert': {'v_range': [['7.4.8', '7.4.10'], ['7.6.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1684 |
'health-check-proto': {'v_range': [['7.4.8', '7.4.10'], ['7.6.4', '']], 'choices': ['ping', 'http'], 'type': 'str'} |
| 1685 |
}, |
| 1686 |
'elements': 'dict' |
| 1687 |
}, |
| 1688 |
'server-type': {'choices': ['http', 'https', 'ssl', 'tcp', 'udp', 'ip', 'imaps', 'pop3s', 'smtps', 'ssh'], 'type': 'str'}, |
| 1689 |
'service': {'type': 'raw'}, |
| 1690 |
'src-filter': {'type': 'raw'}, |
| 1691 |
'srcintf-filter': {'type': 'raw'}, |
| 1692 |
'ssl-algorithm': {'choices': ['high', 'medium', 'low', 'custom'], 'type': 'str'}, |
| 1693 |
'ssl-certificate': {'type': 'str'}, |
| 1694 |
'ssl-cipher-suites': { |
| 1695 |
'type': 'list', |
| 1696 |
'options': { |
| 1697 |
'cipher': { |
| 1698 |
'choices': [ |
| 1699 |
'TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', 'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1700 |
'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', 'TLS-RSA-WITH-AES-128-CBC-SHA256', |
| 1701 |
'TLS-RSA-WITH-AES-256-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 1702 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-RSA-WITH-SEED-CBC-SHA', |
| 1703 |
'TLS-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-RSA-WITH-DES-CBC-SHA', |
| 1704 |
'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', |
| 1705 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 1706 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 1707 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-SEED-CBC-SHA', 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1708 |
'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-RC4-128-SHA', 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1709 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', |
| 1710 |
'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1711 |
'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1712 |
'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', |
| 1713 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', |
| 1714 |
'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1715 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', |
| 1716 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', |
| 1717 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', 'TLS-RSA-WITH-AES-128-GCM-SHA256', |
| 1718 |
'TLS-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA', |
| 1719 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-DSS-WITH-SEED-CBC-SHA', |
| 1720 |
'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1721 |
'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', |
| 1722 |
'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-DSS-WITH-DES-CBC-SHA', |
| 1723 |
'TLS-AES-128-GCM-SHA256', 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256', |
| 1724 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA' |
| 1725 |
], |
| 1726 |
'type': 'str' |
| 1727 |
}, |
| 1728 |
'id': {'v_range': [['6.0.0', '7.6.2'], ['7.6.4', '']], 'type': 'int'}, |
| 1729 |
'versions': {'type': 'list', 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'elements': 'str'}, |
| 1730 |
'priority': {'v_range': [['6.4.0', '']], 'type': 'int'} |
| 1731 |
}, |
| 1732 |
'elements': 'dict' |
| 1733 |
}, |
| 1734 |
'ssl-client-fallback': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1735 |
'ssl-client-renegotiation': {'choices': ['deny', 'allow', 'secure'], 'type': 'str'}, |
| 1736 |
'ssl-client-session-state-max': {'type': 'int'}, |
| 1737 |
'ssl-client-session-state-timeout': {'type': 'int'}, |
| 1738 |
'ssl-client-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'}, |
| 1739 |
'ssl-dh-bits': {'choices': ['768', '1024', '1536', '2048', '3072', '4096'], 'type': 'str'}, |
| 1740 |
'ssl-hpkp': {'choices': ['disable', 'enable', 'report-only'], 'type': 'str'}, |
| 1741 |
'ssl-hpkp-age': {'type': 'int'}, |
| 1742 |
'ssl-hpkp-backup': {'type': 'str'}, |
| 1743 |
'ssl-hpkp-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1744 |
'ssl-hpkp-primary': {'type': 'str'}, |
| 1745 |
'ssl-hpkp-report-uri': {'type': 'str'}, |
| 1746 |
'ssl-hsts': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1747 |
'ssl-hsts-age': {'type': 'int'}, |
| 1748 |
'ssl-hsts-include-subdomains': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1749 |
'ssl-http-location-conversion': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1750 |
'ssl-http-match-host': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1751 |
'ssl-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'}, |
| 1752 |
'ssl-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'type': 'str'}, |
| 1753 |
'ssl-mode': {'choices': ['half', 'full'], 'type': 'str'}, |
| 1754 |
'ssl-pfs': {'choices': ['require', 'deny', 'allow'], 'type': 'str'}, |
| 1755 |
'ssl-send-empty-frags': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1756 |
'ssl-server-algorithm': {'choices': ['high', 'low', 'medium', 'custom', 'client'], 'type': 'str'}, |
| 1757 |
'ssl-server-cipher-suites': { |
| 1758 |
'type': 'list', |
| 1759 |
'options': { |
| 1760 |
'cipher': { |
| 1761 |
'choices': [ |
| 1762 |
'TLS-RSA-WITH-RC4-128-MD5', 'TLS-RSA-WITH-RC4-128-SHA', 'TLS-RSA-WITH-DES-CBC-SHA', 'TLS-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1763 |
'TLS-RSA-WITH-AES-128-CBC-SHA', 'TLS-RSA-WITH-AES-256-CBC-SHA', 'TLS-RSA-WITH-AES-128-CBC-SHA256', |
| 1764 |
'TLS-RSA-WITH-AES-256-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA', |
| 1765 |
'TLS-RSA-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-RSA-WITH-SEED-CBC-SHA', |
| 1766 |
'TLS-RSA-WITH-ARIA-128-CBC-SHA256', 'TLS-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-RSA-WITH-DES-CBC-SHA', |
| 1767 |
'TLS-DHE-RSA-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA', |
| 1768 |
'TLS-DHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-DHE-RSA-WITH-AES-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA', |
| 1769 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA', 'TLS-DHE-RSA-WITH-CAMELLIA-128-CBC-SHA256', |
| 1770 |
'TLS-DHE-RSA-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-RSA-WITH-SEED-CBC-SHA', 'TLS-DHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1771 |
'TLS-DHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-RC4-128-SHA', 'TLS-ECDHE-RSA-WITH-3DES-EDE-CBC-SHA', |
| 1772 |
'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA', 'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA', |
| 1773 |
'TLS-ECDHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-ECDHE-ECDSA-WITH-CHACHA20-POLY1305-SHA256', |
| 1774 |
'TLS-DHE-RSA-WITH-CHACHA20-POLY1305-SHA256', 'TLS-DHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1775 |
'TLS-DHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-AES-128-CBC-SHA', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA', |
| 1776 |
'TLS-DHE-DSS-WITH-AES-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-AES-128-GCM-SHA256', 'TLS-DHE-DSS-WITH-AES-256-CBC-SHA256', |
| 1777 |
'TLS-DHE-DSS-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-RSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-RSA-WITH-AES-128-GCM-SHA256', |
| 1778 |
'TLS-ECDHE-RSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-AES-256-GCM-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA', |
| 1779 |
'TLS-ECDHE-ECDSA-WITH-AES-128-CBC-SHA256', 'TLS-ECDHE-ECDSA-WITH-AES-128-GCM-SHA256', |
| 1780 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-AES-256-GCM-SHA384', 'TLS-RSA-WITH-AES-128-GCM-SHA256', |
| 1781 |
'TLS-RSA-WITH-AES-256-GCM-SHA384', 'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA', |
| 1782 |
'TLS-DHE-DSS-WITH-CAMELLIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-CAMELLIA-256-CBC-SHA256', 'TLS-DHE-DSS-WITH-SEED-CBC-SHA', |
| 1783 |
'TLS-DHE-DSS-WITH-ARIA-128-CBC-SHA256', 'TLS-DHE-DSS-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-RSA-WITH-ARIA-128-CBC-SHA256', |
| 1784 |
'TLS-ECDHE-RSA-WITH-ARIA-256-CBC-SHA384', 'TLS-ECDHE-ECDSA-WITH-ARIA-128-CBC-SHA256', |
| 1785 |
'TLS-ECDHE-ECDSA-WITH-ARIA-256-CBC-SHA384', 'TLS-DHE-DSS-WITH-3DES-EDE-CBC-SHA', 'TLS-DHE-DSS-WITH-DES-CBC-SHA', |
| 1786 |
'TLS-AES-128-GCM-SHA256', 'TLS-AES-256-GCM-SHA384', 'TLS-CHACHA20-POLY1305-SHA256', |
| 1787 |
'TLS-ECDHE-ECDSA-WITH-AES-256-CBC-SHA' |
| 1788 |
], |
| 1789 |
'type': 'str' |
| 1790 |
}, |
| 1791 |
'priority': {'type': 'int'}, |
| 1792 |
'versions': {'type': 'list', 'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'tls-1.3'], 'elements': 'str'} |
| 1793 |
}, |
| 1794 |
'elements': 'dict' |
| 1795 |
}, |
| 1796 |
'ssl-server-max-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'}, |
| 1797 |
'ssl-server-min-version': {'choices': ['ssl-3.0', 'tls-1.0', 'tls-1.1', 'tls-1.2', 'client', 'tls-1.3'], 'type': 'str'}, |
| 1798 |
'ssl-server-session-state-max': {'type': 'int'}, |
| 1799 |
'ssl-server-session-state-timeout': {'type': 'int'}, |
| 1800 |
'ssl-server-session-state-type': {'choices': ['disable', 'time', 'count', 'both'], 'type': 'str'}, |
| 1801 |
'type': {'choices': ['static-nat', 'load-balance', 'server-load-balance', 'dns-translation', 'fqdn', 'access-proxy'], 'type': 'str'}, |
| 1802 |
'uuid': {'type': 'str'}, |
| 1803 |
'weblogic-server': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1804 |
'websphere-server': {'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1805 |
'http-redirect': {'v_range': [['6.2.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1806 |
'ssl-client-rekey-count': {'v_range': [['6.2.1', '']], 'no_log': True, 'type': 'int'}, |
| 1807 |
'status': {'v_range': [['7.0.0', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1808 |
'add-nat46-route': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1809 |
'ipv6-mappedip': {'v_range': [['7.0.1', '']], 'type': 'str'}, |
| 1810 |
'ipv6-mappedport': {'v_range': [['7.0.1', '']], 'type': 'str'}, |
| 1811 |
'nat44': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1812 |
'nat46': {'v_range': [['7.0.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1813 |
'ssl-accept-ffdhe-groups': {'v_range': [['7.0.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1814 |
'http-multiplex-max-request': {'v_range': [['7.2.2', '']], 'type': 'int'}, |
| 1815 |
'http-multiplex-ttl': {'v_range': [['7.2.2', '']], 'type': 'int'}, |
| 1816 |
'http-supported-max-version': {'v_range': [['7.2.2', '']], 'choices': ['http1', 'http2'], 'type': 'str'}, |
| 1817 |
'ssl-server-renegotiation': {'v_range': [['7.2.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1818 |
'h2-support': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1819 |
'h3-support': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1820 |
'http-multiplex-max-concurrent-request': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1821 |
'quic': { |
| 1822 |
'v_range': [['7.4.1', '']], |
| 1823 |
'type': 'dict', |
| 1824 |
'options': { |
| 1825 |
'ack-delay-exponent': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1826 |
'active-connection-id-limit': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1827 |
'active-migration': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1828 |
'grease-quic-bit': {'v_range': [['7.4.1', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1829 |
'max-ack-delay': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1830 |
'max-datagram-frame-size': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1831 |
'max-idle-timeout': {'v_range': [['7.4.1', '']], 'type': 'int'}, |
| 1832 |
'max-udp-payload-size': {'v_range': [['7.4.1', '']], 'type': 'int'} |
| 1833 |
} |
| 1834 |
}, |
| 1835 |
'gslb-domain-name': {'v_range': [['7.4.2', '']], 'type': 'str'}, |
| 1836 |
'gslb-hostname': {'v_range': [['7.4.2', '']], 'type': 'str'}, |
| 1837 |
'gslb-public-ips': { |
| 1838 |
'v_range': [['7.4.2', '']], |
| 1839 |
'type': 'list', |
| 1840 |
'options': {'index': {'v_range': [['7.4.2', '']], 'type': 'int'}, 'ip': {'v_range': [['7.4.2', '']], 'type': 'str'}}, |
| 1841 |
'elements': 'dict' |
| 1842 |
}, |
| 1843 |
'one-click-gslb-server': {'v_range': [['7.4.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1844 |
'src-vip-filter': {'v_range': [['7.4.3', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1845 |
'client-cert': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1846 |
'empty-cert-action': {'v_range': [['7.6.2', '']], 'choices': ['accept', 'block', 'accept-unmanageable'], 'type': 'str'}, |
| 1847 |
'user-agent-detect': {'v_range': [['7.6.2', '']], 'choices': ['disable', 'enable'], 'type': 'str'}, |
| 1848 |
'vip-id': {'v_range': [['7.6.5', '']], 'type': 'int'} |
| 1849 |
} |
| 1850 |
} |
| 1851 |
} |
| 1852 |
|
| 1853 |
module_option_spec = get_module_arg_spec('full crud') |
| 1854 |
module_arg_spec.update(module_option_spec) |
| 1855 |
check_galaxy_version(module_arg_spec) |
| 1856 |
module = AnsibleModule(argument_spec=check_parameter_bypass(module_arg_spec, 'firewall_vip'), |
| 1857 |
supports_check_mode=True) |
| 1858 |
if not module._socket_path: |
| 1859 |
module.fail_json(msg='MUST RUN IN HTTPAPI MODE') |
| 1860 |
connection = Connection(module._socket_path) |
| 1861 |
fmgr = NAPIManager('full crud', module_arg_spec, urls_list, |
| 1862 |
'name', 'data', module, connection) |
| 1863 |
fmgr.process_crud() |
| 1864 |
module.exit_json(meta=module.params) |
| 1865 |
|
| 1866 |
|
| 1867 |
if __name__ == '__main__': |
| 1868 |
main() |