initial work towards trying to model loss between wlan nodes using tc filters

This commit is contained in:
Blake Harnden 2020-04-23 13:57:07 -07:00
parent b5f4571618
commit 1fc5c92039
4 changed files with 123 additions and 38 deletions

View file

@ -59,6 +59,7 @@ class InterfaceManager:
def next_mac(self) -> str:
mac = str(self.current_mac)
logging.info("mac(%s) value(%s)", self.current_mac, self.current_mac.value)
value = self.current_mac.value + 1
self.current_mac = EUI(value)
self.current_mac.dialect = netaddr.mac_unix_expanded