Junos
Highlighted
Junos

REST-API for EX series

‎02-01-2018 05:10 AM

Hello,

 

Are there any plans to release rest-api support for the EX series?

The devices take the configration but doesn't become active and the EX don't appear among the supported platforms..

Would be really useful for the datacenter management (hardware auditing, vlans assigment...).

 

Cheers,

 

Jaime

2 REPLIES 2
Highlighted
Junos

Re: REST-API for EX series

‎02-01-2018 06:45 AM

Hi,

 

Yes Rest API is not supported on EX platform but supported in QFX5100.

 

https://www.juniper.net/documentation/en_US/junos/topics/example/rest-api-configuring-example.html

 

There is already request raised to include this feature in EX. No ETA available as of now.

 

Regards,

Rahul

 

Highlighted
Junos

Re: REST-API for EX series

‎03-27-2018 08:48 PM

My 2 cents on this…

 

As per Feature Explorer, Feature Family: Junos OS XML API and Scripting is supported in,

EX4300 Junos OS  17.4R1 EX4300-VC Junos OS  17.4R1 EX4600 Junos OS  17.4R1 EX4600-VC Junos OS  17.4R1 EX9200 Junos OS  17.4R1 EX9200-VC Junos OS  17.4R1    

 

https://apps.juniper.net/feature-explorer/feature-family-info.html?familyName=Junos+OS+XML+API+and+S...

 

I love to automate Lab devices with curl+API …

 

POSTMAN Client:

http://labSmiley Tongueassword@<ip-address>:8080/rpc/get-system-information

http://labSmiley Tongueassword@<ip-address>:8080/rpc/get-configuration

http://labSmiley Tongueassword@<ip-address>:8080/rpc/get-interface-information

 

Curl Client: Working

curl http://labSmiley Tongueassword@<ip-address>:8080/rpc -D curl.out --header "Accept: text/plain" -d "<get-interface-information><detail/><interface-name>lo0</interface-name></get-interface-information>"

 

curl http://labSmiley Tongueassword@<ip-address>:8080/rpc -D curl.out --header "Accept: text/plain" -d "<get-interface-information><terse/><interface-name>lo0</interface-name></get-interface-information>"

 

curl http://labSmiley Tongueassword@<ip-address>:8080/rpc -D curl.out --header "Accept: text/plain" -d "<get-configuration><configuration><interfaces><interface><name>lo0</name></interface></interfaces></configuration></get-configuration>"

 

-Python JNCIE 3X [SP|DC|ENT] JNCIP-SEC JNCDS 3X [ WAN | DC|SEC] JNCIS-Cloud JNCIS-DevOps CCIP ITIL
#Please mark my solution as accepted if it helped, Kudos are appreciated as well.