Infrastructure Visualization. This is the command line interface and core classes for iv, a gem for visualizing cloud infrastructure.
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install iv-cli
Then initialize the config files
$ gem init $ vim ~/.iv/config
IV is built around a core executable,
iv, which gives access to
Creates config files in the user's home directory.
$ iv init Generating config directory in ~/.iv Generating config file ~/.iv/config.yml
Usage: iv init [options] -f, --force Overwrite pre-existing config files -h, --help Show this help message
Lists out all nodes in all of your environments
$ iv nodes + status + name + ip + os + org + | 2 minutes ago | node.name.domain.com | 0.0.0.0 | my os | demo | | 1 minute ago | node2.name.domain.com | 0.0.0.0 | my os | stage | $ iv nodes -f csv 1 minutes ago,node.name.domain.com,0.0.0.0,os type,demo 1 hour ago,node2.domain.com,0.0.0.0,os type,prod
Please note that all nodes should have a NAME and an FQDN registered with your chef server in order for the formatting to work correctly.
Usage: iv nodes [options] -f, --formatter Output formatter. Defaults to 'table'
- table - Outputs headers as well as pipe-delimited rows
- csv - Outputs rows as comma-delimited text
- Fork it
- Create your feature branch (
git checkout -b my-new-feature)
- Commit your changes (
git commit -am 'Added some feature')
- Push to the branch (
git push origin my-new-feature)
- Create new Pull Request