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 have created service model to test template <?foreach {expression}?>...<?end?>:The service yang: list ST{
key "ovc";
uses ncs:service-data;
ncs:servicepoint "ST-servicepoint";
leaf ovc {
type string;
tailf:...
Based on YANG 1.1, you can make a container and all the leafs under the container as mandatory, eg:
container rsp { mandatory true; leaf interface { type string; } leaf logicalInterfaceId { ...
After you commit your request on commit-queue via cli command line or via REST API or RESTCONF API , a commit-queue item/ID would be returned, eg: queue-item 9494530158, you then can query your request's status via cli command line:
ncs# show devic...
Hi Vleijon,
Thank you very much for your reply!
The container's mandatory statement seems someone's suggestion to the standard:
https://www.ietf.org/mail-archive/web/netmod/current/msg09786.html
Somehow it makes sense to me.