lib/cloudstack-cli/commands/zone.rb in cloudstack-cli-0.15.1 vs lib/cloudstack-cli/commands/zone.rb in cloudstack-cli-1.0.0.rc1
- old
+ new
@@ -4,14 +4,18 @@
def list
zones = client.list_zones
if zones.size < 1
puts "No projects found"
else
- table = [%w(Name Description)]
+ table = [%w(Name Network-Type Description)]
zones.each do |zone|
- table << [zone['name'] ,zone['description']]
+ table << [
+ zone['name'],
+ zone['networktype'],
+ zone['description']
+ ]
end
end
print_table(table)
end
-end
\ No newline at end of file
+end