Skip to content

Commit 4d51338

Browse files
Merge pull request #22 from userlocalhost/feature/action/ip_nat_pool
Added actions to operate IP address of NAT Pool
2 parents 485ab15 + 3af2e34 commit 4d51338

File tree

7 files changed

+128
-1
lines changed

7 files changed

+128
-1
lines changed

CHANGES.md

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

3+
## v1.2.0
4+
5+
* Added actions to operate IP address of NAT pool
6+
37
## v1.1.0
48

59
* Update acos_client, which this pack depends on, version from v1.4.6 to v2.6.0

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,20 @@ After making changes to `acos.yaml`, you must tell StackStorm to load the new co
2929
| add_slb_service_group | add a ServiceGroup to the SLB |
3030
| add_slb_virtual_server | add a VirtualServer to SLB |
3131
| add_slb_virtual_server_port | add a VirtualServerPort to the VirtualServer in SLB |
32+
| create_ip_nat_pool | create configuration of IP address of NAT pool |
3233
| del_slb_server | remove a server which is registered in SLB |
3334
| del_slb_server_port | remove a ServerPort which is registered in SLB |
3435
| del_slb_service_group_member | remove a server to the ServiceGroup as a member |
3536
| del_slb_service_group | remove a ServiceGroup from SLB |
3637
| del_slb_virtual_server | remove a VirutlServer from SLB |
3738
| del_slb_virtual_server_port | remove a VirutlServerPort from the VirtualServer in SLB |
39+
| delete_ip_nat_pool | delete configuration of IP address of NAT pool |
40+
| get_ip_nat_pool | get configuration of IP address of NAT pool |
3841
| get_slb_server | get a Server information which is registered in SLB |
3942
| get_slb_service_group_members | get members information which are belonged to the ServiceGroup |
4043
| get_slb_service_group | get a ServiceGroup information which is registered in SLB |
4144
| get_slb_virtual_server | get VirtualServer which is registered in the SLB |
45+
| list_ip_nat_pool | list configurations of IP address of NAT pool |
4246
| list_slb_servers | lists servers which are registered in SLB |
4347
| list_slb_service_groups | lists ServiceGroup entries which are registered in SLB |
4448
| list_slb_virtual_servers | list VirtualServers which are registered in the SLB |

actions/create_ip_nat_pool.yaml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
name: create_ip_nat_pool
3+
runner_type: python-script
4+
description: create configuration of IP address of NAT pool
5+
enabled: true
6+
entry_point: ax_action_runner.py
7+
parameters:
8+
action:
9+
type: string
10+
immutable: true
11+
default: create
12+
object_path:
13+
type: string
14+
immutable: true
15+
default: nat.pool
16+
one_target:
17+
type: boolean
18+
immutable: true
19+
default: false
20+
appliance:
21+
type: string
22+
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
pool_name:
24+
type: string
25+
description: Pool name or pool group
26+
required: true
27+
start_address:
28+
type: string
29+
description: Start IP address of NAT pool
30+
required: true
31+
end_address:
32+
type: string
33+
description: End IP address of NAT pool
34+
required: true
35+
netmask:
36+
type: string
37+
description: Netmask for NAT pool
38+
required: true
39+
ip_rr:
40+
type: boolean
41+
description: IP address round-robin behavior
42+
default: False
43+
vrid:
44+
type: integer
45+
description: VRRP-A vrid (Specify ha VRRP-A vrid)

actions/delete_ip_nat_pool.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: delete_ip_nat_pool
3+
runner_type: python-script
4+
description: delete configuration of IP address of NAT pool
5+
enabled: true
6+
entry_point: ax_action_runner.py
7+
parameters:
8+
action:
9+
type: string
10+
immutable: true
11+
default: delete
12+
object_path:
13+
type: string
14+
immutable: true
15+
default: nat.pool
16+
one_target:
17+
type: boolean
18+
immutable: true
19+
default: false
20+
appliance:
21+
type: string
22+
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
name:
24+
type: string
25+
description: pool-name to delete IP address of NAT pool
26+
required: true

actions/get_ip_nat_pool.yaml

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
---
2+
name: get_ip_nat_pool
3+
runner_type: python-script
4+
description: get configuration of IP address of NAT pool
5+
enabled: true
6+
entry_point: ax_action_runner.py
7+
parameters:
8+
action:
9+
type: string
10+
immutable: true
11+
default: get
12+
object_path:
13+
type: string
14+
immutable: true
15+
default: nat.pool
16+
one_target:
17+
type: boolean
18+
immutable: true
19+
default: false
20+
appliance:
21+
type: string
22+
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
name:
24+
type: string
25+
description: pool-name to get IP address of NAT pool
26+
required: true

actions/list_ip_nat_pool.yaml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
name: list_ip_nat_pool
3+
runner_type: python-script
4+
description: list configurations of IP address of NAT pool
5+
enabled: true
6+
entry_point: ax_action_runner.py
7+
parameters:
8+
action:
9+
type: string
10+
immutable: true
11+
default: all
12+
object_path:
13+
type: string
14+
immutable: true
15+
default: nat.pool
16+
one_target:
17+
type: boolean
18+
immutable: true
19+
default: false
20+
appliance:
21+
type: string
22+
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.

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.1.0
10+
version: 1.2.0
1111
author: Hiroyasu OHYAMA
1212
1313
python_versions:

0 commit comments

Comments
 (0)