Add use_ssl option in contrail plugin config

Use SSl for connection to OpenContrail API. SSL for OC is
added only for OC 4.X versions: Ocata, Pike, Queens releases are
supported.

Depends-On: https://gerrit.mcp.mirantis.com/#/c/43615/
Change-Id: I14247a1f789820bed64cb4aa4526d6f81b31c602
Related-PROD: PROD-29907
diff --git a/neutron/files/ocata/ContrailPlugin.ini b/neutron/files/ocata/ContrailPlugin.ini
index c66a4e3..2fd5930 100644
--- a/neutron/files/ocata/ContrailPlugin.ini
+++ b/neutron/files/ocata/ContrailPlugin.ini
@@ -2,6 +2,7 @@
 [APISERVER]
 api_server_ip = {{ server.backend.host }}
 api_server_port = 8082
+use_ssl = {{ server.backend.use_ssl }}
 multi_tenancy = True
 contrail_extensions = ipam:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_ipam.NeutronPluginContrailIpam,policy:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_policy.NeutronPluginContrailPolicy,route-table:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_vpc.NeutronPluginContrailVpc,contrail:None
 
diff --git a/neutron/files/pike/ContrailPlugin.ini b/neutron/files/pike/ContrailPlugin.ini
index c66a4e3..2fd5930 100644
--- a/neutron/files/pike/ContrailPlugin.ini
+++ b/neutron/files/pike/ContrailPlugin.ini
@@ -2,6 +2,7 @@
 [APISERVER]
 api_server_ip = {{ server.backend.host }}
 api_server_port = 8082
+use_ssl = {{ server.backend.use_ssl }}
 multi_tenancy = True
 contrail_extensions = ipam:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_ipam.NeutronPluginContrailIpam,policy:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_policy.NeutronPluginContrailPolicy,route-table:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_vpc.NeutronPluginContrailVpc,contrail:None
 
diff --git a/neutron/files/queens/ContrailPlugin.ini b/neutron/files/queens/ContrailPlugin.ini
index d8739d1..2f0ca5b 100644
--- a/neutron/files/queens/ContrailPlugin.ini
+++ b/neutron/files/queens/ContrailPlugin.ini
@@ -2,6 +2,7 @@
 [APISERVER]
 api_server_ip = {{ server.backend.host }}
 api_server_port = 8082
+use_ssl = {{ server.backend.use_ssl }}
 multi_tenancy = True
 contrail_extensions = ipam:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_ipam.NeutronPluginContrailIpam,policy:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_policy.NeutronPluginContrailPolicy,route-table:neutron_plugin_contrail.plugins.opencontrail.contrail_plugin_vpc.NeutronPluginContrailVpc,contrail:None