Compatible with the no mapping in network.yml 09/34409/1
authorzhongjun <zhong.jun@zte.com.cn>
Mon, 8 May 2017 02:26:00 +0000 (10:26 +0800)
committerzhongjun <zhong.jun@zte.com.cn>
Mon, 8 May 2017 02:26:00 +0000 (10:26 +0800)
commit027ecc6d1dbfd5a4dece51bded00fc0aa75d4b8b
tree13e72e4645e806600a18d85d73cd4a0b4bde1bbe
parent568edb9d5ed462672d5a5c53ac735e04d8f687c4
Compatible with the no mapping in network.yml

1)resolve the error  ' AttributeError: 'NetworkConfig' object has
no attribute 'ext_mapping'' with the no mapping in network.yml.

2)resolve the creating external subnet failure if the external
netwok exists.

Change-Id: I578365d91b8b61f9f88a5d4ff2c9db9ecc512edc
Signed-off-by: zhongjun <zhong.jun@zte.com.cn>
deploy/post/execute.py