Persistent_disable 选项不会通过 FOS:9.1.1_01 上的 REST API 从端口中删除
适用于
- Brocade 交换机
- FOS 版本-9.1.1
- Ansible 2.9.27 Tower 3.8.4
问题
- 将 Brocade 交换机从 FOS 8.2.2 升级到 FOS 9.1.1_01 后,
persistent_disable选项无法通过 REST API / ansible 从端口中删除。 - 但是,可以使用 CLI 在端口上执行持久禁用/启用,使用
portcfgpersistentenable命令没有任何问题。 - 运行"
anJobTemplateServerSanPortEnable"命令通过 REST API 启用"devxxx"服务器的端口 2 在使用新 FOS v9.1.1_01 的 SANXXX1 交换机上失败,如下所示:
"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,