cancel
Showing results for 
Search instead for 
Did you mean: 

jsonrpc support on x440

jsonrpc support on x440

daniel19
New Contributor
Hi ,
I would like to know if it is possible to enable the jsonrpc in Extreme x440.
The firmware I am currently using is 16.1.3.6 patch1-8.

I get a 404 response from:
http:///jsonrpc/


404 Not Found

404 Not Found

The requested URL '/jsonrpc/' was not found on this server.
XOS 22nov2004
Can you confirm that it is supported only on the new EXOS 21.1 as ...
https://community.extremenetworks.com/extreme/topics/ansible-for-xos

It that is the case the the new os is not available for x440 . What can be an alternative solution?
6 REPLIES 6

Stephane_Grosj1
Extreme Employee
Hi,

jsonrpc is available only starting from EXOS 21.1. It would require a big architectural modification to allow EXOS 16.x to support it and there're no plans afaik to do it.

You can pexpect, maybe?

Dave_Hammers
Extreme Employee
Correct. JSONRPC support was introduced in EXOS 21.1.

For earlier EXOS releases, I have a kind of odd way to do JSONRPC over telnet session that I never published.
I have python code examples on how a server would use this.

Server:
  • connects to a switch via telnet
  • Authenticates (username/password)
  • starts a script tJSONRPC.py on the switch which takes over the connection.
  • communicates JSONRPC with the switch point to point over the dedicated session.
Switch:
  • authenticates telnet client connection
  • accepts command to start tJSONRPC.py (run script tJSONRPC.py)
  • session communicates JSONRPC (method=cli) until closed.
Would you be interested in trying this out?

I would be like to test this out.  Please send it to me. Thanks!

@Stephane Grosjean is this still the case? Is there any way to enable JSONRPC server on an x440-24p-G1 switch that is stuck at verrsion 15 fw?
GTM-P2G8KFN