Skip to content

Feature/boot swicth all#289

Merged
pszulczewski merged 3 commits intonetworktocode:developfrom
juanjtomasg:feature/boot_swith_all
Dec 22, 2023
Merged

Feature/boot swicth all#289
pszulczewski merged 3 commits intonetworktocode:developfrom
juanjtomasg:feature/boot_swith_all

Conversation

@juanjtomasg
Copy link
Contributor

C3650 devices do have a non matching syntax in current pyntc code.

C3650 #sh run | i boot system
boot system switch all flash:cat3k_caa-universalk9.SPA.03.07.01.E.152-3.E1.bin

The issue is that the current regex expression do not allow to have more than one string without spaces. Adding new regex expresion that allows to have the string "swicth all" within the boot system command.

@balmasea
Copy link
Contributor

Hi @jeffkala, @pszulczewski and @pke11y. Could you please review this PR? We believe it is interesting for the library.
Thanks.

@jeffkala
Copy link
Contributor

@juanjtomasg thanks or the PR, I will review it and provide feedback.

Copy link
Contributor

@pszulczewski pszulczewski left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pszulczewski pszulczewski merged commit 26cce0e into networktocode:develop Dec 22, 2023
pszulczewski added a commit that referenced this pull request Jan 3, 2024
* Update for netmiko 4.x (#308)

* Update kwargs in nxos_device.py to fix nautobot-nornir.

* Pylint updates.

* Update CI for pylint py version.

* Fix exceptions

* Fix NXOS timeout

* Add refresh facts.

* Remove save() from nxos install_os as it causes error.

* Update pyntc/devices/aireos_device.py

Post-review commit (lint)

Co-authored-by: Jeff Kala <48843785+jeffkala@users.noreply.github.com>

---------

Co-authored-by: Jeff Kala <48843785+jeffkala@users.noreply.github.com>

* Feature/boot swicth all (#289)

Extend cisco_ios boot option lookup.

---------

Co-authored-by: tomasgaj <juan_jesus.tomas_garcia@roche.com>

* Release 2.0.0

---------

Co-authored-by: Jeff Kala <48843785+jeffkala@users.noreply.github.com>
Co-authored-by: juanjtomasg <66510649+juanjtomasg@users.noreply.github.com>
Co-authored-by: tomasgaj <juan_jesus.tomas_garcia@roche.com>
@pszulczewski pszulczewski mentioned this pull request Jan 3, 2024
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

Successfully merging this pull request may close these issues.

4 participants