Add contrail keystone endpoints
Tungsten tempest plugin gets contrail api address from appropriate
keystone endpoint. So we need to provide OpenContrail service in
keystone.
Change-Id: I1a418d64762d8a2a25a07ffb6ad4d1b59f614f00
Related-PROD: PROD-23984
diff --git a/keystone/client/v3/service/contrail.yml b/keystone/client/v3/service/contrail.yml
new file mode 100644
index 0000000..a43f222
--- /dev/null
+++ b/keystone/client/v3/service/contrail.yml
@@ -0,0 +1,24 @@
+parameters:
+ _param:
+ cluster_public_protocol: https
+ contrail_service_protocol: http
+ keystone:
+ client:
+ resources:
+ v3:
+ opencontrail:
+ type: contrail
+ description: OpenContrail API
+ endpoints:
+ contrail_public:
+ interface: 'public'
+ url: ${_param:cluster_public_protocol}://${_param:cluster_public_host}:8082
+ region: ${_param:openstack_region}
+ contrail_internal:
+ interface: 'internal'
+ url: ${_param:contrail_service_protocol}://${_param:opencontrail_control_address}:8082
+ region: ${_param:openstack_region}
+ contrail_admin:
+ interface: 'admin'
+ url: ${_param:contrail_service_protocol}://${_param:opencontrail_control_address}:8082
+ region: ${_param:openstack_region}