コード例 #1
0
ファイル: base.py プロジェクト: th3architect/networking-ovn
 def sb_idl_transaction(self,
                        fake_api,
                        check_error=False,
                        log_errors=True,
                        **kwargs):
     return transaction.Transaction(fake_api, self.monitor_sb_idl_con, 60,
                                    check_error, log_errors)
コード例 #2
0
ファイル: impl_idl_ovn.py プロジェクト: peteyan/neutron
 def create_transaction(self, check_error=False, log_errors=True):
     return idl_trans.Transaction(self, self.ovsdb_connection,
                                  self.ovsdb_connection.timeout,
                                  check_error, log_errors)
コード例 #3
0
 def transaction(self, check_error=False, log_errors=True, **kwargs):
     return idl_trans.Transaction(self, OvsdbNbOvnIdl.ovsdb_connection,
                                  self.ovsdb_timeout, check_error,
                                  log_errors)
コード例 #4
0
 def create_transaction(self, check_error=False, log_errors=True, **kwargs):
     return transaction.Transaction(self, self.__class__.ovsdb_connection,
                                    self.__class__.ovsdb_connection.timeout,
                                    check_error, log_errors)