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

API server fails to assign port #65

Closed
pwlodawi opened this issue Jun 19, 2019 · 5 comments
Closed

API server fails to assign port #65

pwlodawi opened this issue Jun 19, 2019 · 5 comments
Assignees

Comments

@pwlodawi
Copy link

pwlodawi commented Jun 19, 2019

Assigning port to Linux API server session fails with error
"Port Statistics for assigned ports not ready after 90 seconds.\nThe following ports are down: /vport:1 "

Here is my code:
https://gist.github.com/pwlodawi/7d1c7512e1bc8e1f3f1a615214371ec8
here is log
https://gist.github.com/pwlodawi/1f087f1db23b631f17f64667883279cd

I'm using:
ixnetwork-restpy version 1.0.32
API server:
Application Version: 8.52.2.34
IxNetwork API Server Version: 8.52.2.3

Best Regards,

@hubertgee
Copy link
Contributor

hubertgee commented Jun 19, 2019 via email

@hubertgee hubertgee self-assigned this Jun 19, 2019
@pwlodawi
Copy link
Author

pwlodawi commented Jun 19, 2019

Removing find() changes nothing.
`
ixn.NewConfig()
new_vport = ixn.Vport.add(Name='My port 3/2')

ixn.AssignPorts([dict(Arg1='11.0.1.250', Arg2=3, Arg3=2)],
[],
[new_vport],
True)
`

Again the same error.

Log with find() removed:
https://gist.github.com/pwlodawi/21ad49526b75b1d3be10fd7bd799ed40

@therkong
Copy link
Collaborator

therkong commented Jun 19, 2019 via email

@pwlodawi
Copy link
Author

What example ?

@pwlodawi
Copy link
Author

Error was caused by version mismatch between API server (8.52) and chassis (8.50-SP1).

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

No branches or pull requests

3 participants