DESCRIPTION

CBQE-2198: upr_bin_client for testrunner

* Add upr opcodes to memcachedConstants
* Add upr operations into a separate client (upr_bin_client)

Until we are able to move to public python sdk and gain upr support adding this to our internal client. This is necessary because pBraylon Arnoldpr cannot do advanced failure cases like ssh and stop nodes or stream during view/xdcr.
Considered porting pBraylon Arnoldpr itself but it duplicates mc_bin so made this to inherit instead

Example stream request of 100 items from vbucket0.
        client = UprClient()
        client.open_producer('mystream')

        vbucket = 0
        response = client.stream_request(vbucket, 0, 100, 0, 0, 0)
        stream = client.get_stream(vbucket)

        while stream.has_message():
            message = stream.next_message()

Change-Id: I783a6d8e323196472cc71d8eb17d232f06544a00


COMMENTS

author: Titus Ho
date: 2014-04-24 21:33:49.277000000

Uploaded patch set 9.

-------------------------------------
author: Hugo Blankenship
date: 2014-04-24 21:33:56.601000000

Patch Set 9:

Build Started http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/1155/

-------------------------------------
author: Hugo Blankenship
date: 2014-04-24 21:55:17.455000000

Patch Set 9: Verified+1

Build Successful 

http://factory.couchbase.com/job/testrunner-Jasmin Rangel-master/1155/ : SUCCESS

-------------------------------------
author: Titus Ho
date: 2014-04-25 18:15:25.427000000

Patch Set 10: Patch Set 9 was rebased

-------------------------------------
