docs: def add_service_group(self, lb_id, allocation=100, port=80,
                            routing_type=2, routing_method=10):
          """Adds a new service group to the load balancer.
  
          :param int loadbal_id: The id of the loadbal where the service resides
          :param int allocation: percent of connections to allocate toward the
                                 group
          :param int port: the port of the service group
          :param int routing_type: the routing type to set on the service group
          :param int routing_method: The routing method to set on the group
          """
  
          mask = 'virtualServers[serviceGroups[services[groupReferences]]]'
          load_balancer = self.lb_svc.getObject(id=lb_id, mask=mask)
          service_template = {
              'port': port,
              'allocation': allocation,
              'serviceGroups': [
                  {
                      'routingTypeId': routing_type,
                      'routingMethodId': routing_method
                  }
              ]
          }
  
          load_balancer['virtualServers'].append(service_template)
          return self.lb_svc.editObject(load_balancer, id=lb_id)