i am using this module " Cisco-IOS-XR-pfi-im-cmd-oper.yang" to get interface counts (UP , Down , Admin-Down), but i am stuck with symbol *[] , i dont understand what to put inside if there is no keys inside list brackets ,
+--ro node-type-sets
| +--ro node-type-set* []
| +--ro node-name? xr:Node-id
| +--ro type-set-name? Interface-type-set
| +--ro interface-summary
| +--ro interface-counts
| | +--ro interface-count? uint32
| | +--ro up-interface-count? uint32
| | +--ro down-interface-count? uint32
| | +--ro admin-down-interface-count? uint32
| +--ro interface-type* []
| +--ro interface-counts
| | +--ro interface-count? uint32
| | +--ro up-interface-count? uint32
| | +--ro down-interface-count? uint32
| | +--ro admin-down-interface-count? uint32
| +--ro interface-type-name? string
| +--ro interface-type-description? string
i figure out this path below , but it still keep tell me is worng
Cisco-IOS-XR-pfi-im-cmd-oper:interfaces/node-type-sets/node-type-set[type-set-name='hardware-interfaces',node-name='0/RP0/CPU0']/interface-summary/interface-type[interface-type-name='IFT_GETHERNET',interface-type-description='GigabitEthernet']/interface-counts
i want to get "interface-counts" when the :
type-set-name='hardware-interfaces'
node-name='0/RP0/CPU0'
interface-type-name='IFT_GETHERNET'
interface-type-description='GigabitEthernet'
all these info to get specific interface counts for this module