cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
392
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