Skip to content

Commit 4a725a9

Browse files
committed
Added new action to change slb service-group member's configuration that have already been registered.
1 parent 438216c commit 4a725a9

File tree

3 files changed

+58
-1
lines changed

3 files changed

+58
-1
lines changed

CHANGES.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
* Added "member_state" parameter at the "acos.acos_slb_service_group_member" action
77
for setting registered member state.
88

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+
912
## v1.5.0
1013

1114
* Enabled to pass parameters how to connect ACOS appliance
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)