* Made backend transaction and commit/validate API available to plugin code.

* This enables that RPOC handles can call commit and validate via lib
  * The commit/validate API is now: `candidate_validate()` and `candidate_commit()`
This commit is contained in:
Olof hagsand 2021-06-17 19:20:27 +02:00
parent 1f7fc3afcb
commit dd8883420c
14 changed files with 110 additions and 110 deletions

View file

@ -1,6 +0,0 @@
#!/bin/sh
# Travis pre-config script.
# Clone and install CLIgen (needed for clixon configure and make)
# Note travis builds and installs, then starts a clixon container where all tests are run from.
git clone https://github.com/clicon/cligen.git
(cd cligen && ./configure && make && sudo make install)

View file

@ -1,5 +0,0 @@
#!/usr/bin/env bash
# Travis pre-config script.
# build libevhtp
git clone https://github.com/clicon/libevhtp.git
(cd libevhtp/build && cmake -DEVHTP_DISABLE_REGEX=ON -DEVHTP_DISABLE_EVTHR=ON .. && make && sudo make install)

View file

@ -1,15 +0,0 @@
#!/usr/bin/env bash
set -eux
./configure --with-restconf=fcgi
make
sudo make install
(cd example; make; sudo make install)
(cd util; make; sudo make install)
sudo ldconfig
ps aux|grep clixon
cd test;
./test_api_path.sh
ps aux|grep clixon
./test_augment.sh
ps aux|grep clixon
./all.sh