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:
Blake Harnden 2020-06-25 22:05:10 -07:00
parent b94d4d3507
commit f4224d1b80
7 changed files with 20 additions and 8 deletions

View file

@ -68,8 +68,9 @@ class CoreInterface:
# id used to find flow data
self.flow_id: Optional[int] = None
self.server: Optional["DistributedServer"] = server
use_ovs = session.options.get_config("ovs") == "True"
self.net_client: LinuxNetClient = get_net_client(use_ovs, self.host_cmd)
self.net_client: LinuxNetClient = get_net_client(
self.session.use_ovs(), self.host_cmd
)
def host_cmd(
self,