411
412
413
414
415
416
417
418
419
|
# File 'lib/f5/cli/application.rb', line 411
def status(device_group=nil)
response = client.Management.DeviceGroup.get_sync_status(device_groups: { item: [ device_group ] })
puts "STATUS: #{response[:item][:status]}";
puts "STATUS COLOR: #{response[:item][:color]}";
puts "STATUS DESCRIPTION: #{response[:item][:member_state]}";
puts "STATUS SUMMARY: #{response[:item][:summary]}";
puts "STATUS DETAILS:"
puts response[:item][:details][:item].nil? ? "No further details." : response[:item][:details][:item]
end
|