def add_origin(self, account_id, media_type, origin_url, cname=None,
                   secure=False):

        config = {'mediaType': media_type,
                  'originUrl': origin_url,
                  'isSecureContent': secure}

        if cname:
            config['cname'] = cname

        return self.account.createOriginPullMapping(config, id=account_id)
Adds an original pull mapping to an origin-pull.
dataset/ETHPy150Open softlayer/softlayer-python/SoftLayer/managers/cdn.py/CDNManager.add_origin