#NEWLINE# def _get_jump_rule( self , port , direction ) : #NEWLINE# #INDENT# if ( direction == firewall . INGRESS_DIRECTION ) : #NEWLINE# #INDENT# device = self . _get_br_device_name ( port ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# device = self . _get_device_name ( port ) #NEWLINE# #UNINDENT# jump_rule = ( '-m physdev --physdev-in %s -j CT --zone %s' % ( device , self . get_device_zone ( port [ 'device' ] ) ) ) #NEWLINE# return jump_rule