'Rename a network in MCP 1 data center
:param  network: The network to rename
:type   network: :class:`DimensionDataNetwork`
:param  new_name: The new name of the network
:type   new_name: ``str``
:rtype: ``bool``'

def ex_rename_network(self, network, new_name):

    response = self.connection.request_with_orgId_api_1(('network/%s' % network.id), method='POST', data=('name=%s' % new_name)).object
    response_code = findtext(response, 'result', GENERAL_NS)
    return (response_code == 'SUCCESS')
