Home | History | Annotate | Download | only in controllers

Lines Matching refs:config_params

259     def __init__(self, **config_params):
263 config_params: a dictionary with all the necessary packet fields.
271 interf = config_params['interf']
273 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
276 self.src_mac = config_params['src_mac']
278 self.dst_ipv4 = config_params['dst_ipv4']
279 if config_params['src_ipv4'] == GET_FROM_LOCAL_INTERFACE:
282 self.src_ipv4 = config_params['src_ipv4']
321 def __init__(self, **config_params):
325 config_params: contains all the necessary packet parameters.
333 interf = config_params['interf']
335 self.subnet_mask = config_params['subnet_mask']
336 self.dst_mac = config_params['dst_mac']
337 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
340 self.src_mac = config_params['src_mac']
342 self.dst_ipv4 = config_params['dst_ipv4']
343 if config_params['src_ipv4'] == GET_FROM_LOCAL_INTERFACE:
346 self.src_ipv4 = config_params['src_ipv4']
348 self.gw_ipv4 = config_params['gw_ipv4']
403 def __init__(self, **config_params):
407 config_params: contains all the necessary packet parameters.
415 interf = config_params['interf']
417 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
420 self.src_mac = config_params['src_mac']
422 self.dst_ipv6 = config_params['dst_ipv6']
423 self.src_ipv6_type = config_params['src_ipv6_type']
424 if config_params['src_ipv6'] == GET_FROM_LOCAL_INTERFACE:
427 self.src_ipv6 = config_params['src_ipv6']
468 def __init__(self, **config_params):
472 config_params
480 interf = config_params['interf']
482 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
485 self.src_mac = config_params['src_mac']
487 self.src_ipv6_type = config_params['src_ipv6_type']
488 if config_params['src_ipv6'] == GET_FROM_LOCAL_INTERFACE:
491 self.src_ipv6 = config_params['src_ipv6']
544 def __init__(self, **config_params):
548 config_params: contains all the necessary packet parameters.
556 interf = config_params['interf']
558 self.dst_mac = config_params['dst_mac']
559 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
562 self.src_mac = config_params['src_mac']
564 self.dst_ipv6 = config_params['dst_ipv6']
565 self.src_ipv6_type = config_params['src_ipv6_type']
566 if config_params['src_ipv6'] == GET_FROM_LOCAL_INTERFACE:
569 self.src_ipv6 = config_params['src_ipv6']
606 def __init__(self, **config_params):
610 config_params: contains all the necessary packet parameters.
618 interf = config_params['interf']
620 self.dst_mac = config_params['dst_mac']
621 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
624 self.src_mac = config_params['src_mac']
626 self.dst_ipv4 = config_params['dst_ipv4']
627 if config_params['src_ipv4'] == GET_FROM_LOCAL_INTERFACE:
630 self.src_ipv4 = config_params['src_ipv4']
667 def __init__(self, **config_params):
671 config_params: contains all the necessary packet parameters.
679 interf = config_params['interf']
681 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
684 self.src_mac = config_params['src_mac']
686 self.src_ipv6_type = config_params['src_ipv6_type']
687 if config_params['src_ipv6'] == GET_FROM_LOCAL_INTERFACE:
690 self.src_ipv6 = config_params['src_ipv6']
730 def __init__(self, **config_params):
734 config_params: contains all the necessary packet parameters.
742 interf = config_params['interf']
744 if config_params['src_mac'] == GET_FROM_LOCAL_INTERFACE:
747 self.src_mac = config_params['src_mac']
749 if config_params['src_ipv4'] == GET_FROM_LOCAL_INTERFACE:
752 self.src_ipv4 = config_params['src_ipv4']