@Alex- is 100% correct. See below, without any jumbo after installing api package for 1.7 version from the sk143612
Andy
***********************************************************************************
[Expert@FW-API:0]# mgmt_cli show interface name "eth0" --context gaia_api --version 1.7 --format json
Username: admin
Password:
code: "generic_err_command_not_found"
errors: "Requested API command": [v1.7/login] not found'
message: "Command Not Found"
[Expert@FW-API:0]# mgmt_cli show interface name "eth0" --context gaia_api --version 1.6 --format json
Username: admin
Password:
{
"comments": "",
"enabled": true,
"ipv4-address": "172.16.10.254",
"ipv4-mask-length": "24",
"ipv6-address": "Not-Configured",
"ipv6-autoconfig": "Not configured",
"ipv6-local-link-address": "Not Configured",
"ipv6-mask-length": "Not-Configured",
"name": "eth0",
"type": "physical"
}
[Expert@FW-API:0]#
***************************************************************************
After API 1.7 package install
[Expert@FW-API:0]# cd /home/admin
[Expert@FW-API:0]# ls
Check_Point_gaia_api.tgz
[Expert@FW-API:0]# chmod 777 *
[Expert@FW-API:0]# tar -xzvf Check_Point_gaia_api.tgz
os_yaml-1.5-cp991255023.i386.rpm
os_gunicorn-1.5-cp991255023.i386.rpm
os_flask-1.5-cp991255023.i386.rpm
osrc_celery-1.5-cp991255023.i386.rpm
osrc_redis-1.5-cp991255023.i386.rpm
gaia_api-1.7-cp991255104.i686.rpm
install_gaia_api.sh
uninstall_gaia_api.sh
GAIA_API.postman_collection.json
[Expert@FW-API:0]# ./install_gaia_api.sh
Starting gaia_api installation
Old version removed successfully
Installing gaia_api...
Successfully installed gaia_api, use "gaia_api status" to monitor the state
[Expert@FW-API:0]# gaia_api status
API Status:
---------------------
Build: cp991255104
Uptime: 0:00:09.311000
Current Sessions: 0
Latest Version: 1.7
Processes:
Name State PID
---------------------------------
GAIA_API Started 3175
GAIA_API_DOCS Started 3174
APACHE Started 3199
CONFD Started 7409
CLISHD Started 7474
CELERY Started 3172
REDIS Started 3173
Port Details:
-------------------
APACHE Gaia Port: 443
--------------------------------------------
Overall API Status: Started
--------------------------------------------
[Expert@FW-API:0]#
[Expert@FW-API:0]# mgmt_cli show interface name "eth0" --context gaia_api --version 1.7 --format json
Username: admin
Password:
{
"comments": "",
"enabled": true,
"ipv4-address": "172.16.10.254",
"ipv4-mask-length": "24",
"ipv6-address": "Not-Configured",
"ipv6-autoconfig": "Not configured",
"ipv6-local-link-address": "Not Configured",
"ipv6-mask-length": "Not-Configured",
"name": "eth0",
"type": "physical"
}
[Expert@FW-API:0]#