Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue - 2419 fixed #2420

Open
wants to merge 3 commits into
base: devel
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
minor_changes:
- bigip_device_info - virtual-servers - return per_flow_request_access_policy if defined.
- bigip_virtual_server - set per_flow_request_access_policy and stay idempotent.
Original file line number Diff line number Diff line change
Expand Up @@ -7454,6 +7454,12 @@
returned: queried
type: str
sample: tcp
per_flow_request_access_policy:
description:
- per request policy.
returned: queried
type: str
sample: /Common/my-custom-per-request-policy
total_requests:
description:
- Total requests.
Expand Down Expand Up @@ -17114,6 +17120,7 @@ class VirtualServersParameters(BaseParameters):
'securityLogProfiles': 'security_log_profiles',
'profilesReference': 'profiles',
'policiesReference': 'policies',
'perFlowRequestAccessPolicy': 'per_flow_request_access_policy',
}

returnables = [
Expand Down Expand Up @@ -17153,6 +17160,7 @@ class VirtualServersParameters(BaseParameters):
'type',
'policies',
'profiles',
'per_flow_request_access_policy',
'destination_address',
'destination_port',
'availability_status',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@
elements: str
aliases:
- all_policies
per_flow_request_access_policy:
description:
- Specifies the Per-Request access policy for the virtual server.
type: str
snat:
description:
- Source network address policy.
Expand Down Expand Up @@ -811,6 +815,11 @@
returned: changed
type: list
sample: ['/Common/policy1', '/Common/policy2']
per_flow_request_access_policy:
description: Per-request policy attached to the virtual.
returned: changed
type: str
sample: '/Common/sample_per-request_policy'
port:
description: Port the virtual server is configured to listen on.
returned: changed
Expand Down Expand Up @@ -981,7 +990,8 @@ class Parameters(AnsibleF5Parameters):
'rateLimitSrcMask': 'rate_limit_src_mask',
'clonePools': 'clone_pools',
'autoLasthop': 'auto_last_hop',
'serviceDownImmediateAction': 'service_down_immediate_action'
'serviceDownImmediateAction': 'service_down_immediate_action',
'perFlowRequestAccessPolicy': 'per_flow_request_access_policy',
}

api_attributes = [
Expand Down Expand Up @@ -1025,6 +1035,7 @@ class Parameters(AnsibleF5Parameters):
'rateLimitSrcMask',
'clonePools',
'autoLasthop',
'perFlowRequestAccessPolicy',
]

updatables = [
Expand Down Expand Up @@ -1062,6 +1073,7 @@ class Parameters(AnsibleF5Parameters):
'rate_limit_dst_mask',
'clone_pools',
'auto_last_hop',
'per_flow_request_access_policy',
]

returnables = [
Expand Down Expand Up @@ -1103,6 +1115,7 @@ class Parameters(AnsibleF5Parameters):
'rate_limit_dst_mask',
'clone_pools',
'auto_last_hop',
'per_flow_request_access_policy',
]

profiles_mutex = [
Expand Down Expand Up @@ -3743,6 +3756,7 @@ def __init__(self):
service_down_immediate_action=dict(
choices=['drop', 'none', 'reset']
),
per_flow_request_access_policy=dict(),
security_log_profiles=dict(
type='list',
elements='str',
Expand Down