'@inherits: :class:`StorageDriver.enable_container_cdn`
:param ex_ttl: cache time to live
:type ex_ttl: ``int``'

def enable_container_cdn(self, container, ex_ttl=None):

    container_name = self._encode_container_name(container.name)
    headers = {'X-CDN-Enabled': 'True'}
    if ex_ttl:
        headers['X-TTL'] = ex_ttl
    response = self.connection.request(('/%s' % container_name), method='PUT', headers=headers, cdn_request=True)
    return (response.status in [httplib.CREATED, httplib.ACCEPTED])
