* Restconf stream notification support - two variants.

* Both a "native" stream support and one using nginx/nchan pub/sub.
  * See (apps/restconf/README.md) for details.
* clixon-config YAML file has new revision: 2018-10-21.
This commit is contained in:
Olof hagsand 2018-10-21 22:19:38 +02:00
parent a4e29bcdb7
commit 71eddeaa74
21 changed files with 811 additions and 144 deletions

View file

@ -76,10 +76,10 @@ Send restconf command
<rpc><validate><source><candidate/></source></validate></rpc>]]>]]>
```
## Creating notification
## Streams
The example has an example notification triggering every 10s. To start a notification
stream in the session, create a subscription:
The example has an EXAMPLE stream notification triggering every 5s. To start a notification
stream in the session using netconf, create a subscription:
```
<rpc><create-subscription><stream>ROUTING</stream></create-subscription></rpc>]]>]]>
<rpc-reply><ok/></rpc-reply>]]>]]>
@ -95,6 +95,8 @@ Routing notification
...
```
Restconf support is also supported, see [../apps/restconf/README.md].
## Initializing a plugin
The example includes a restonf, netconf, CLI and two backend plugins.