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
|
@ -756,7 +756,7 @@ class CtrlNet(CoreNetwork):
|
|||
:param index: starting address index
|
||||
:return: nothing
|
||||
"""
|
||||
use_ovs = self.session.options.get_config("ovs") == "True"
|
||||
use_ovs = self.session.use_ovs()
|
||||
address = self.prefix[index]
|
||||
current = f"{address}/{self.prefix.prefixlen}"
|
||||
net_client = get_net_client(use_ovs, utils.cmd)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue