Sha256: 5ff3f008cfbe488fa4458213131055f466977371cc1b730c65138df8d14a514b
Contents?: true
Size: 404 Bytes
Versions: 16
Compression:
Stored size: 404 Bytes
Contents
class Pod < CloudstackCli::Base desc 'list', 'list pods' def list pods = client.list_pods(options) if pods.size < 1 say "No pods found." else table = [["Name", "Start-IP", "End-IP", "Zone"]] pods.each do |pod| table << [ pod['name'], pod['startip'], pod['endip'], pod['zonename'] ] end print_table table end end end
Version data entries
16 entries across 16 versions & 1 rubygems