Giter Club home page Giter Club logo

Comments (7)

alagoutte avatar alagoutte commented on July 4, 2024

Hi,

What your code ? and what product and release actually ?

from pyaoscx.

mrkslm avatar mrkslm commented on July 4, 2024

Hello
Switch model is Aruba JL725A 6200F 24G PoE+ / 4SFP+
Current firmware 10.08 and wanted to test the upgrade to 10.11 with a simple code

`import urllib3
from pyaoscx.device import Device
from pyaoscx.session import Session

urllib3.disable_warnings()
VERSION = '10.04'
SWITCH = '10.10.10.10'

USERNAME = "username"
PASSWORD = 'password'

ses = Session(SWITCH, VERSION)
ses.open(USERNAME, PASSWORD)

device = Device(ses)
image = '.\ArubaOS-CX_6200_10_11_1010.swi'
device.upload_firmware(partition_name='secondary', firmware_file_path=image,
remote_firmware_file_path=None, vrf=None)

ses.close()`

from pyaoscx.

alagoutte avatar alagoutte commented on July 4, 2024

the script run on what platform ? (Linux or Windows ?)

do you try to use upload_firmware_local ?

def upload_firmware_local(

from pyaoscx.

tchiapuziowong avatar tchiapuziowong commented on July 4, 2024

Hi @mrkslm this is a known issue we're tracking through aruba/aoscx-ansible-collection#52 - we've completed a fix and working on some additional bug fixes we're packaging in the next release which is planned for next week. we'll update this issue when we've published the fix, thank you for your patience!

from pyaoscx.

mrkslm avatar mrkslm commented on July 4, 2024

@tchiapuziowong Understood! Will wait for the fix then :)

from pyaoscx.

alagoutte avatar alagoutte commented on July 4, 2024

Hi @mrkslm this is a known issue we're tracking through aruba/aoscx-ansible-collection#52 - we've completed a fix and working on some additional bug fixes we're packaging in the next release which is planned for next week. we'll update this issue when we've published the fix, thank you for your patience!

use pycurl ? like for ansible module https://github.com/aruba/aoscx-ansible-collection/blob/31fa1c7d2a158ba20e00ee570534be96fe8e2d2f/plugins/modules/aoscx_upload_firmware.py#L155 (What Platform is Bristol and Lemans ? (PL ? RL ?))

from pyaoscx.

mrkslm avatar mrkslm commented on July 4, 2024

Hello, tested with the version 2.4.0 and everything is working now. You can close this issue :)

from pyaoscx.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.