Skip to content

Commit

Permalink
Merge pull request #29 from StackStorm-Exchange/feature/action/slb_se…
Browse files Browse the repository at this point in the history
…rvice_group_member

Added new action to change slb service-group member's configuration that have already been registered + α
  • Loading branch information
userlocalhost authored Jun 20, 2024
2 parents 2ae7fb4 + 4a725a9 commit 9fa48a0
Show file tree
Hide file tree
Showing 4 changed files with 72 additions and 2 deletions.
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

0 comments on commit 9fa48a0

Please sign in to comment.