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.