code: def update(self, name, **kwargs):
          
          # These arguments are allowed
          self.allowed('update', kwargs, ['hostname', 'port', 'status',
                       'storage_hostname', 'volume_type_name', 'size'])
          # Remove parameters that are None
          kwargs = self.unused(kwargs)
          return self.http_post('/nodes/%s' % name, params=kwargs)
docs: Create a new node