def create_snapshot(self, datacenter_id, volume_id,<EOL>name=None, description=None):
data = {'<STR_LIT:name>': name, '<STR_LIT:description>': description}<EOL>response = self._perform_request(<EOL>'<STR_LIT>' % (<EOL>datacenter_id, volume_id),<EOL>method='<STR_LIT>',<EOL>data=urlencode(data))<EOL>return response<EOL>
Creates a snapshot of the specified volume.

:param      datacenter_id: The unique ID of the data center.
:type       datacenter_id: ``str``

:param      volume_id: The unique ID of the volume.
:type       volume_id: ``str``

:param      name: The name given to the volume.
:type       name: ``str``

:param      description: The description given to the volume.
:type       description: ``str``