'Create a new KeyPair
:param name: Name of the new KeyPair
:type  name: ``str``
:rtype: :class:`OpenStackKeyPair`'

def ex_create_keypair(self, name):

    warnings.warn('This    method    has    been    deprecated    in    favor    of    create_key_pair    method')
    return self.create_key_pair(name=name)
