code: def add_pool_member(self, name, port, pool_name):
          '''
          Add a node to a pool
          '''
          if not self.check_pool(pool_name):
              raise CommandExecutionError(
                  '{0} pool does not exists'.format(pool_name)
              )
  
          members_seq = self.bigIP.LocalLB.Pool.typefactory.create(
              'Common.IPPortDefinitionSequence'
          )
          members_seq.items = []
  
          member = self.bigIP.LocalLB.Pool.typefactory.create(
              'Common.IPPortDefinition'
          )
  
          member.address = name
          member.port = port
  
          members_seq.items.append(member)
  
          try:
              self.bigIP.LocalLB.Pool.add_member(pool_names=[pool_name],
                                                 members=[members_seq])
          except Exception as e:
              raise Exception(
                  'Unable to add `{0}` to `{1}`\n\n{2}'.format(name,
                                                               pool_name,
                                                               e)
              )
          return Truf add_pool_member(self, name, port, pool_name):
          '''
          Add a node to a pool
          '''
          if not self.check_pool(pool_name):
              raise CommandExecutionError(
                  '{0} pool does not exists'.format(pool_name)
              )
  
          members_seq = self.bigIP.LocalLB.Pool.typefactory.create(
              'Common.IPPortDefinitionSequence'
          )
          members_seq.items = []
  
          member = self.bigIP.LocalLB.Pool.typefactory.create(
              'Common.IPPortDefinition'
          )
  
          member.address = name
          member.port = port
  
          members_seq.items.append(member)
  
          try:
              self.bigIP.LocalLB.Pool.add_member(pool_names=[pool_name],
                                                 members=[members_seq])
          except Exception as e:
              raise Exception(
                  'Unable to add `{0}` to `{1}`\n\n{2}'.format(name,
                                                               pool_name,
                                                               e)
              )
          return True
docs: Add a node to a pool