diff --git a/pom.xml b/pom.xml index c830ca5..696354f 100644 --- a/pom.xml +++ b/pom.xml @@ -23,7 +23,7 @@ conditions of the subcomponent's license, as noted in the LICENSE file. phpIPAM phpIPAM integration for vRA - 1.0.3 + 1.0.4 false true diff --git a/src/main/python/allocate_ip/source.py b/src/main/python/allocate_ip/source.py index fa9e2e1..8321297 100644 --- a/src/main/python/allocate_ip/source.py +++ b/src/main/python/allocate_ip/source.py @@ -142,13 +142,12 @@ def allocate(resource, allocation, context, endpoint, bundle): def allocate_in_range(range_id, resource, allocation, context, endpoint, bundle): if int(allocation['size']) ==1: vmName = resource['name'] - owner = resource['owner'] uri = bundle['uri'] token = bundle['token'] cert = bundle['cert'] payload = { 'hostname': vmName, - 'description': f'Reserved by vRA for {owner} at {datetime.now()}' + 'description': f'Reserved by vRA at {datetime.now()}' } allocate_uri = f'{uri}/addresses/first_free/{str(range_id)}/' allocate_req = requests.post(allocate_uri, data=payload, headers=token, verify=cert)