Well this is embarrassing. The format for the .lst download file was for later EXOS releases.
It is fixed now.
# download url
https://github.com/extremenetworks/EXOS_Apps/blob/master/REST/downloads/restconf_xos_1.0.1.30.lst
Downloading
https://github.com/extremenetworks/EXOS_Apps/blob/master/REST/downloads/restconf_xos_1.0.1.30.lst
Downloading
https://github.com/extremenetworks/EXOS_Apps/blob/master/REST/downloads/restconf_xos_1.0.1.30.pyzon a browser, here are some examples. The examples use
10.68.69.180 as the switch IP address.
First authorize the browser with the switch. In the example below username is admin, there is no password (EXOS default settings)
http://10.68.69.180/auth/token/?username=admin&password=
{"duration": 86400, "token": "eyJhbGciOiJIUzI1NiIsImV4cCI6MTUyNDc5NjMwMCwiaWF0IjoxNTI0NzA5OTAwfQ.eyJ1c2VybmFtZSI6ImFkbWluIiwiYWNjZXNzX2xldmVsIjoiYWRtaW4ifQ.dLxXTxAIwB7qK4Z6yrXKrGXOY9n6XY3LNivVQm3SauE"}
Try a GET from your broswer:
http://10.68.69.180/rest/restconf/data/openconfig-platform:components
{ "openconfig-platform:components": {
"component": [
{
"config": {
"name": "operating_system-2"
},
"name": "operating_system-2",
"state": {
"description": "ExtremeXOS version 22.2.1.5 22.2.1.5-patch1-4 by release-manager on Tue May 9 19:21:34 EDT 2017",
"id": 2,
"mfg-name": "Extreme Networks",
"name": "operating_system-2",
"type": "OPERATING_SYSTEM",
"version": "22.2.1.5"
}
.
.
.
http://10.68.69.180/rest/restconf/data/openconfig-system:system { "openconfig-system:system": { "aaa": { "accounting": { "config": { "accounting-method": [] }, "state": { "accounting-method": [] } }, "authentication": { "admin-user": { "config": { "admin-password": "", "admin-password-encrypted": "" }, "state": { "admin-password": "", "admin-password-encrypted": "", "admin-username": "" } }, . . .