Added new action to change slb service-group member's configuration that have already been registered + α #29
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR has following changes.
1. Added new action to change SLB service-group member's configuration that have already been registered.
Added a new action that is corresponding to SLB members update method of
acos-client
.(c.f. https://github.com/a10networks/acos-client/blob/master/acos_client/v30/slb/member.py#L81)
2. Added new parameter "member_state" at the
acos.add_slb_service_group_members
action that could choose enabled/disabled when 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 and acos-client library 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".