- def __init__(self):
- """Initialization and setting of profile parameters."""
-
- super(TrafficProfileBaseClass, self).__init__()
-
- # IPs used in packet headers.
- self.p1_src_start_ip = u"192.168.0.0"
- self.p1_src_end_ip = u"192.168.255.255"
- self.p1_dst_start_ip = u"20.0.0.0"
- self.p1_dst_end_ip = u"20.0.255.255"
-
- # Headers length; not used in this profile, just for the record of
- # header length for TCP packet with 0B payload
- self.headers_size = 58 # 14B l2 + 20B ipv4 + 24B tcp incl. 4B options
-
- # Delay for keeping tcp sessions active
- self.delay = 2000000 # delay 2s (2,000,000 usec)
-