cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
524
Views
0
Helpful
0
Replies

Nano Dynamic Components

mustafabehadir
Level 1
Level 1

Hi,
I wonder that, is it possible to create a nested dynamic component for the yang like below?

list endpoint {

  key endpoint-name;

  list interface {

    key interface-name;

  }

}

ncs:multiplier {
  ncs:foreach "endpoint/interface" {
    ncs:variable "NAME" {
      ncs:value-expr "interface-name";
    }
    ncs:create-component "$NAME" { ... }
  }
}

 Thanks 

0 Replies 0
Polls
AI-powered tools for network troubleshooting are likely to be part of everyone’s workflow sooner or later. What is the single biggest challenge or concern you see with adopting these tools in your organization?