Automation
Automation

FAQ: Does vSRX support REST API service?

by Juniper Employee on ‎07-12-2016 06:29 AM - edited on ‎08-23-2017 11:35 AM by Administrator Administrator (3,576 Views)

Question

Does vSRX support  REST API service? I am trying to enable REST API service on vSRX with Junos OS Release 15.1X49-D50.3.

 

The system log report is as follows:

 

Jul  4 14:43:15  vSRX-15.1X49-D50.3 init: rest-api (PID 4635) started
Jul  4 14:43:15  vSRX-15.1X49-D50.3 init: rest-api (PID 4635) exited with status=0 Normal Exit
Jul  4 14:43:15  vSRX-15.1X49-D50.3 init: rest-api (PID 4640) started
Jul  4 14:43:20  vSRX-15.1X49-D50.3 init: rest-api (PID 4640) exited with status=0 Normal Exit
Jul  4 14:43:20  vSRX-15.1X49-D50.3 init: rest-api (PID 4649) started
Jul  4 14:43:25  vSRX-15.1X49-D50.3 init: rest-api (PID 4649) exited with status=0 Normal Exit
Jul  4 14:43:25  vSRX-15.1X49-D50.3 init: rest-api (PID 4656) started
Jul  4 14:43:30  vSRX-15.1X49-D50.3 init: rest-api (PID 4656) exited with status=0 Normal Exit
Jul  4 14:43:30  vSRX-15.1X49-D50.3 init: rest-api is thrashing, not restarted

 

The services configuration is as follows:

lab@vSRX-15.1X49-D50.3# show system services 
ssh;
telnet;
netconf {
    ssh;
}
rest {
    http;
    traceoptions {
        flag all;
    }
    enable-explorer;
}
web-management {
    http;
}

 

Answer

No, vSRX does not support REST API service. The REST API service is currently supported only on M, MX, PTX and T Series Routers.  

'
Comments
Sep 5, 2016
Juniper Employee

REST API will be supported on vSRX with the Dec'16 release.

 

Thanks

Shishir

Sep 6, 2016
Distinguished Expert

Thanks for the info, Shishir!