diff options
author | shangxdy <shang.xiaodong@zte.com.cn> | 2016-08-23 10:57:00 +0800 |
---|---|---|
committer | xiaodong shang <shang.xiaodong@zte.com.cn> | 2016-08-23 16:39:04 +0000 |
commit | 9625609529e8e5efcebb8a68b5c23d3f5c3016ff (patch) | |
tree | 1df0ff5b2195d004c4fadd457945b9ff1a430feb /tosca2heat/heat-translator/translator/hot | |
parent | 212d539d92a8d0b20af4d8ccb153b744fdc6e303 (diff) |
Bug: there is not segmentation_id in resource of
tosca.nodes.network.Network
In current implementation of tosca.nodes.network.Network translation,
the property of segmentation_id is included, but it doesn't exist in hot
syntax, so it will be deleted from current code.
JIRA:PARSER-96
Change-Id: I2bd32be887a07f77f7dad3fca469464f124e628f
Signed-off-by: shangxdy <shang.xiaodong@zte.com.cn>
(cherry picked from commit b284ccc46a966ce1f8a6e59363904d69bb8d081e)
Diffstat (limited to 'tosca2heat/heat-translator/translator/hot')
-rw-r--r-- | tosca2heat/heat-translator/translator/hot/tosca/tosca_network_network.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tosca2heat/heat-translator/translator/hot/tosca/tosca_network_network.py b/tosca2heat/heat-translator/translator/hot/tosca/tosca_network_network.py index 2b80313..a4e565e 100644 --- a/tosca2heat/heat-translator/translator/hot/tosca/tosca_network_network.py +++ b/tosca2heat/heat-translator/translator/hot/tosca/tosca_network_network.py @@ -57,8 +57,8 @@ class ToscaNetwork(HotResource): self.existing_resource_id = value break elif key == 'segmentation_id': - net_props['segmentation_id'] = \ - tosca_props['segmentation_id'] + # net_props['segmentation_id'] = \ + # tosca_props['segmentation_id'] # Hardcode to vxlan for now until we add the network type # and physical network to the spec. net_props['value_specs'] = {'provider:segmentation_id': |