list interface {
key name;
leaf name {
type string {
tailf:info "WORD;;Interface name";
}
}
}
list interface-oper {
config false;
key name;
leaf name {type string {
tailf:info "WORD;;Interface name";
}
}
leaf in-packets {
type yang:counter64;
config false;
}
}
I have this yang file and I have to fake data of counter as oper data. Any idea of how can I do that in netconf .
Solved! Go to Solution.
@vleijon trying to upload operational data using xml but getting stuck at
confd_load: 613: cdb_connect(sock, CDB_DATA_SOCKET, addr, addrlen) failed: Bad protocol usage or unexpected retval (21): Library MAXDEPTH/MAXKEYLEN 20/9 for confd_hkeypath_t are too small, ConfD needs 47/4