

def _configure_cdn(self):
    '\n        Initialize CDN-related endpoints, if available.\n        '
    ident = self.identity
    cdn_svc = ident.services.get('object_cdn')
    if cdn_svc:
        ep = cdn_svc.endpoints.get(self.region_name)
        if ep:
            self.cdn_management_url = ep.public_url

dataset/ETHPy150Open rackspace/pyrax/pyrax/object_storage.py StorageClient._configure_cdn/original