-
Notifications
You must be signed in to change notification settings - Fork 17
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
aq show network: misaligned columns #59
Comments
It would be good to use a tabulation library to render the output, I believe @msmark also demonstrated a wrapper (https://github.com/quattor/aquilon-tools/blob/master/src/bin/aqnet ?) at the Autumn workshop. |
Also aq show_network --all | column -t |
So the raw formater output does misalign the Network output intentionally (Network name has 0 indentation, then its details have 2 spaces indentation, building details are indented by 4 spaces, then if there would be any static routes, their personality details would be indented by 6 spaces): Network: very-long-network-name-which-is-ok-cause-it-can-use-all-the-screen-width
Network Environment: internal
IP: 127.0.0.1
Netmask: 255.255.224.0
Sysloc: xx.xx.xy
Building: xx
Fullname: XX
Address: Planet Earth
Location Parents: [Organization quattor, Hub xx, Continent xx, Country xx, Campus xx, City xx]
Side: a
Network Type: unknown Could you should an example of |
@urbonegi This looks like the details for a single network, the problem was when printing all networks. |
…merge/master/by_topic/new_hosts_should_not_use_wrong_building_fqdns_unless_forced to master * commit '5c0ee8410c70810e9271e3b939358aae16749ff0': Prevent use of wrong DNS domains for buildings
In
aq show network
date lines have columns misaligned with the header line, if the network name is longer thanNetwork
.The text was updated successfully, but these errors were encountered: