Improve validation for the external network parameter
1. Check the network name to see if there is duplicate name. If so,
advise user to use network ID.
2. External network cannot be private network, so filter the query
for the external network with this attribute to validate.
Reviewed: https:/ /review. openstack. org/327670 /git.openstack. org/cgit/ openstack/ magnum/ commit/ ?id=ae0b77a55ae 0a96ab1944c1a23 df1bc31a4a021c
Committed: https:/
Submitter: Jenkins
Branch: master
commit ae0b77a55ae0a96 ab1944c1a23df1b c31a4a021c
Author: PanFengyun <email address hidden>
Date: Tue Jul 5 14:35:55 2016 +0800
Improve validation for the external network parameter
1. Check the network name to see if there is duplicate name. If so,
advise user to use network ID.
2. External network cannot be private network, so filter the query
for the external network with this attribute to validate.
Change-Id: Ic02add0338cef3 44d02ef68c83724 88fbe0b8fcd
Closes-Bug: #1591018