Added virtual switch logic-1