Start a Conversation

Unsolved

F

13 Posts

2689

August 24th, 2021 22:00

configupload via REST API?

Hi all,

Does anyone know if there is a command to perform a config upload via REST API?

I have looked in the FOS REST API reference manual as well as the SANnav management portal REST API guides and i didnt see any reference to config upload - i did see a reference for a support save but i need config upload API's

cheers!

Moderator

 • 

7.1K Posts

August 25th, 2021 09:00

Hello Farhad80,

I am not aware of any command that will do a configuration upload via rest api.

148 Posts

August 29th, 2021 07:00

Hi,

In the REST API manual 8.2.1, it says it is possible with the original commands. (page 20).

quote:

" Configuration Upload and Download
Fabric OS REST configurations can be saved and restored using the standard configuration upload and download commands as well as during a high availability (HA) failover operation. If you downgrade a device to a version of Fabric OS earlier than 8.2.0, FOS REST API is not supported and will not function, and any mgmtapp configuration commands are discarded.

"

unquote.

Regards,

Ed Schulte

13 Posts

September 3rd, 2021 19:00

Hi Ed,

Yes I saw that - however, there is no actual "configupload" module in the API guide (but there is for supportsave for example) - and that paragraph is just stating that the REST "configurations" are saved/restored as part of the configupload command - nowhere in that document does it state how to perform a configupload via API

As far as i can tell there's no way to do it via FOS API or SANnav (which i find odd)

thanks,
Farhad

148 Posts

September 4th, 2021 04:00

Hi Farhad,

What you can do is open a SR with a serial number under contract and we can consult with Brocade and if it is not possible, we can open an enhancement request... if that would suit.

Regards,

Ed

October 25th, 2021 13:00

Use this Service Template to execute 'configupload' command on Brocade FC switches; typically configupload is used to backup the switch configuration to a remote server,

'configupload' is executed via ssh rather than ftp when using this service template.

Using configupload over ssh is not particularly easy to do with traditional scripts since the command does not appear to support passing of the remote server password when executed with argument '-p ssh'.

 

February 27th, 2023 03:00


I need some help on how to use the given REST API- https://techdocs.broadcom.com/us/en/fibre-channel-networking/fabric-os/fabric-os-rest-api/9-1-x/v241...
On execution of this REST API call , I am getting a 404 bad request error code.
https://docs.broadcom.com/doc/FOS-82X-REST-API-RM- This doc doesn't mention any REST API for this task.

Is there any other REST API available to perform a configupload task on a Brocade SAN Switch?

 

Thanks.

No Events found!

Top