diff options
author | Sofer Athlan-Guyot <sathlang@redhat.com> | 2017-08-07 16:04:08 +0200 |
---|---|---|
committer | Sofer Athlan-Guyot <sathlang@redhat.com> | 2017-08-08 14:01:08 +0200 |
commit | a8a1d5b30c12a3cf8f0268216e97b9d2f7568086 (patch) | |
tree | e3064d84ffbe18b50c793aef1d99040dee3e230c /network_data.yaml | |
parent | 5bf7d6582b2346a9c1671430ebead6c358508863 (diff) |
Keep dynamic network creation backward compatible.
We had an history mapping for InternalApi to InternalNetwork. If we
remove it then heat will want to destroy InternalNetwork and create
InternalApi which cannot work during upgrade.
This adds compat name parameters to network_data.yaml.
Closes-Bug: #1709105
Change-Id: I8ce6419a5e13a13ee6e991db5ca2196763f52d7a
Diffstat (limited to 'network_data.yaml')
-rw-r--r-- | network_data.yaml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/network_data.yaml b/network_data.yaml index 947769ae..6ad37dfe 100644 --- a/network_data.yaml +++ b/network_data.yaml @@ -17,6 +17,8 @@ # allocation_pools: IP range list e.g. [{'start':'10.0.0.4', 'end':'10.0.0.250}] # gateway_ip: gateway for the network (optional, may use parameter defaults) # NOTE: IP-related values set parameter defaults in templates, may be overridden. +# compat_name: for existing stack you may need to override the default transformation +# for the resource's name. # # Example: # - name Example @@ -39,6 +41,7 @@ vip: true ip_subnet: '172.16.2.0/24' allocation_pools: [{'start': '172.16.2.4', 'end': '172.16.2.250'}] + compat_name: Internal - name: Storage vip: true name_lower: storage |