(self)
| 91 | super(TestGRE, cls).tearDownClass() |
| 92 | |
| 93 | def setUp(self): |
| 94 | super(TestGRE, self).setUp() |
| 95 | |
| 96 | # create 3 pg interfaces - set one in a non-default table. |
| 97 | self.create_pg_interfaces(range(5)) |
| 98 | |
| 99 | self.tbl = VppIpTable(self, 1) |
| 100 | self.tbl.add_vpp_config() |
| 101 | self.pg1.set_table_ip4(1) |
| 102 | |
| 103 | for i in self.pg_interfaces: |
| 104 | i.admin_up() |
| 105 | |
| 106 | self.pg0.config_ip4() |
| 107 | self.pg0.resolve_arp() |
| 108 | self.pg1.config_ip4() |
| 109 | self.pg1.resolve_arp() |
| 110 | self.pg2.config_ip6() |
| 111 | self.pg2.resolve_ndp() |
| 112 | self.pg3.config_ip4() |
| 113 | self.pg3.resolve_arp() |
| 114 | self.pg4.config_ip4() |
| 115 | self.pg4.resolve_arp() |
| 116 | |
| 117 | def tearDown(self): |
| 118 | for i in self.pg_interfaces: |
no test coverage detected