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

fix: aligned the VRF table columns #444

Merged
merged 2 commits into from
Feb 2, 2024
Merged

Conversation

codinja1188
Copy link
Contributor

@codinja1188 codinja1188 commented Feb 2, 2024

Fixes #436

@codinja1188
Copy link
Contributor Author

Test Results:

Vasubabus-MacBook-Pro:bin vasubabu$ ./metal vrf create  -m ch -r 192.168.10.1/29 -a 12004 -n testvrf2
+--------------------------------------+----------+-------------+-----------------+----------+-------------------------------+
|                  ID                  |   NAME   | DESCRIPTION |    IPRANGES     | LOCALASN |            CREATED            |
+--------------------------------------+----------+-------------+-----------------+----------+-------------------------------+
| 4b7883b0-aa23-46dc-97c2-c75f24a21a4d | testvrf2 |             | 192.168.10.0/29 | 12004    | 2024-02-02 14:55:50 +0000 UTC |
+--------------------------------------+----------+-------------+-----------------+----------+-------------------------------+
Vasubabus-MacBook-Pro:bin vasubabu$ ./metal vrf get
+--------------------------------------+---------------+---------------+-----------------+----------+-------------------------------+
|                  ID                  |     NAME      |  DESCRIPTION  |    IPRANGES     | LOCALASN |            CREATED            |
+--------------------------------------+---------------+---------------+-----------------+----------+-------------------------------+
| c099c8ac-e013-4657-81aa-3be337cf4ad5 | cli-vrf-test5 | cli-vrf-test5 | 100.77.1.0/24   | 3171     | 2024-01-29 17:10:31 +0000 UTC |
| bb4f22d5-4ff7-4469-ab98-ce2680469fd5 | testvrf       |               | 192.168.1.0/29  | 12003    | 2024-02-02 14:52:03 +0000 UTC |
| 4b7883b0-aa23-46dc-97c2-c75f24a21a4d | testvrf2      |               | 192.168.10.0/29 | 12004    | 2024-02-02 14:55:50 +0000 UTC |
+--------------------------------------+---------------+---------------+-----------------+----------+-------------------------------+

internal/vrf/create.go Outdated Show resolved Hide resolved
@displague displague merged commit 27f49c4 into equinix:main Feb 2, 2024
5 of 6 checks 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.

VRF Create output issue
2 participants