#na_ontap_rest_cli module test

1 messages · Page 1 of 1 (latest)

hybrid girder
#

i'm attempting a test using the na_ontap-rest_cli module to disable a svm udp protocol and seem to have some issues doing so. i'm recieving the following error on execution: "msg": "Error: {'message': 'API not found', 'code': '3'}". please advise.

  • name: Get SVM NFS Config Settings
    netapp.ontap.na_ontap_rest_cli:
    hostname: "{{ svm_cluster_ip }}"
    username: "{{ netapp_user }}"
    password: "{{ netapp_password }}"
    https: true
    validate_certs: false
    command: 'vserver/nfs/modify'
    verb: 'PATCH'
    params:
    vserver: "{{ svm_name }}"
    body: { "udp": "disabled" }
rain vale
whole orbit
#

what ONTAP version are you running this against?

charred oak
hybrid girder
#

chris, yes i would use the nfs module for this...i'm just doing a simple test for options not available with the nfs module and using the cli module