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:
Blake Harnden 2020-06-11 19:01:38 -07:00
parent f626564200
commit c64094ac1c
3 changed files with 126 additions and 15 deletions

View file

@ -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:
"""