'Create a new VPS.net node
@inherits: :class:`NodeDriver.create_node`
:keyword    ex_backups_enabled: Enable automatic backups
:type       ex_backups_enabled: ``bool``
:keyword    ex_fqdn:   Fully Qualified domain of the node
:type       ex_fqdn:   ``str``'

def create_node(self, name, image, size, **kwargs):

    headers = {'Content-Type': 'application/json'}
    request = {'virtual_machine': {'label': name, 'fqdn': kwargs.get('ex_fqdn', ''), 'system_template_id': image.id, 'backups_enabled': kwargs.get('ex_backups_enabled', 0), 'slices_required': size.id}}
    res = self.connection.request(('/virtual_machines.%s' % (API_VERSION,)), data=json.dumps(request), headers=headers, method='POST')
    node = self._to_node(res.object['virtual_machine'])
    return node
