Skip to content

[201911] Install pyroute2 for sonic-utilities #6792

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

Merged
merged 1 commit into from
Feb 23, 2021

Conversation

arlakshm
Copy link
Contributor

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan [email protected]

Why I did it

Install pyroute2 for sonic-utilities. This change is needed for sonic-net/sonic-utilities#1437

How I did it

How to verify it

Which release branch to backport (provide reason below if selected)

Description for the changelog

A picture of a cute animal (not mandatory but encouraged)

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
Comment on lines +154 to +155
#Install pyroute2==0.5.14 via pip in order to support get ip interface from kernal for sonic-utilities
sudo https_proxy=$https_proxy LANG=C chroot $FILESYSTEM_ROOT pip install pyroute2==0.5.14
Copy link
Contributor

@jleveque jleveque Feb 16, 2021

Choose a reason for hiding this comment

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

Prefer to add this dependency to the setup.py file in the sonic-utilities repo rather than installing explicitly here.

Nevermind. I just realized this PR is against the 201911 branch, where the sonic-utilities package is still built as a .deb package. This is OK.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@jleveque, Yes this is for 201911. Sorry I missed 201911 in the title

@jleveque jleveque changed the title Install pyroute2 for sonic-utilites [201911] Install pyroute2 for sonic-utilities Feb 16, 2021
@arlakshm
Copy link
Contributor Author

retest this please

1 similar comment
@arlakshm
Copy link
Contributor Author

retest this please

@arlakshm arlakshm merged commit daecc34 into sonic-net:201911 Feb 23, 2021
arlakshm added a commit to Azure/sonic-build-tools that referenced this pull request Feb 24, 2021
pyroute2 was added to image in this PR sonic-net/sonic-buildimage#6792
Install pyroute2 in the sonic-utilities PR build script.

Signed-off-by: Arvindsrinivasan Lakshmi Narasimhan <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants