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

VRF Create output issue #436

Closed
cprivitere opened this issue Jan 19, 2024 · 2 comments · Fixed by #444
Closed

VRF Create output issue #436

cprivitere opened this issue Jan 19, 2024 · 2 comments · Fixed by #444
Labels
bug Something isn't working

Comments

@cprivitere
Copy link
Contributor

What happened?

When we create a vrf currently, we get the following output:

❯ metal vrf create  -m ch -r 192.168.1.1/29 -a 12003 -n testvrf
+---------+------+-------------+----------------+-------------------------------+---------+
|   ID    | NAME | DESCRIPTION |    LOCALASN    |           IPRANGES            | CREATED |
+---------+------+-------------+----------------+-------------------------------+---------+
| testvrf |      | 12003       | 192.168.1.0/29 | 2024-01-19 20:33:52 +0000 UTC |
+---------+------+-------------+----------------+-------------------------------+---------+

If you wait a sec and then run a get, you get something like this

+--------------------------------------+---------+-------------+----------------+----------+-------------------------------+
|                  ID                  |  NAME   | DESCRIPTION |    IPRANGES    | LOCALASN |            CREATED            |
+--------------------------------------+---------+-------------+----------------+----------+-------------------------------+
| 5ee64f98-fa3d-47f8-83c9-273dd7298147 | testvrf |             | 192.168.1.0/29 | 12003    | 2024-01-19 20:33:52 +0000 UTC |
+--------------------------------------+---------+-------------+----------------+----------+-------------------------------+

Ideally, the initial output should look more like the latter, at least putting fields in the right columns if we don't have all the info yet.

How can we reproduce it?

Make a vrf with metal vrf create

CLI version (metal --version): 0.19.0

@cprivitere cprivitere added the bug Something isn't working label Jan 19, 2024
@codinja1188
Copy link
Contributor

/assign @codinja1188

@codinja1188
Copy link
Contributor

#444

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants