Add tests for physical interface

Change-Id: I28c403c0f313b778352d66646023797f71aae75d
Add tests for virtual machine interface

Change-Id: I5fcddc5571259016f2bd3bc26761d6e861ab2227