Skip to content
Snippets Groups Projects

Feature/nat 244 lag deletion

Closed JORGE SASIAIN requested to merge feature/nat-244-lag-deletion into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
@@ -193,7+193,7 @@
"""Assign a given physical interface to a :term:`LAG`.
Returns the updated physical interface object with the assignend LAG
"""
# Get device id
device = self.get_device_by_name(device_name)
@@ -235,7+235,7 @@
f"The interface: {iface_name} on device: {device_name} belongs to a different LAG: {lag.name}."
)
# Remove physical interface from lag (i.e. remove the lag reference in the physical interface)
# Remove physical interface from lag (that is, remove the lag reference in the physical interface)
iface.lag = None
# Update physical interface
Loading