Skip to content

Commit

Permalink
use L2PTP only with no basic nics
Browse files Browse the repository at this point in the history
  • Loading branch information
kthare10 committed May 30, 2024
1 parent 076389b commit 85c25d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fabrictestbed_extensions/fablib/network_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ def calculate_l2_nstype(interfaces: List[Interface] = None) -> ServiceType:
# L2PTP limitation for Facility Ports:
# basically the layer-2 point-to-point server template applied is not popping
# vlan tags over the MPLS tunnel between two facility ports.
if includes_facility_port and facility_port_interfaces < 2:
if includes_facility_port and facility_port_interfaces < 2 and not basic_nic_count:
# For now WAN FacilityPorts require L2PTP
rtn_nstype = NetworkService.network_service_map["L2PTP"]
elif len(interfaces) >= 2:
Expand Down

0 comments on commit 85c25d2

Please sign in to comment.