Persistent_disable option is not getting removed from a port via Rest API on FOS:9.1.1_01
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,