cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Displaying Interface List in NSO GUI using leafref

khgrant
Cisco Employee
Cisco Employee

 

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

khgrant
Cisco Employee
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.

 

khgrant
Cisco Employee
Cisco Employee

 

Hello

 

 

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

 

khgrant
Cisco Employee
Cisco Employee

 

Thanks Julie! I will check with 4.3.

 

khgrant
Cisco Employee
Cisco Employee

 

Team,

 

 

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

 

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: