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

Stackswith getting changed to normal switch #155

Merged
merged 5 commits into from
Mar 7, 2024

Conversation

madhansansel
Copy link
Contributor

Problem Description:
Whenever the user tries to claim a Stack Switch using the playbook and tries to edit the device info like hostname/serial_number/pid, then it automatically gets converted to a normal switch.

Root Cause:
This conversion happens due to a bug in the update_device API under PnP, which automatically makes stack as False if not passed in the payload.

Code Changes: Have added a check for the stack. If the device is a stack, it automatically takes stack as True for passing the payload to the API, bypassing the bug.

abimishr and others added 3 commits March 7, 2024 06:35
Adding fix for Stackswitch getting changed to normal switch post editing the device's info
@madhansansel
Copy link
Contributor Author

@wastorga Can you please check and approve?

@wastorga
Copy link
Contributor

wastorga commented Mar 7, 2024

Hi @madhansansel. Could you add it to the changelog please?

@bvargasre and @fmunozmiranda have not yet published the last PR (have not release version 6.12.0).

Tell us if you want to publish these changes with version 6.12.0 or as a new version.

Finally, (@bvargasre and @fmunozmiranda) please verify that the release date matches.

@MUTHU-RAKESH-27
Copy link
Contributor

MUTHU-RAKESH-27 commented Mar 7, 2024

HI @wastorga!
Changed the changelog.yaml file

Updated the changelog.yaml about the stack switch getting converted to normal switch.
@madhansansel
Copy link
Contributor Author

Hi @wastorga , updated the change log file . Thank you for your comments.

@bvargasre bvargasre merged commit 03a90de into cisco-en-programmability:develop Mar 7, 2024
5 checks passed
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.

5 participants