Chapter 09/circuit-oneops-1-master/components/cookbooks/f5-bigip/libraries/load_balancer.rb
#
# List of device groups the load balancer is a part of
#
List of device groups the load balancer is a part of
List of device groups the load balancer is a part of
def device_groups
      @device_groups ||= client['Management.DeviceGroup']
                           .get_list
                           .delete_if { |g| g =~ /device_trust_group/ || g == '/Common/gtm' }
    end
def device_groups @device_groups ||= client [ 'Management.DeviceGroup' ] . get_list . delete_if { | g | g =~ / device_trust_group / || g == '/Common/gtm' } end
List of device groups the load balancer is a part of
List of device groups the load balancer is a part of