Fix tenant_nic loopup error for nosdn fdio scenario 41/22841/3
authorFeng Pan <fpan@redhat.com>
Fri, 7 Oct 2016 19:20:54 +0000 (15:20 -0400)
committerFeng Pan <fpan@redhat.com>
Sun, 9 Oct 2016 00:27:59 +0000 (20:27 -0400)
commit766fed530d3b4e0a761aa66d5b076f8fe3f3956f
tree7061aaccfb36a7f788c134b132166b02bf5f9713
parentc65e51f972578231104f0d271ef278ed5be1d84c
Fix tenant_nic loopup error for nosdn fdio scenario

Currently we assume tenant_nic is a virtual interface name (like nic1),
so we perform an extra hiera lookup, this is not needed if the user
specifies physical nic name in network_settings file. This patch defaults
the hiera lookup of the nic interface lookup to be what the user specifies
if a hiera value can't be found.

JIRA: APEX-293

opnfv-tht-pr: 88

Change-Id: I5f6d3addbaf20c4dfec532b1292ddb9424552a1f
Signed-off-by: Feng Pan <fpan@redhat.com>
ci/PR_revision.log