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

Rewrite CLI pretty priter in Python #129

Merged
merged 6 commits into from
Sep 6, 2023

Conversation

rical
Copy link
Contributor

@rical rical commented Sep 5, 2023

The existing implementation in bash is slow and cluttered. This PR rewrites the pretty printer in Python3. It also adds python3 to target and adds additional operational data to the datastore (see commits).

This PR changes the output format for show interfaces a bit, mainly based on the outcome of the discussions in #104 .

Add bridge master into "infix-interfaces:bridge-port" -> "bridge".

Signed-off-by: Richard Alpe <[email protected]>
Add ietf-if-extensions:parent-interface which is synonymous with link
in ip-route.

Signed-off-by: Richard Alpe <[email protected]>
This test is a "unit" test, which implies that it can be executed
locally without access to a Infix target environment.

Signed-off-by: Richard Alpe <[email protected]>
The old version (bash) where slow and cluttered. This version is much
faster and easier to read / maintain.

Signed-off-by: Richard Alpe <[email protected]>
@troglobit
Copy link
Contributor

Minor, missing aarch64: add python3 on target (defconfig), both defconfigs are synced to customer repos.

Not needed in _classic builds or minimal. The minimal defconfig is deprecated and will be dropped the coming week.

@troglobit troglobit merged commit 3c2b901 into kernelkit:main Sep 6, 2023
1 check 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.

2 participants