code: def add_nodes(self, lb, nodes):
          
          if not isinstance(nodes, (list, tuple)):
              nodes = [nodes]
          node_dicts = [nd.to_dict() for nd in nodes]
          resp, body = self.api.method_post("/loadbalancers/%s/nodes" % lb.id,
                  body={"nodes": node_dicts})
          return resp, body
docs: Adds the list of nodes to the specified load balancer.