def METHOD_NAME(self):
    host1, host2 = self.matched.host1, self.matched.host2
    host1.team0 = TeamDevice(config={'runner': {'name': self.params.runner_name}})
    host2.bond0 = BondDevice(mode=self.params.bonding_mode,
        miimon=self.params.miimon_value)
    configuration = super().METHOD_NAME()
    configuration.test_wide_devices = [host1.team0, host2.bond0]
    ipv4_addr = interface_addresses(self.params.net_ipv4)
    ipv6_addr = interface_addresses(self.params.net_ipv6)
    for (host, dev) in [(host1, host1.team0), (host2, host2.bond0)]:
        host.eth0.down()
        host.eth1.down()
        dev.slave_add(host.eth0)
        dev.slave_add(host.eth1)
        dev.ip_add(next(ipv4_addr))
        dev.ip_add(next(ipv6_addr))
    for host, dev in [(host1, host1.team0), (host2, host2.bond0)]:
        host.eth0.up()
        host.eth1.up()
        dev.up()
    self.wait_tentative_ips(configuration.test_wide_devices)
    return configuration