Implemented logical interface creation with all possible scenarios

Change-Id: I210d8cb7fb6e8418a773e94a6f24f7f8f0852168