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

POSTMAN Yang Data questions

Hi Team,

Could you please kindly give me some advice for the questions regarding POSTMAN+ Yang Data ?

Thanks a lot.

 

Here is link in POSTMAN

https://ios-xe-mgmt-latest.cisco.com:9443/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces/interface=GigabithEthernet1----------Test result is successful.

 

My questions:

1 Since "interface" is list in yang data. why interface could = GigabitEthernet1,  My understanding is interface/name=GigabithEthernet1 but test (name=GigabithEthernet1) in POSTMAN is fail.

 

2 If I would like to create a filter for specific name or interface type  how can I write the postman link ?

https://ios-xe-mgmt-latest.cisco.com:9443/restconf/data/Cisco-IOS-XE-interfaces-oper:interfaces/interface=????????

(please give some input)

 

Cisco-IOS-XE-interfaces-oper    module

              interfaces                      container 

                     interface                 list

                            name               leaf

                            interface-type  leaf
                            admin-status   leaf
                            speed              leaf

Jacky Zhang
Global Telecom
0 REPLIES 0
Content for Community-Ad

This widget could not be displayed.