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

Added new action to change slb service-group member's configuration that have already been registered + α #29

Merged
merged 2 commits into from
Jun 20, 2024
Merged
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
9 changes: 9 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog


## v1.6.0

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

* Added an action "acos.update_slb_service_group_member" to change slb service-group
member's configuration that have already been registered.

## 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
54 changes: 54 additions & 0 deletions actions/update_slb_service_group_member.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
name: update_slb_service_group_member
pack: acos
runner_type: python-script
description: update a server to the ServiceGroup as a member
enabled: true
entry_point: ax_action_runner.py
parameters:
action:
type: string
immutable: true
default: update
object_path:
type: string
immutable: true
default: slb.service_group.member
one_target:
type: boolean
immutable: true
default: true
service_group_name:
type: string
description: the ServiceGroup name to register a member
required: true
server_name:
type: string
description: the name of server to update
default: ''
server_port:
type: integer
description: the port-number of server to update
default: 80
status:
type: boolean
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
default: True
appliance:
type: string
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
required: true
specified_target:
type: object
description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')"

2 changes: 1 addition & 1 deletion pack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- load balancer
- ADC
- network
version: 1.5.0
version: 1.6.0
author: Hiroyasu OHYAMA
email: [email protected]
python_versions:
Expand Down
Loading