neutron-vpnaas/neutron_vpnaas
zhanghao2 3c1e0da1aa Fix local_id override in ipsec unit tests
If 'local_id' not in ipsec_site_conn, we can get it from
ipsec_site_conn['external_ip']. Otherwise use it from
ipsec_site_conn['local_id'].

This patch do these:
1. Fix the 'local_ip' error, it should be 'local_id'.
2. Add two tests if the 'local_id' missing.
3. Fix 'local_id' cover tests. Fill 'local_id' to template
'leftid'.

Co-Authored-By: Dongcan Ye <hellochosen@gmail.com>
Change-Id: I4d1ccb6b23d4331ab2951c828c491199fdc46faa
2019-09-11 10:35:50 +00:00
..
2019-06-16 03:45:25 -04:00
2018-09-26 09:18:01 -06:00