daemon: updated session.delete_link to have the interface ids default to none, since only one may need to be provided, updated link tests to account for more cases
This commit is contained in:
parent
f626564200
commit
c64094ac1c
3 changed files with 126 additions and 15 deletions
|
@ -319,8 +319,8 @@ class Session:
|
|||
self,
|
||||
node_one_id: int,
|
||||
node_two_id: int,
|
||||
interface_one_id: int,
|
||||
interface_two_id: int,
|
||||
interface_one_id: int = None,
|
||||
interface_two_id: int = None,
|
||||
link_type: LinkTypes = LinkTypes.WIRED,
|
||||
) -> None:
|
||||
"""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue