Skip to content
This repository has been archived by the owner on Feb 29, 2024. It is now read-only.

Commit

Permalink
Add tripleo_network_name tag hint to networks
Browse files Browse the repository at this point in the history
The ansible module to manage networks sets the name
upper as a tag hint on the neutron network resources.
tripleo_ansible/ansible_plugins/modules/tripleo_composable_network.py#L124

This change adds this tag for Heat managed networks as
well.

Change-Id: I717b06a0578dccca0e2152f6d454ad7a96cff8fb
Partial-Implements: blueprint network-data-v2-ports
  • Loading branch information
hjensas committed Apr 12, 2021
1 parent 73684d0 commit 70dc61c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions network/network.j2
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ resources:
- {'mtu': {get_param: {{network.name}}Mtu}}
tags:
- tripleo_net_idx={{network.idx}}
- tripleo_network_name={{network.name}}
- tripleo_vip={{network.vip|default(false)}}
{%- if network.service_net_map_replace|default('') %}
- tripleo_service_net_map_replace={{network.service_net_map_replace}}
Expand Down

0 comments on commit 70dc61c

Please sign in to comment.