Comments (5)
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.
from aquilon.
Also column -t
does a good job (apart from the comments column).
aq show_network --all | column -t
from aquilon.
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 wrong
alignment, cause I do not see what is wrong here. If you are trying to script around Aquilon broker, you should either use protobuf or csv output format, not raw output.
from aquilon.
@urbonegi This looks like the details for a single network, the problem was when printing all networks.
from aquilon.
Aha! @gombasg removed the tabular network list functionality in fd08fd7 as part of the IPv6 support.
from aquilon.
Related Issues (20)
- 1.12.62: aq show service --all doesn't work if the service has no instance
- Why service configuration is included so late in the plenary object? HOT 4
- 1.12.62: too strict check for feature template existence HOT 9
- 1.12.62: aq pxeswitch should allow to define aii-installfe cdburl
- 1.12.62: how to define the rack slot for a machine HOT 1
- 1.12.62: how to define set_hwaddr for network interfaces? HOT 11
- Aquilon-related schema should be released with the broker
- Include broker details in metadata HOT 4
- aq update machine internal error if a VM has a local disk
- aq add interface should support --boot
- Better documentation of option valid values is needed
- 1.12.65: make the cluster object profile optional? HOT 6
- 1.12.65: allow aq cat to display template library templates
- 1.12.65: disk type cannot be specified in aq add disk
- 1.12.65: an undefined IP address should be valid for a virtual host in a cluster HOT 2
- 1.12.66: how to change an interface address HOT 5
- Sandbox creation error message is not human friendly
- Add DNS domain as an option to aq map_service HOT 1
- Postgresql database upgrade scripts for 1.15.0 err with syntax errors HOT 1
- Broker systemd unit file is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from aquilon.