Skip to content

Commit 9fa48a0

Browse files
Merge pull request #29 from StackStorm-Exchange/feature/action/slb_service_group_member
Added new action to change slb service-group member's configuration that have already been registered + α
2 parents 2ae7fb4 + 4a725a9 commit 9fa48a0

File tree

4 files changed

+72
-2
lines changed

4 files changed

+72
-2
lines changed

CHANGES.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
# Changelog
22

3+
4+
## v1.6.0
5+
6+
* Added "member_state" parameter at the "acos.acos_slb_service_group_member" action
7+
for setting registered member state.
8+
9+
* Added an action "acos.update_slb_service_group_member" to change slb service-group
10+
member's configuration that have already been registered.
11+
312
## v1.5.0
413

514
* Enabled to pass parameters how to connect ACOS appliance

actions/add_slb_service_group_member.yaml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,14 @@ parameters:
3232
default: 80
3333
status:
3434
type: boolean
35-
description: the status of taradd memmber to add
35+
description: when 'True' is set, then statical data collection will be enabled
36+
enum:
37+
- True
38+
- False
39+
default: True
40+
member_state:
41+
type: boolean
42+
description: when 'True' is set, then member service port will be enabled
3643
enum:
3744
- True
3845
- False
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
---
2+
name: update_slb_service_group_member
3+
pack: acos
4+
runner_type: python-script
5+
description: update a server to the ServiceGroup as a member
6+
enabled: true
7+
entry_point: ax_action_runner.py
8+
parameters:
9+
action:
10+
type: string
11+
immutable: true
12+
default: update
13+
object_path:
14+
type: string
15+
immutable: true
16+
default: slb.service_group.member
17+
one_target:
18+
type: boolean
19+
immutable: true
20+
default: true
21+
service_group_name:
22+
type: string
23+
description: the ServiceGroup name to register a member
24+
required: true
25+
server_name:
26+
type: string
27+
description: the name of server to update
28+
default: ''
29+
server_port:
30+
type: integer
31+
description: the port-number of server to update
32+
default: 80
33+
status:
34+
type: boolean
35+
description: when 'True' is set, then statical data collection will be enabled
36+
enum:
37+
- True
38+
- False
39+
default: True
40+
member_state:
41+
type: boolean
42+
description: when 'True' is set, then member service port will be enabled
43+
enum:
44+
- True
45+
- False
46+
default: True
47+
appliance:
48+
type: string
49+
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
50+
required: true
51+
specified_target:
52+
type: object
53+
description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')"
54+

pack.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ keywords:
77
- load balancer
88
- ADC
99
- network
10-
version: 1.5.0
10+
version: 1.6.0
1111
author: Hiroyasu OHYAMA
1212
1313
python_versions:

0 commit comments

Comments
 (0)