def __init__(self): self.vsctl_timeout = cfg.CONF.ovs_vsctl_timeout self.ovsdb = ovsdb_api.from_config(self)
def __init__(self): self.vsctl_timeout = cfg.CONF.OVS.ovsdb_timeout self.ovsdb = ovsdb_api.from_config(self)
def connect_ovs_db(context): global ovs_db if ovs_db == None: ovs_db = ovsdb_api.from_config(context)