daemon/gui: adjustments to account for network node wired links having proper interface ids, which allow for unique configuration with the new linking semantics
This commit is contained in:
parent
b71272519d
commit
dc9b6adc98
7 changed files with 61 additions and 45 deletions
|
@ -307,12 +307,8 @@ class Session:
|
|||
:param options: options to configure interfaces with
|
||||
:return: interfaces created for both nodes
|
||||
"""
|
||||
# create interface
|
||||
if iface1_data and isinstance(node1, CoreNetworkBase):
|
||||
iface1_data.id = None
|
||||
# create interfaces
|
||||
iface1 = node1.create_iface(iface1_data, options)
|
||||
if iface2_data and isinstance(node2, CoreNetworkBase):
|
||||
iface2_data.id = None
|
||||
iface2 = node2.create_iface(iface2_data, options)
|
||||
# join and attach to ptp bridge
|
||||
ptp = self.create_node(PtpNet, self.state.should_start())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue