-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ansible VSNext #47
Ansible VSNext #47
Conversation
|
||
DOCUMENTATION = """ | ||
--- | ||
module: cp_gaia_virtual_system |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
make it as module name cp_gaia_virtual_gateway
@@ -203,7 +211,8 @@ def main(): | |||
primary=dict(type='str'), | |||
lacp_rate=dict(type='str', choices=['slow', 'fast']), | |||
mode=dict(type='str', choices=['round-robin', 'active-backup', 'xor', '8023AD']), | |||
mii_interval=dict(type='int') | |||
mii_interval=dict(type='int'), | |||
virtual_system_id=dict(type="int", required=False) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if it is relevant to all modules
so add it in
https://github.com/CheckPointSW/CheckPointAnsibleGAIACollection/blob/master/plugins/module_utils/checkpoint.py#L44
- Manages virtual gateway on Check Point gateways including creating, updating and removing virtual systems. | ||
- All operations are performed over Web Services API. | ||
version_added: "2.9" | ||
author: "Jafar Atili (@chkp-jafara)" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add your name here
description: | ||
- Manages virtual gateway on Check Point gateways including creating, updating and removing virtual systems. | ||
- All operations are performed over Web Services API. | ||
version_added: "2.9" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
update to correct version of our collection
@@ -153,7 +157,7 @@ | |||
def main(): | |||
# arguments for the module: | |||
fields = dict( | |||
enabled=dict(type='bool'), | |||
enabled=dict(type='bool') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing , comma
@@ -98,7 +106,7 @@ def main(): | |||
fields = dict( | |||
limit=dict(type="int", required=False, default=50), | |||
offset=dict(type="int", required=False, default=0), | |||
order=dict(type="str", required=False, choices=['ASC', 'DESC'], default="ASC"), | |||
order=dict(type="str", required=False, choices=['ASC', 'DESC'], default="ASC") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe the comma in ansible is required after the parameter
please check it if it is working or return what was before
@@ -80,7 +84,7 @@ def main(): | |||
fields = dict( | |||
limit=dict(type="int", required=False, default=50), | |||
offset=dict(type="int", required=False, default=0), | |||
order=dict(type="str", required=False, choices=['ASC', 'DESC'], default="ASC"), | |||
order=dict(type="str", required=False, choices=['ASC', 'DESC'], default="ASC") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same as above
@@ -98,7 +106,7 @@ def main(): | |||
fields = dict( | |||
limit=dict(type="int", required=False, default=50), | |||
offset=dict(type="int", required=False, default=0), | |||
order=dict(type="str", required=False, choices=['ASC', 'DESC'], default="ASC"), | |||
order=dict(type="str", required=False, choices=['ASC', 'DESC'], default="ASC") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
No description provided.