Пример #1
0
 def __init__(self, *args, **kwargs):
     super(SecureFirewall, self).__init__(*args, **kwargs)
     self.mac_to_port = {}
     parser = parse_firewall()
     self.inner_policy = parser.parse()
     self.logger.info("dict is ready")
 def __init__(self, *args, **kwargs):
     super(SecureFirewall, self).__init__(*args, **kwargs)
     self.mac_to_port = {}
     parser = parse_firewall()
     self.inner_policy = parser.parse()
     self.logger.info("dict is ready")
 def __init__(self, *args, **kwargs):
     super(InefficientFirewall, self).__init__(*args, **kwargs)
     self.mac_to_port = {}
     parser = parse_firewall()
     self.inner_policy = parser.parse()
Пример #4
0
 def __init__(self, *args, **kwargs):
     super(InefficientFirewall, self).__init__(*args, **kwargs)
     self.mac_to_port = {}
     parser = parse_firewall()
     self.inner_policy = parser.parse()