File: README

package info (click to toggle)
yuma123 2.14-1
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 22,436 kB
  • sloc: ansic: 185,144; cpp: 10,968; python: 7,990; sh: 2,676; makefile: 1,175; xml: 807; exp: 776; perl: 70
file content (28 lines) | stat: -rw-r--r-- 678 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
==Standalone project for netconfd module implementing ietf-system.yang==
Dependency: installed netconfd run-time binaries and development shared libraries and headers.

===Build and install===
 autoreconf -i -f
 ./configure CFLAGS="-g -O0"  CXXFLAGS="-g -O0" --prefix=/usr
 make
 sudo make install

 sudo netconfd --module=ietf-system

===Functionality===
yangcli root@localhost> xget /system-state/clock/current-datetime

RPC Data Reply 3 for session 1:

rpc-reply {
  data {
    system-state {
      clock {
        current-datetime 2016-03-08T16:47:50Z
      }
    }
  }
}
...
 yangcli root@localhost> set-current-datetime current-datetime=1970-01-01T15:34:27.882201125Z
...