title: Using pymongo to add a new member to existing replica set?
body: <p>Im trying to use pymongo to add a new member to a replica set.
  What i do when i connect to mongodb shell is the following command:</p>
  
  <pre><code>rs.add( { host: "mongodb3.example.net:27017", priority: 0, votes: 0 } )
  </code></pre>
  
  <p>I couldnt find any similar command in pymongo.</p>
  
  <p>i can get the current status using this:</p>
  
  <pre><code>client  = MongoClient(host)
  client.admin.command("replSetGetStatus")
  </code></pre>
  
  <p>But is there anyway to add a new member?</p>