Skip to content

Commit

Permalink
By added "member_state" paraemter could choose enabled/disabled when …
Browse files Browse the repository at this point in the history
…its member is registered.

In the current implementation "acos.acos_slb_service_group_member" action add
member that is always enabled. But there is an use-case that user want to register
its member, but doesn't want to be enabled at that time. The ACOS API[*1] and
acos-client library[*2] prepares "member_state" parameter fot that.

This commit added new parameter at "acos.acos_slb_service_group_member" action
to be able to select its parameter, "member_state".

[*1] https://acos.docs.a10networks.com/axapi/521/slb_service_group_member.html
[*2] https://github.com/a10networks/acos-client/blob/master/acos_client/v30/slb/member.py#L75
  • Loading branch information
userlocalhost committed Dec 19, 2023
1 parent 2ae7fb4 commit 438216c
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog


## v1.6.0

* Added "member_state" parameter at the "acos.acos_slb_service_group_member" action
for setting registered member state.

## v1.5.0

* Enabled to pass parameters how to connect ACOS appliance
Expand Down
9 changes: 8 additions & 1 deletion actions/add_slb_service_group_member.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,14 @@ parameters:
default: 80
status:
type: boolean
description: the status of taradd memmber to add
description: when 'True' is set, then statical data collection will be enabled
enum:
- True
- False
default: True
member_state:
type: boolean
description: when 'True' is set, then member service port will be enabled
enum:
- True
- False
Expand Down

0 comments on commit 438216c

Please sign in to comment.