@app.route("/VolumeDriver.Create", methods=["POST"])
    @_endpoint(u"Create")
    def volumedriver_create(self, Name, Opts=None):
        metadata = {NAME_FIELD: Name}
        opts = Opts or {}
        profile = opts.get(u"profile")
        if profile:
            metadata[PROFILE_METADATA_KEY] = profile

        size_from_opts = opts.get(u"size")
        if size_from_opts:
            size = parse_num(size_from_opts)
            metadata[u"maximum_size"] = unicode(int(size.to_Byte()))
        else:
            size = DEFAULT_SIZE

        def ensure_unique_name(configured):
            for dataset in configured:
                if dataset.metadata.get(NAME_FIELD) == Name:
                    raise DatasetAlreadyExists

        creating = conditional_create(
            self._flocker_client, self._reactor, ensure_unique_name,
            self._node_id, int(size.to_Byte()), metadata=metadata)
        creating.addErrback(lambda reason: reason.trap(DatasetAlreadyExists))
        creating.addCallback(lambda _: {u"Err": u""})
        return creating
:param val:
dataset/ETHPy150Open ClusterHQ/flocker/flocker/dockerplugin/_api.py/VolumePlugin.volumedriver_create--crossover with--dataset/ETHPy150Open moraes/tipfy/tipfy/auth/oauth.py/_oauth_escape