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

Update eric_eccli.py #359

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

kb5879gm
Copy link

@kb5879gm kb5879gm commented Jan 10, 2022

Correction to work with the IPOS v21

SUMMARY

Corrects the exception thrown on connect.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME

eric_eccli plugin

ADDITIONAL INFORMATION

Correction to work with the IPOS v21
@gundalow
Copy link
Contributor

I assume this code did work at somepoint, have the commands changed prior to IPOS v21?

Will this change still work with older versions?

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added bug This issue/PR relates to a bug needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI new_contributor Help guide this first time contributor plugins plugin (any type) small_patch Hopefully easy to review terminal terminal plugin labels Jan 12, 2022
@kb5879gm
Copy link
Author

That I don't know. I have been trying to find a contact at Ericsson that develops the IPOS software, to ask the questions. I know that the 'screen-length 0' and 'screen-width 512' commands are not a options on the IPOS v21 software. So, a new eric_eccli plugin be created to support IPOS >= 21 ?

@kb5879gm
Copy link
Author

Ericsson is saying that they are unable to find the “screen-length” and “screen-width” commands on the IPOS R18 software. So, what are our steps for getting the Ansible module updated?

@Andersson007
Copy link
Contributor

@kb5879gm hello, thanks for the fix! So those obsolete commands are not present in IPOS R18, right?
Is IPOS R18 the oldest device when the commands are not present?

Anyway, is it possible to get a device version within the code? If yes we could add a condition logically saying if version >= IPOS R18: use this code; else: use the old code.

What do you think?

@Andersson007
Copy link
Contributor

cc @itercheng @Khurram703 (i saw you were interested in this stuff)
@Ansibleyou @ghost (you folks contributed to the related stuff)
if anyone takes a look and shares their thoughts, it would be great

@kb5879gm
Copy link
Author

kb5879gm commented Mar 10, 2022 via email

@Andersson007
Copy link
Contributor

@kb5879gm cool, if the condition is implemented, i could merge the PR without further reviews. thank you!

@ansibullbot ansibullbot added stale_ci CI is older than 7 days, rerun before merging and removed needs_ci This PR requires CI testing to be performed. Please close and re-open this PR to trigger CI labels Jun 14, 2022
@OpenSourceJimYan
Copy link

Not sure why this pull request is still in Open status. I can confirm that the change is correct since I'm working with Ericsson IPOS currently.....

@Andersson007
Copy link
Contributor

@OpenSourceJimYan thanks! closing

@OpenSourceJimYan
Copy link

@Andersson007 is it possible to merge this change? Not sure why it didn't get merged.

@Andersson007 Andersson007 reopened this Mar 6, 2024
@Andersson007
Copy link
Contributor

@OpenSourceJimYan hi, oh, sorry, i misunderstood the conversation, so if it's still relevant:

  • There was a talk about the condition, it wasn't done as far as i can see
  • There should also be a changelog fragment added

@kb5879gm can you finish this? If not can anyone else finish the PR (feel free to create a replacing PR)?

@Andersson007
Copy link
Contributor

@OpenSourceJimYan if the original author will not respond within a couple of days, would you like to finish it? If you have no experience with GH, here's a quick start guide.

@OpenSourceJimYan
Copy link

@OpenSourceJimYan if the original author will not respond within a couple of days, would you like to finish it? If you have no experience with GH, here's a quick start guide.

Thank you very much. Yeah I would more than happy to learn how to do it. Let's wait for a couple of days first.

@Andersson007
Copy link
Contributor

@OpenSourceJimYan if the original author will not respond within a couple of days, would you like to finish it? If you have no experience with GH, here's a quick start guide.

Thank you very much. Yeah I would more than happy to learn how to do it. Let's wait for a couple of days first.

Great thanks! Feel free to start in a couple of days then, please put it explicitly in comment here. Also if there are any questions along the way, I'd be happy to help, just ask

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug new_contributor Help guide this first time contributor plugins plugin (any type) small_patch Hopefully easy to review stale_ci CI is older than 7 days, rerun before merging terminal terminal plugin
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants