-
Notifications
You must be signed in to change notification settings - Fork 2
REST API
ganeshahv edited this page Aug 26, 2020
·
1 revision
1]. Inside the config_api docker, go to the /etc/contrail/vnc_api_lib.ini file and set curl_log to True.
(config-api)[root@r2ru5 /]$ cat /etc/contrail/vnc_api_lib.ini
[global]
WEB_SERVER = 172.25.151.11,172.25.151.12,172.25.151.14
WEB_PORT = 8082
BASE_URL = /
use_ssl = False
curl_log = True
; Authentication settings (optional)
[auth]
AUTHN_TYPE = keystone
AUTHN_PROTOCOL = http
AUTHN_SERVER = 172.25.151.17
AUTHN_PORT = 35357
AUTHN_URL = /v3/auth/tokens
AUTHN_DOMAIN = Default
;AUTHN_TOKEN_URL = http://127.0.0.1:35357/v2.0/tokens
(config-api)[root@r2ru5 /]
2]. Observe the corresponding curl commands at /var/log/contrail/vnc-api.log