Checks that interface names conform to the specified format