xml config default; api_path_fmt2api_path cleanup

This commit is contained in:
Olof hagsand 2017-10-03 22:41:12 +02:00
parent e1b7ea8449
commit 5cea5fa768
10 changed files with 165 additions and 70 deletions

View file

@ -7,15 +7,15 @@
```
Start backend:
```
clixon_backend -f /usr/local/etc/routing.conf -I
clixon_backend -f /usr/local/etc/routing.xml -I
```
Edit cli:
```
clixon_cli -f /usr/local/etc/routing.conf
clixon_cli -f /usr/local/etc/routing.xml
```
Send netconf command:
```
clixon_netconf -f /usr/local/etc/routing.conf
clixon_netconf -f /usr/local/etc/routing.xml
```
## Setting data example using netconf

View file

@ -1,5 +1,5 @@
<config>
<CLICON_CONFIGFILE>/usr/local/etc/routing.conf</CLICON_CONFIGFILE>
<CLICON_CONFIGFILE>/usr/local/etc/routing.xml</CLICON_CONFIGFILE>
<CLICON_YANG_DIR>/usr/local/share/routing/yang</CLICON_YANG_DIR>
<CLICON_YANG_MODULE_MAIN>example</CLICON_YANG_MODULE_MAIN>
<CLICON_CLI_MODE>routing</CLICON_CLI_MODE>