def stop_traffic(self, *ports):
        """ Stop traffic on list of ports.

        :param ports: list of ports to stop traffic on. Default - all session ports.
        """

        for chassis, chassis_ports in self._per_chassis_ports(*self._get_operation_ports(*ports)).items():
            chassis.stop_traffic(*chassis_ports)
def stop_traffic ( self , * ports ) : for chassis , chassis_ports in self . _per_chassis_ports ( * self . _get_operation_ports ( * ports ) ) . items ( ) : chassis . stop_traffic ( * chassis_ports )
Stop traffic on list of ports.

        :param ports: list of ports to stop traffic on. Default - all session ports.