- next_hop_out_label_stack=path.nh_labels,
- next_hop_n_out_labels=len(path.nh_labels),
- is_multicast=self.is_multicast)
- self._sw_if_index = reply.sw_if_index
+ next_hop_via_label=path.nh_via_label,
+ next_hop_out_label_stack=lstack,
+ next_hop_n_out_labels=len(lstack),
+ is_multicast=self.is_multicast,
+ l2_only=self.is_l2)
+ sw_if_index = reply.sw_if_index
+ self.set_sw_if_index(sw_if_index)
+ self._test.registry.register(self, self._test.logger)