Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uploading config via tftp #136

Open
raffaelo99 opened this issue Mar 23, 2023 · 4 comments
Open

uploading config via tftp #136

raffaelo99 opened this issue Mar 23, 2023 · 4 comments

Comments

@raffaelo99
Copy link

hi
when i try to upload a config file via tftp and the get-arubaswcli i get an error "The copy commands are not supported via REST interface"
is there a way to upload a config file this way?

thanks!

@alagoutte
Copy link
Collaborator

Hi,

There is some API call for upload/download config file but not yet implement on PowerArubaSW

you can search on Rest API Guide for ArubaOS and use Invoke-ArubaSWWebRequest command

@raffaelo99
Copy link
Author

raffaelo99 commented Mar 24, 2023

the only thing i can find is: Service FileTransfer ... but this doesnt seem right
edit: found something here https://techhub.hpe.com/eginfolib/Aruba/16.07/5200-5375/index.html#GUID-33A3AF2E-E248-419A-943D-A86A08ABB4FD.html
this could work. but i dont get how to use it with the "invoke-arubaswwebrequest" yet

  |   | CfgRestorePayload | CfgRestorePayloadStatus | Accepts the encoded input and restore it as running configuration; REST performs the config restoration in non-blocking mode.

@alagoutte
Copy link
Collaborator

the only thing i can find is: Service FileTransfer ... but this doesnt seem right edit: found something here https://techhub.hpe.com/eginfolib/Aruba/16.07/5200-5375/index.html#GUID-33A3AF2E-E248-419A-943D-A86A08ABB4FD.html this could work. but i dont get how to use it with the "invoke-arubaswwebrequest" yet

| | CfgRestorePayload | CfgRestorePayloadStatus | Accepts the encoded input and restore it as running configuration; REST performs the config restoration in non-blocking mode.

you can look this https://asp.arubanetworks.com/downloads/software/RmlsZTphMTkxYmI5Yy1mYjkwLTExZWItOTJjMC02ZmI1ZWQ2YjAxZTk%3D

there is more info

@alagoutte
Copy link
Collaborator

the only thing i can find is: Service FileTransfer ... but this doesnt seem right edit: found something here https://techhub.hpe.com/eginfolib/Aruba/16.07/5200-5375/index.html#GUID-33A3AF2E-E248-419A-943D-A86A08ABB4FD.html this could work. but i dont get how to use it with the "invoke-arubaswwebrequest" yet

| | CfgRestorePayload | CfgRestorePayloadStatus | Accepts the encoded input and restore it as running configuration; REST performs the config restoration in non-blocking mode.

For use Invoke-ArubaSWWebRequest, you can look this file https://github.com/PowerAruba/PowerArubaSW/blob/master/PowerArubaSW/Private/Webrequest.ps1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants