'Registers a Machine Image based off of an EBS-backed instance.
Can also be used to create images from snapshots.
Outscale does not support image_location, kernel_id and ramdisk_id.
:param      name:  The name for the AMI being registered
:type       name: ``str``
:param      description: The description of the AMI (optional)
:type       description: ``str``
:param      architecture: The architecture of the AMI (i386/x86_64)
(optional)
:type       architecture: ``str``
:param      root_device_name: The device name for the root device
Required if registering an EBS-backed AMI
:type       root_device_name: ``str``
:param      block_device_mapping: A dictionary of the disk layout
(optional)
:type       block_device_mapping: ``dict``
:rtype:     :class:`NodeImage`'

def ex_register_image(self, name, description=None, architecture=None, root_device_name=None, block_device_mapping=None):

    return super(OutscaleNodeDriver, self).ex_register_image(name, description=description, architecture=architecture, root_device_name=root_device_name, block_device_mapping=block_device_mapping)
