def _build_datapath_config(self, dp_id, interfaces, mac=None):
    lldp_beacon = LLDPBeacon(max_per_interval=5, send_interval=5)
    stack = Stack(priority=1)
    return Datapath(dp_id=dp_id, faucet_dp_mac=mac, hardware='Generic', lacp_timeout=5, lldp_beacon=lldp_beacon, interfaces=interfaces, stack=stack)
def _build_datapath_config(self, dp_id, interfaces, mac=None):
    lldp_beacon = LLDPBeacon(max_per_interval=5, send_interval=5)
    stack = Stack(priority=1)
    return Datapath(dp_id=dp_id, faucet_dp_mac=mac, hardware='Generic', lacp_timeout=5, lldp_beacon=lldp_beacon, interfaces=interfaces, stack=stack)