Module Expr Str ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias ClassDef bases NameLoad body Assign NameStore ListLoad Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore BinOpMod Str Call AttributeLoad Str attr NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Dict Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Pass decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Return NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Return NameLoad decorator_list decorator_list
N/A N/A 
parse_match.py

Created by Thomas Mangin on 2015-06-22.
Copyright (c) 2009-2015 Exa Networks. All rights reserved.
 exabgp.configuration.core Section exabgp.configuration.flow.parser source exabgp.configuration.flow.parser destination exabgp.configuration.flow.parser any_port exabgp.configuration.flow.parser source_port exabgp.configuration.flow.parser destination_port exabgp.configuration.flow.parser tcp_flags exabgp.configuration.flow.parser protocol exabgp.configuration.flow.parser next_header exabgp.configuration.flow.parser fragment exabgp.configuration.flow.parser packet_length exabgp.configuration.flow.parser icmp_code exabgp.configuration.flow.parser icmp_type exabgp.configuration.flow.parser dscp exabgp.configuration.flow.parser traffic_class exabgp.configuration.flow.parser flow_label ParseFlowMatch N/A Section N/A N/A definition N/A source 10.0.0.0/24 source ::1/128/0 destination 10.0.1.0/24 port 25 source-port >1024 destination-port [ =80 =3128 >8080&<8088 ] packet-length [ >200&<300 >400&<500 ] tcp-flags [ 0x20+0x8+0x1 #name-here ]  # to check (ipv4 only) protocol [ udp tcp ] (ipv4 only) fragment [ not-a-fragment dont-fragment is-fragment first-fragment last-fragment ] (ipv6 only) next-header [ udp tcp ] (ipv6 only) flow-label >100&<2000 (ipv6 only) icmp-type 35  # to check (ipv6 only) icmp-code 55  # to check N/A syntax N/A match {
  %s;
} N/A N/A ;
   join definition N/A known N/A source destination source-ipv4 destination-ipv4 source-ipv6 destination-ipv6 port source-port destination-port protocol packet-length tcp-flags next-header fragment icmp-code icmp-type packet-length dscp traffic-class flow-label source destination source destination source destination any_port source_port destination_port protocol packet_length tcp_flags next_header fragment icmp_code icmp_type packet_length dscp traffic_class flow_label N/A action N/A source destination port source-port destination-port protocol packet-length tcp-flags next-header fragment icmp-code icmp-type packet-length dscp traffic-class flow-label nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add nlri-add N/A name flow/match __init__ N/A N/A self tokeniser scope error logger N/A N/A N/A N/A N/A Section __init__ self tokeniser scope error logger N/A clear N/A N/A self N/A N/A N/A N/A pre N/A N/A self N/A N/A N/A N/A N/A N/A self scope set N/A self name N/A N/A N/A self scope get flow/route N/A True N/A post N/A N/A self N/A N/A N/A N/A N/A N/A self scope pop N/A self name N/A True N/A N/A