Skip to content

Commit

Permalink
Update pfsense_virtual_ip.py
Browse files Browse the repository at this point in the history
  • Loading branch information
genofire authored Jan 30, 2024
1 parent 246b6d6 commit 4855e33
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions plugins/modules/pfsense_virtual_ip.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,53 +28,53 @@
description: Type
required: True
type: str
choices: ['proxyarp', 'carp', 'ipalias', 'other']
choices: [ "proxyarp", "carp", "ipalias", "other" ]
noexpand:
description: Disable expansion of this entry into IPs on NAT lists (e.g. 192.168.1.0/24 expands to 256 entries.)
required: false
type: bool
descr:
description: Description
required: false
required: False
type: str
interface:
description: Interface
required: True
type: str
vhid:
description: VHID Group
required: false
required: False
type: int
advbase:
description: Advertising Frequency Base
required: false
required: False
type: int
advskew:
description: Advertising Frequency Skew
required: false
required: False
type: int
password:
description: Virtual IP Password
required: false
required: False
type: str
uniqid:
description: Unique ID of Virtual IP in configuration
required: false
required: False
type: str
type:
description: Address Type
required: false
required: False
type: str
choices: [ "single" ]
default: single
subnet_bits:
description: Network's subnet mask
required: false
required: False
type: int
default: 32
subnet:
description: Network subnet
required: false
required: False
type: str
state:
description: State in which to leave the Virtual IP
Expand Down Expand Up @@ -109,7 +109,7 @@


VIRTUALIP_ARGUMENT_SPEC = dict(
mode=dict(required=True, type='str'),
mode=dict(required=True, choices=['proxyarp', 'carp', 'ipalias', 'other'], type='str'),
interface=dict(required=True, type='str'),
vhid=dict(required=False, type='int'),
advskew=dict(required=False, type='int'),
Expand Down

0 comments on commit 4855e33

Please sign in to comment.