Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
I'd like to persist some data in proplist in my service, in cb_create() I have proplist.append((service.name, str(index)) where index is allocated in cb_create(). The commit was successful. But when the config was updated again, in cb_pre_modificatio...
I have two services: A and B with yang model like below:A:list A-list { key name; leaf name { type string; } leaf state { type string; }}B:list B-list { key name; leaf name {type string;} ... uses ncs:service-data; ncs:servicepoint B-servicep...
The existing yang module has a container named "global", from python when I tried to access the leaf (e.g. delay) using root.xxx.global.delay, the package failed to load because "global" is a keyword in python. Is there another way to access this con...
First of all, I went through the post Python DataCallback daemon but my case is more complicated than this.I have a yang module defined as module pydp {
namespace "http://tail-f.com/ns/example/pydp";
prefix pydp; yang-version 1.1;
import tail...
Actually this is what I want to achieve: if an element's state in pcl changes to 'up', the kicker is expected to fire off. It's impossible to map element in pcl to node because there may be hundreds of node element while only single digit number of p...
Hmm, actually I do have trigger-expression set to 'up' to monitor a new element of A coming up. Currently I set the kick-node to /B-list and action-name as 're-deploy', and this will redeploy B as many times as the number of elements in B-list which ...