Skip to content

Commit 6fa6bf6

Browse files
committed
Add secified_target parameter to nat actions
1 parent 6b6fa5f commit 6fa6bf6

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

actions/acoslib/action.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class BaseAction(Action):
99
DEFAULT_AXAPI_VERSION = acos.AXAPI_30
1010

1111
# These are the parameters for acos pack, not used by the ACOS Client
12-
PARAMS_FOR_PACK = ['appliance', 'action', 'object_path', 'one_target']
12+
PARAMS_FOR_PACK = ['appliance', 'action', 'object_path', 'one_target', 'specified_target']
1313

1414
def __init__(self, config):
1515
super(BaseAction, self).__init__(config)

actions/create_ip_nat_pool.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ parameters:
2020
appliance:
2121
type: string
2222
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
specified_target:
24+
type: object
25+
description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')"
2326
pool_name:
2427
type: string
2528
description: Pool name or pool group

actions/delete_ip_nat_pool.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ parameters:
2020
appliance:
2121
type: string
2222
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
specified_target:
24+
type: object
25+
description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')"
2326
name:
2427
type: string
2528
description: pool-name to delete IP address of NAT pool

actions/get_ip_nat_pool.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ parameters:
2020
appliance:
2121
type: string
2222
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
specified_target:
24+
type: object
25+
description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')"
2326
name:
2427
type: string
2528
description: pool-name to get IP address of NAT pool

actions/list_ip_nat_pool.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,6 @@ parameters:
2020
appliance:
2121
type: string
2222
description: The appliance information to connect, which is specified at the 'appliance' parameter in the configuration.
23+
specified_target:
24+
type: object
25+
description: "Specify the target dynamically, (key: 'target', 'api_version', 'userid', 'passwd')"

0 commit comments

Comments
 (0)