Skip to content

Commit

Permalink
include interconnection creator aliases to interconnection attribute …
Browse files Browse the repository at this point in the history
…mapper
  • Loading branch information
t0mk committed Oct 3, 2023
1 parent edb67c5 commit 5a16535
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion plugins/module_utils/metal/metal_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,9 @@ def get_attribute_mapper(resource_type):
ssh_key_resources = set(['metal_ssh_key', 'metal_project_ssh_key'])
hardware_reservation_resources = set(['metal_project_hardware_reservation', 'metal_hardware_reservation'])
vlan_resources = set(["metal_vlan"])
connection_resources = set(['metal_connection', 'metal_connection_project', 'metal_connection_organization'])
connection_resources = set(['metal_connection', 'metal_connection_project', 'metal_connection_organization',
'metal_connection_project_dedicated', 'metal_connection_organization_dedicated',
'metal_connection_project_vlanfabric', 'metal_connection_project_vrf'])
if resource_type in device_resources:
return METAL_DEVICE_RESPONSE_ATTRIBUTE_MAP
elif resource_type in project_resources:
Expand Down

0 comments on commit 5a16535

Please sign in to comment.