Skip to content

Commit

Permalink
Merge pull request #30 from userlocalhost/feature/action/update_slb_v…
Browse files Browse the repository at this point in the history
…irtul_server

Added an action (update_slb_virtul_server) to update SLB virtual-server
  • Loading branch information
userlocalhost authored Nov 25, 2024
2 parents 9fa48a0 + e5c681c commit 734ead3
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 1 deletion.
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# Changelog

## v1.7.0
* Added an action (update_slb_virtul_server) to update SLB virtual-server.

## v1.6.0

Expand Down
42 changes: 42 additions & 0 deletions actions/update_slb_virtul_server.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
---
name: update_slb_virtual_server
pack: acos
runner_type: python-script
description: Update SLB virtual-server configuration
enabled: true
entry_point: ax_action_runner.py
parameters:
action:
type: string
immutable: true
default: update
object_path:
type: string
immutable: true
default: slb.virtual_server
one_target:
type: boolean
immutable: true
default: true
name:
type: string
description: the name of VirtualPort to be registered
default: ''
ip_address:
type: string
description: IP address to set target virtual-server
vrid:
type: integer
description: VRID to set target virtual-server (1-31)
port_list:
type: array
description: |
Port information to set target virtual-server
(c.f. https://acos.docs.a10networks.com/axapi/521/slb_virtual_server.html#port-list)
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.6.0
version: 1.7.0
author: Hiroyasu OHYAMA
email: [email protected]
python_versions:
Expand Down

0 comments on commit 734ead3

Please sign in to comment.