diff options
author | Aniket Bhat <abhat@nuagenetworks.net> | 2016-03-09 12:48:19 -0500 |
---|---|---|
committer | Aniket Bhat <abhat@nuagenetworks.net> | 2016-03-09 12:48:19 -0500 |
commit | c00305c8f29070202a41f4f19122b3a048fbffab (patch) | |
tree | e404bd50a8a8f40e5beb4b429cfe6736168cde59 /roles | |
parent | b1d3c6dae6d9084b6b55421b054ffa971a56ab16 (diff) | |
download | openshift-c00305c8f29070202a41f4f19122b3a048fbffab.tar.gz openshift-c00305c8f29070202a41f4f19122b3a048fbffab.tar.bz2 openshift-c00305c8f29070202a41f4f19122b3a048fbffab.tar.xz openshift-c00305c8f29070202a41f4f19122b3a048fbffab.zip |
Support log level configuration for plugin
Diffstat (limited to 'roles')
-rw-r--r-- | roles/nuage_node/templates/vsp-openshift.j2 | 3 | ||||
-rw-r--r-- | roles/nuage_node/vars/main.yaml | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/roles/nuage_node/templates/vsp-openshift.j2 b/roles/nuage_node/templates/vsp-openshift.j2 index 6c10b9c24..d3c0a122a 100644 --- a/roles/nuage_node/templates/vsp-openshift.j2 +++ b/roles/nuage_node/templates/vsp-openshift.j2 @@ -22,3 +22,6 @@ nuageMonClientKey: {{ rest_client_key }} nuageMonServerCA: {{ rest_server_ca_cert }} # Nuage vport mtu size interfaceMTU: {{ vport_mtu }} +# Logging level for the plugin +# allowed options are: "dbg", "info", "warn", "err", "emer", "off" +logLevel: {{ plugin_log_level }} diff --git a/roles/nuage_node/vars/main.yaml b/roles/nuage_node/vars/main.yaml index 5acc65ef4..a4d7052a7 100644 --- a/roles/nuage_node/vars/main.yaml +++ b/roles/nuage_node/vars/main.yaml @@ -13,6 +13,7 @@ rest_client_cert: "{{ vsp_openshift_dir }}/nuageMonClient.crt" rest_client_key: "{{ vsp_openshift_dir }}/nuageMonClient.key" rest_server_ca_cert: "{{ vsp_openshift_dir }}/nuageMonCA.crt" vport_mtu: "{{ nuage_interface_mtu | default('1460') }}" +plugin_log_level: "{{ nuage_plugin_log_level | default('err') }}" nuage_plugin_rest_client_crt_dir: "{{ nuage_ca_master_crt_dir }}/{{ ansible_nodename }}" nuage_ca_master_plugin_key: "{{ nuage_plugin_rest_client_crt_dir }}/nuageMonClient.key" |