'Create a new Network
:param name: Name of network which should be used
:type name: ``str``
:param cidr: cidr of network which should be used
:type cidr: ``str``
:rtype: :class:`OpenStackNetwork`'

def ex_create_network(self, name, cidr):

    data = {'network': {'cidr': cidr, 'label': name}}
    response = self.connection.request(self._networks_url_prefix, method='POST', data=data).object
    return self._to_network(response['network'])
