davidban77 / gns3fy

Python library wrapper around GNS3 Server REST API
https://davidban77.github.io/gns3fy/
56 stars 28 forks source link

upload file issue #108

Open davidwallis opened 1 year ago

davidwallis commented 1 year ago

Hi,

I'm struggling to upload a file and getting a 401 - its a docker container (arista ceos) - I can upload /etc/networks/interfaces, however if I try and upload a startup config to /mnt/flash/startup-config it returns a 401 error.

I don't suppose you have any tips of where to start trying to resolve this?

(also I don't suppose it's possible to set co-ords within a project (* using your ansible module)

Thanks

David

davidwallis commented 1 year ago

Hmm, simple fix, needs to be turned off :D

so just the co-ordinates question if I may :)

davidban77 commented 1 year ago

Great that you managed to figure it out! :)

For the coordinates question, I don't think is possible at the moment. I think the work will need to be put on the ansible collection repository though.

I have a pending refactor of this project that should make those methods more accessible for the ansible collection to use them.

davidwallis commented 1 year ago

sorry for the delay in responding, I await the refactor with interest as think I can really use this module - it seems to be working well in my home lab for testing, next plan is to try and model some networks in a layered approach where I can bring inventory in / combine it depending on which aspects of the network I need.

but this seems to work well in a POC pipeline for deploying arista ceos-lab images in gns3, pushing arista avd config and validating in batfish etc. (not in that exact order but.. )