class F5::Cli::Interface

Public Instance Methods

list() click to toggle source
# File lib/f5/cli/application.rb, line 148
def list
  response = client.Networking.Interfaces.get_list

  interfaces = extract_items(response, :as_array)
  if interfaces.empty?
    puts "No interfaces found"
  else
    interfaces.each do |interface|
      puts interface
    end
  end
end