Fixed the bugs in logical interface creation

Change-Id: If7dea2646341500d36b5dce09680bc54b5d42092
Merge pull request #8 from sbavanasi/baremetal

Fixed the bugs in logical interface creation