(cherry picked from commit 1d62283796c476f9955a7c7fba25fd49d8d9eedf)
Ganesh Nalawade authored on 2017/07/06 03:50:08... | ... |
@@ -182,11 +182,13 @@ from ansible.module_utils.basic import AnsibleModule |
182 | 182 |
from ansible.module_utils.netcfg import NetworkConfig, dumps |
183 | 183 |
from ansible.module_utils.iosxr import load_config,get_config |
184 | 184 |
from ansible.module_utils.iosxr import iosxr_argument_spec |
185 |
+from ansible.module_utils.iosxr import check_args as iosxr_check_args |
|
185 | 186 |
|
186 | 187 |
DEFAULT_COMMIT_COMMENT = 'configured by iosxr_config' |
187 | 188 |
|
188 | 189 |
|
189 | 190 |
def check_args(module, warnings): |
191 |
+ iosxr_check_args(module, warnings) |
|
190 | 192 |
if module.params['comment']: |
191 | 193 |
if len(module.params['comment']) > 60: |
192 | 194 |
module.fail_json(msg='comment argument cannot be more than 60 characters') |