diff --git a/bossman/plugins/akamai/lib/papi.py b/bossman/plugins/akamai/lib/papi.py index bcf927f..8aa8ad1 100644 --- a/bossman/plugins/akamai/lib/papi.py +++ b/bossman/plugins/akamai/lib/papi.py @@ -179,7 +179,7 @@ def get_edgehostnames(self, contractId, groupId): edgeHostnames = list(PAPIEdgeHostname(**item) for item in response.json().get("edgeHostnames", {}).get("items", [])) return edgeHostnames - def create_edgehostname(self, contractId, groupId, domainPrefix, domainSuffix, productId, ipVersionBehavior, secureNetwork, certEnrollmentId=None): + def create_edgehostname(self, contractId, groupId, domainPrefix, domainSuffix, productId, ipVersionBehavior, secureNetwork, certEnrollmentId=None, **kwargs): self.logger.debug(f'create_edgehostnames {domainPrefix}.{domainSuffix} contractId=${contractId} groupId=${groupId}') params=dict(contractId=contractId, groupId=groupId) body=dict( @@ -188,6 +188,7 @@ def create_edgehostname(self, contractId, groupId, domainPrefix, domainSuffix, p productId=productId, ipVersionBehavior=ipVersionBehavior, secureNetwork=secureNetwork, + **kwargs ) if certEnrollmentId != None: body['certEnrollmentId'] = certEnrollmentId