Fix tenant_nic loopup error for nosdn fdio scenario 15/22815/2
authorFeng Pan <fpan@redhat.com>
Fri, 7 Oct 2016 19:20:54 +0000 (15:20 -0400)
committerFeng Pan <fpan@redhat.com>
Sat, 8 Oct 2016 23:56:48 +0000 (19:56 -0400)
commitb1b909a9c5e07956c9da379bc121a582a3fdea35
tree5b20df243336d0bedbe59e67baac9541ef3d0675
parent3c5f0829f2e31b2d11501519b3170baad4ab38ca
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