Skip to content

Commit 87b0f31

Browse files
author
Shiva Shankar Vaddepally
committed
removed rename param as its not merged to main
1 parent f6a7cb6 commit 87b0f31

73 files changed

Lines changed: 81 additions & 316 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

plugins/module_utils/module_executor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ def __init__(self, resource_name, supports_check_mode=True):
8181

8282
consider_non_updatable_arguments = dict(
8383
consider_non_updatable_arguments=dict(
84-
type='str',
84+
type="str",
8585
choices=["yes", "no"],
8686
default="no",
8787
required=False,

plugins/module_utils/nitro_resource_map.py

Lines changed: 24 additions & 175 deletions
Original file line numberDiff line numberDiff line change
@@ -19002,6 +19002,30 @@
1900219002
"singleton": False,
1900319003
"update_payload_keys": [],
1900419004
},
19005+
"clear_config": {
19006+
"_supported_operations": ["add"],
19007+
"add_payload_keys": ["all", "mode"],
19008+
"bindings": [],
19009+
"bindprimary_key": "",
19010+
"delete_arg_keys": [],
19011+
"disable_payload_keys": [],
19012+
"enable_payload_keys": [],
19013+
"get_arg_keys": [],
19014+
"immutable_keys": [],
19015+
"primary_key": "",
19016+
"primary_key_composite": [],
19017+
"readwrite_arguments": {
19018+
"all": {"no_log": False, "required": False, "type": "bool"},
19019+
"mode": {
19020+
"choices": ["basic", "extended+", "full"],
19021+
"no_log": False,
19022+
"required": False,
19023+
"type": "str",
19024+
},
19025+
},
19026+
"singleton": False,
19027+
"update_payload_keys": [],
19028+
},
1900519029
"cloudallowedngsticketprofile": {
1900619030
"_supported_operations": [
1900719031
"add",
@@ -67853,181 +67877,6 @@
6785367877
"singleton": False,
6785467878
"update_payload_keys": [],
6785567879
},
67856-
"videooptimizationdetectionpolicylabel_videooptimizationdetectionpolicy_binding": {
67857-
"_supported_operations": ["add", "count", "delete", "get-all", "get-byname"],
67858-
"action_payload_keys": {
67859-
"create": [],
67860-
"force": [],
67861-
"import": [],
67862-
"link": [],
67863-
"switch": [],
67864-
"unlink": [],
67865-
"unset": [],
67866-
},
67867-
"add_payload_keys": [
67868-
"gotopriorityexpression",
67869-
"invoke",
67870-
"invoke_labelname",
67871-
"labelname",
67872-
"labeltype",
67873-
"policyname",
67874-
"priority",
67875-
],
67876-
"bindprimary_key": "policyname",
67877-
"delete_arg_keys": ["policyname", "priority"],
67878-
"disable_payload_keys": [],
67879-
"enable_payload_keys": [],
67880-
"get_arg_keys": ["policyname", "priority"],
67881-
"immutable_keys": [
67882-
"gotopriorityexpression",
67883-
"invoke",
67884-
"invoke_labelname",
67885-
"labelname",
67886-
"labeltype",
67887-
"policyname",
67888-
"priority",
67889-
],
67890-
"password_keys": [],
67891-
"primary_key": "labelname",
67892-
"primary_key_composite": [],
67893-
"readwrite_arguments": {
67894-
"gotopriorityexpression": {"no_log": False, "type": "str"},
67895-
"invoke": {"no_log": False, "type": "bool"},
67896-
"invoke_labelname": {"no_log": False, "type": "str"},
67897-
"labelname": {"no_log": False, "type": "str"},
67898-
"labeltype": {
67899-
"choices": ["policylabel", "vserver"],
67900-
"no_log": False,
67901-
"type": "str",
67902-
},
67903-
"policyname": {"no_log": False, "type": "str"},
67904-
"priority": {"no_log": False, "type": "float"},
67905-
},
67906-
"singleton": False,
67907-
"update_payload_keys": [],
67908-
},
67909-
"videooptimizationglobaldetection_videooptimizationdetectionpolicy_binding": {
67910-
"_supported_operations": ["add", "count", "delete", "get"],
67911-
"action_payload_keys": {
67912-
"create": [],
67913-
"force": [],
67914-
"import": [],
67915-
"link": [],
67916-
"switch": [],
67917-
"unlink": [],
67918-
"unset": [],
67919-
},
67920-
"add_payload_keys": [
67921-
"gotopriorityexpression",
67922-
"invoke",
67923-
"labelname",
67924-
"labeltype",
67925-
"policyname",
67926-
"priority",
67927-
"type",
67928-
],
67929-
"bindprimary_key": "policyname",
67930-
"delete_arg_keys": ["policyname", "priority", "type"],
67931-
"disable_payload_keys": [],
67932-
"enable_payload_keys": [],
67933-
"get_arg_keys": ["policyname", "priority", "type"],
67934-
"immutable_keys": [
67935-
"gotopriorityexpression",
67936-
"invoke",
67937-
"labelname",
67938-
"labeltype",
67939-
"policyname",
67940-
"priority",
67941-
"type",
67942-
],
67943-
"password_keys": [],
67944-
"primary_key": "",
67945-
"primary_key_composite": [],
67946-
"readwrite_arguments": {
67947-
"globalbindtype": {
67948-
"choices": [
67949-
"APPFW_GLOBAL",
67950-
"RNAT_GLOBAL",
67951-
"SYSTEM_GLOBAL",
67952-
"VPN_GLOBAL",
67953-
],
67954-
"no_log": False,
67955-
"type": "str",
67956-
},
67957-
"gotopriorityexpression": {"no_log": False, "type": "str"},
67958-
"invoke": {"no_log": False, "type": "bool"},
67959-
"labelname": {"no_log": False, "type": "str"},
67960-
"labeltype": {
67961-
"choices": ["policylabel", "vserver"],
67962-
"no_log": False,
67963-
"type": "str",
67964-
},
67965-
"policyname": {"no_log": False, "type": "str"},
67966-
"priority": {"no_log": False, "type": "float"},
67967-
"type": {
67968-
"choices": [
67969-
"REQ_DEFAULT",
67970-
"REQ_OVERRIDE",
67971-
"RES_DEFAULT",
67972-
"RES_OVERRIDE",
67973-
],
67974-
"no_log": False,
67975-
"type": "str",
67976-
},
67977-
},
67978-
"singleton": False,
67979-
"update_payload_keys": [],
67980-
},
67981-
"videooptimizationpacingpolicylabel_videooptimizationpacingpolicy_binding": {
67982-
"_supported_operations": ["add", "count", "delete", "get-all", "get-byname"],
67983-
"action_payload_keys": {
67984-
"create": [],
67985-
"force": [],
67986-
"import": [],
67987-
"link": [],
67988-
"switch": [],
67989-
"unlink": [],
67990-
"unset": [],
67991-
},
67992-
"add_payload_keys": [
67993-
"gotopriorityexpression",
67994-
"invoke",
67995-
"invoke_labelname",
67996-
"labelname",
67997-
"labeltype",
67998-
"policyname",
67999-
"priority",
68000-
],
68001-
"bindprimary_key": "policyname",
68002-
"delete_arg_keys": ["policyname", "priority"],
68003-
"disable_payload_keys": [],
68004-
"enable_payload_keys": [],
68005-
"get_arg_keys": ["policyname", "priority"],
68006-
"immutable_keys": [
68007-
"gotopriorityexpression",
68008-
"invoke",
68009-
"invoke_labelname",
68010-
"labelname",
68011-
],
68012-
"password_keys": [],
68013-
"primary_key": "labelname",
68014-
"primary_key_composite": [],
68015-
"readwrite_arguments": {
68016-
"gotopriorityexpression": {"no_log": False, "type": "str"},
68017-
"invoke": {"no_log": False, "type": "bool"},
68018-
"invoke_labelname": {"no_log": False, "type": "str"},
68019-
"labelname": {"no_log": False, "type": "str"},
68020-
"labeltype": {
68021-
"choices": ["policylabel", "vserver"],
68022-
"no_log": False,
68023-
"type": "str",
68024-
},
68025-
"policyname": {"no_log": False, "type": "str"},
68026-
"priority": {"no_log": False, "type": "float"},
68027-
},
68028-
"singleton": False,
68029-
"update_payload_keys": [],
68030-
},
6803167880
"vxlanvlanmap_vxlan_binding": {
6803267881
"_supported_operations": ["add", "count", "delete", "get-all", "get-byname"],
6803367882
"action_payload_keys": {
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
NITRO_RESOURCE_MAP = {
2+
"servicegroup_lbmonitor_binding": {
3+
"_supported_operations": ["add", "count", "delete", "get-all", "get-byname"],
4+
"add_payload_keys": [
5+
"customserverid",
6+
"dbsttl",
7+
"hashid",
8+
"monitor_name",
9+
"monstate",
10+
"nameserver",
11+
"order",
12+
"passive",
13+
"port",
14+
"serverid",
15+
"servicegroupname",
16+
"servicegroupname",
17+
"weight",
18+
],
19+
"bindprimary_key": "monitor_name",
20+
"delete_arg_keys": ["monitor_name", "port"],
21+
"disable_payload_keys": [],
22+
"enable_payload_keys": [],
23+
"get_arg_keys": ["monitor_name", "port"],
24+
"immutable_keys": [
25+
"customserverid",
26+
"dbsttl",
27+
"hashid",
28+
"monitor_name",
29+
"monstate",
30+
"nameserver",
31+
"order",
32+
"passive",
33+
"port",
34+
"serverid",
35+
"servicegroupname",
36+
"weight",
37+
],
38+
"password_keys": [],
39+
"primary_key": "servicegroupname",
40+
"readwrite_arguments": {
41+
"customserverid": {"type": "str"},
42+
"dbsttl": {"type": "float"},
43+
"hashid": {"type": "float"},
44+
"monitor_name": {"type": "str"},
45+
"monstate": {"choices": ["DISABLED", "ENABLED"], "type": "str"},
46+
"nameserver": {"type": "str"},
47+
"order": {"type": "float"},
48+
"passive": {"type": "bool"},
49+
"port": {"type": "int"},
50+
"serverid": {"type": "float"},
51+
"servicegroupname": {"type": "str"},
52+
"weight": {"type": "float"},
53+
},
54+
"update_payload_keys": [],
55+
}
56+
}

plugins/modules/appflowaction.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- present
3232
- absent
3333
- unset
34-
- renamed
3534
default: present
3635
description:
3736
- The state of the resource being configured by the module on the NetScaler
@@ -40,7 +39,6 @@
4039
the module's parameters.
4140
- When C(absent), the resource will be deleted from the NetScaler ADC node.
4241
- When C(unset), the resource will be unset on the NetScaler ADC node.
43-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4442
type: str
4543
consider_non_updatable_arguments:
4644
choices:

plugins/modules/appflowcollector.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- present
3232
- absent
3333
- unset
34-
- renamed
3534
default: present
3635
description:
3736
- The state of the resource being configured by the module on the NetScaler
@@ -40,7 +39,6 @@
4039
the module's parameters.
4140
- When C(absent), the resource will be deleted from the NetScaler ADC node.
4241
- When C(unset), the resource will be unset on the NetScaler ADC node.
43-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4442
type: str
4543
consider_non_updatable_arguments:
4644
choices:

plugins/modules/appflowpolicy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- present
3232
- absent
3333
- unset
34-
- renamed
3534
default: present
3635
description:
3736
- The state of the resource being configured by the module on the NetScaler
@@ -40,7 +39,6 @@
4039
the module's parameters.
4140
- When C(absent), the resource will be deleted from the NetScaler ADC node.
4241
- When C(unset), the resource will be unset on the NetScaler ADC node.
43-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4442
type: str
4543
consider_non_updatable_arguments:
4644
choices:

plugins/modules/appflowpolicylabel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@
3030
choices:
3131
- present
3232
- absent
33-
- renamed
3433
default: present
3534
description:
3635
- The state of the resource being configured by the module on the NetScaler
3736
ADC node.
3837
- When C(present), the resource will be added/updated configured according to
3938
the module's parameters.
4039
- When C(absent), the resource will be deleted from the NetScaler ADC node.
41-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4240
type: str
4341
consider_non_updatable_arguments:
4442
choices:

plugins/modules/appfwpolicy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- present
3232
- absent
3333
- unset
34-
- renamed
3534
default: present
3635
description:
3736
- The state of the resource being configured by the module on the NetScaler
@@ -40,7 +39,6 @@
4039
the module's parameters.
4140
- When C(absent), the resource will be deleted from the NetScaler ADC node.
4241
- When C(unset), the resource will be unset on the NetScaler ADC node.
43-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4442
type: str
4543
consider_non_updatable_arguments:
4644
choices:

plugins/modules/appfwpolicylabel.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,13 @@
3030
choices:
3131
- present
3232
- absent
33-
- renamed
3433
default: present
3534
description:
3635
- The state of the resource being configured by the module on the NetScaler
3736
ADC node.
3837
- When C(present), the resource will be added/updated configured according to
3938
the module's parameters.
4039
- When C(absent), the resource will be deleted from the NetScaler ADC node.
41-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4240
type: str
4341
consider_non_updatable_arguments:
4442
choices:

plugins/modules/authenticationloginschemapolicy.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@
3131
- present
3232
- absent
3333
- unset
34-
- renamed
3534
default: present
3635
description:
3736
- The state of the resource being configured by the module on the NetScaler
@@ -40,7 +39,6 @@
4039
the module's parameters.
4140
- When C(absent), the resource will be deleted from the NetScaler ADC node.
4241
- When C(unset), the resource will be unset on the NetScaler ADC node.
43-
- When C(renamed), the resource will be renamed on the NetScaler ADC node.
4442
type: str
4543
consider_non_updatable_arguments:
4644
choices:

0 commit comments

Comments
 (0)