def _add_egress_interface(self, interfaces, egress_port, tagged_vlans, lacp):
    if lacp:
        interfaces[egress_port] = Interface(description='egress', lacp=LACP_MODE, tagged_vlans=tagged_vlans)
    else:
        interfaces[egress_port] = Interface(description='egress', tagged_vlans=tagged_vlans)
def _add_egress_interface(self, interfaces, egress_port, tagged_vlans, lacp):
    if lacp:
        interfaces[egress_port] = Interface(description='egress', lacp=LACP_MODE, tagged_vlans=tagged_vlans)
    else:
        interfaces[egress_port] = Interface(description='egress', tagged_vlans=tagged_vlans)