Example #1
0
 def __init__(self):
     self.vsctl_timeout = cfg.CONF.ovs_vsctl_timeout
     self.ovsdb = ovsdb_api.from_config(self)
Example #2
0
 def __init__(self):
     self.vsctl_timeout = cfg.CONF.OVS.ovsdb_timeout
     self.ovsdb = ovsdb_api.from_config(self)
Example #3
0
def connect_ovs_db(context):
    global ovs_db
    if ovs_db == None:
        ovs_db = ovsdb_api.from_config(context)