def get_tc_device(self):
if self.direction == TrafficDirection.OUTGOING:<EOL><INDENT>return self.device<EOL><DEDENT>if self.direction == TrafficDirection.INCOMING:<EOL><INDENT>return self.ifb_device<EOL><DEDENT>raise ParameterError(<EOL>"<STR_LIT>", expected=TrafficDirection.LIST, value=self.direction<EOL>)<EOL>
Return a device name that associated network communication direction.