daemon: updated ovs option to be a formal session option, will now display within gui, save to and be read from xml
This commit is contained in:
parent
b94d4d3507
commit
f4224d1b80
7 changed files with 20 additions and 8 deletions
|
@ -217,6 +217,9 @@ class Session:
|
|||
else:
|
||||
common_network.unlink(iface1, iface2)
|
||||
|
||||
def use_ovs(self) -> bool:
|
||||
return self.options.get_config("ovs") == "1"
|
||||
|
||||
def add_link(
|
||||
self,
|
||||
node1_id: int,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue