From 4a725a92edf11372a705b58443439b74ac470c2f Mon Sep 17 00:00:00 2001 From: Hiroyasu OHYAMA Date: Tue, 19 Dec 2023 19:35:26 +0900 Subject: [PATCH] Added new action to change slb service-group member's configuration that have already been registered. --- CHANGES.md | 3 ++ actions/update_slb_service_group_member.yaml | 54 ++++++++++++++++++++ pack.yaml | 2 +- 3 files changed, 58 insertions(+), 1 deletion(-) create mode 100644 actions/update_slb_service_group_member.yaml diff --git a/CHANGES.md b/CHANGES.md index 79892a9..67d7ca4 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -6,6 +6,9 @@ * 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 diff --git a/actions/update_slb_service_group_member.yaml b/actions/update_slb_service_group_member.yaml new file mode 100644 index 0000000..c8e41aa --- /dev/null +++ b/actions/update_slb_service_group_member.yaml @@ -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')" + diff --git a/pack.yaml b/pack.yaml index fad4c6b..3085ec1 100644 --- a/pack.yaml +++ b/pack.yaml @@ -7,7 +7,7 @@ keywords: - load balancer - ADC - network -version: 1.5.0 +version: 1.6.0 author: Hiroyasu OHYAMA email: user.localhost2000@gmail.com python_versions: