cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
90
Views
2
Helpful
4
Replies
Highlighted
Cisco Employee

Displaying Interface List in NSO GUI using leafref

 

Dear All,

 

 

 

I am trying to display interface list for the selected device on NSO GUI using leafref in the yang. Below is the yang file.

 

 

leaf device {

 

        type leafref {

 

          path "/ncs:devices/ncs:device/ncs:name";

 

        }

 

      }

 

     

 

      leaf intf-number {

 

type leafref {

 

  path "deref(../device)/../ncs:config/cisco-ios-xr:interface/cisco-ios-xr:GigabitEthernet/cisco-ios-xr:id";

 

}

 

 

 

On the NSO Cli, while creating service instance it is showing the list of available interfaces for the selected device but on NSO GUI it is always displaying as text field and not showing list of interfaces. Although device list is being properly displaed on NSO Cli and GUI both. Am I missing anything?

 

 

I have tried with NSO 4.1.3.1 and 4.2.1.4.

 

4 REPLIES 4
Highlighted
Cisco Employee

 

Fixed in 4.3  I filed a TAC/SR on this. So please try 4.3. I restested my scenarios of leaf refs to pulldowns and they are working in 4.3 now.

 

Highlighted
Cisco Employee

 

Hello

 

 

This should be fixed in NSO 4.2.2 as per my TAC case.

 

Highlighted
Cisco Employee

 

Thanks Julie! I will check with 4.3.

 

Highlighted
Cisco Employee

 

Team,

 

 

Is there any workaround to fix it in 4.1.3.1 NSO because customer is not ready upgrade NSO?

 

Content for Community-Ad
Cisco Community October 2020 Spotlight Award Winners
This widget could not be displayed.