Skip to main content
NetApp Knowledge Base

Persistent_disable option is not getting removed from a port via Rest API on FOS:9.1.1_01

Views:
243
Visibility:
Public
Votes:
0
Category:
fabric-interconnect-and-management-switches
Specialty:
brocade
Last Updated:

Applies to

  • Brocade Switch
  • FOS version-9.1.1
  • Ansible 2.9.27 Tower 3.8.4

Issue

  • Post upgrading Brocade switch from FOS 8.2.2 to FOS 9.1.1_01, persistent_disable option is not getting removed from a port via Rest API / ansible.
  • However, CLI can be used to do a persistent disable/enable on the port without any issues using portcfgpersistentenable command.
  • Running  "anJobTemplateServerSanPortEnable" command to enable port 2 of "devxxx" server via Rest API fails on SANXXX1 switch with new FOS v9.1.1_01 as shown below:

"PATCH_resp_code": 400, "PATCH_resp_data": {"errors": {"@xmlns": "urn:ietf:params:xml:ns:yang:ietf-restconf", "error": {"error-app-tag": "Error", "error-info": {"error-code": "-995", "error-module": "platform-port"}, "error-message": "Port enable failed because the port is persistently disabled", "error-path": "/fibrechannel/name/0/2/is-enabled-state", "error-tag": "Operation-failed", "error-type": "protocol"}}}, "PATCH_resp_reason": "Bad Request", "PATCH_url": " https://********/rest/running/brocad...e/fibrechannel", "POST_url": " https://********/rest/logout", "add_entries": [], "add_retcode": 0, "ansible_loop_var": "item", "changed": false,

 

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.