@require_creds(True)
@rpcmethod(signature=[RSPEC_TYPE, URN_TYPE, CREDENTIALS_TYPE, OPTIONS_TYPE],
           url_name="dummy_gopenflow")
def CreateSliver(slice_urn, credentials, rspec, users, **kwargs):
    logger.debug("Called CreateSliver for user %s" % kwargs["request"].user)
    agg = DummyOFAggregate.objects.all()[0]
    agg.resv_rspec = rspec
    agg.save()
    return rspec
dataset/ETHPy150Open fp7-ofelia/ocf/expedient/src/python/expedient_geni/gopenflow/tests/rpc.py/CreateSliver/original