Test multiple VTI tunnels at the same time.

XfrmVtiTest now creates one IPv4 and one IPv6 tunnel per netid.
Similar to MultinetworkBaseTest, the tunnels are created in
setUpClass and torn down in tearDownClass, so all the tests are
always run with all the VTIs present.

This provides the basic infrastructure to perform more in-depth
testing of the VTI code in a realistic environment.

Bug: 70371070
Test: xfrm tests pass on android-4.9
Change-Id: I295c3af6626b0ced98975bbb67c2592ab9a8f455
2 files changed
tree: 5d15213d428ced6ef2ed23e80110e6d9a844839b
  1. devicetree/
  2. net/
  3. Android.bp