Class: Chef::Knife::Cloud::VcairServerShow
- Inherits:
-
ServerShowCommand
- Object
- ServerShowCommand
- Chef::Knife::Cloud::VcairServerShow
- Includes:
- VcairHelpers, VcairServiceOptions, ServerShowOptions
- Defined in:
- lib/chef/knife/vcair_server_show.rb
Instance Method Summary collapse
Methods included from VcairServiceOptions
Methods included from VcairHelpers
#config_value, #create_service_instance, #get_id, #msg_pair, #net, #network_config, #org, #template, #validate!, #vapp, #vdc, #vm
Instance Method Details
#before_exec_command ⇒ Object
23 24 25 26 27 28 29 30 31 32 |
# File 'lib/chef/knife/vcair_server_show.rb', line 23 def before_exec_command # TODO - Update the columns info with the keys and callbacks required as per fog object returned for your cloud. Framework looks for 'key' on your server object hash returned by fog. If you need the values to be formatted or if your value is another object that needs to be looked up use value_callback. @columns_with_info = [ {:label => 'Instance ID', :key => 'id'}, {:label => 'Name', :key => 'name'}, #... ] super end |