cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
912
Views
5
Helpful
2
Replies

API Query on multiple keys service

Maurizio Bau
Level 1
Level 1

Hi all

 

i've a problem with api query on NSO service with multiple keys

my service xpath on NSO is following

/VRF/VRF-l3:VRF-l3[rd-vrf='20:10'][Site='indiana']/type mgmt 

 

 

but call about Postman with following path not function

http://{{nevada}}:8080/restconf/data/VRF/VRF-l3[rd-vrf='20:10'][Site='indiana']

Where is my error?
Thanks
Maurizio
1 Accepted Solution

Accepted Solutions

Nabsch
Spotlight
Spotlight

Hello Maurizio,

 

You can try this URL

http://{{nevada}}:8080/restconf/data/VRF/VRF-l3=20:10,indiana

 

You can  also use  this command

admin@ncs# show running-config vpn l3vpn | display restconf
/restconf/data/l3vpn:vpn/l3vpn=aa,zz/endpoint=A/as-number 64512
 

Best  Regards,

 

Nabil

 

View solution in original post

2 Replies 2

Nabsch
Spotlight
Spotlight

Hello Maurizio,

 

You can try this URL

http://{{nevada}}:8080/restconf/data/VRF/VRF-l3=20:10,indiana

 

You can  also use  this command

admin@ncs# show running-config vpn l3vpn | display restconf
/restconf/data/l3vpn:vpn/l3vpn=aa,zz/endpoint=A/as-number 64512
 

Best  Regards,

 

Nabil

 

Thanks Nabil