Update awx_collection to support ReceptorAddress

- Add receptor_address module which allows
users to create addresses for instances

- Update awx_collection functional and integration
tests to support new peering design

Signed-off-by: Seth Foster <fosterbseth@gmail.com>
This commit is contained in:
Seth Foster
2023-11-15 12:34:19 -05:00
committed by Seth Foster
parent d1cacf64de
commit 04cbbbccfa
10 changed files with 236 additions and 52 deletions

View File

@@ -930,6 +930,8 @@ class ControllerAPIModule(ControllerModule):
item_name = existing_item['id']
elif item_type == 'instance':
item_name = existing_item['hostname']
elif item_type == 'receptor_address':
item_name = existing_item['address']
else:
item_name = existing_item['name']
item_id = existing_item['id']