def create_snapshot(self, name):
params = {'<STR_LIT:name>': name}<EOL>j, _ = self.datacenter.request('<STR_LIT:POST>', self.path + '<STR_LIT>', <EOL>data=params)<EOL>return Snapshot(machine=self, data=j, name=name)<EOL>
::

    POST /:login/machines/:id/snapshots

:param name: identifier for snapshot
:type name: :py:class:`basestring`

:rtype: :py:class:`smartdc.machine.Snapshot`

Create a snapshot for this machine's current state with the given 
`name`.