Add keystone service metadata for v3 client
V3 resources structure/resource relation are completely
different than in v2. This patch introduce metadata for
v3 resources stored in:
* keystone/client/v3/services/*
The new module/state in keystone to work with v3 only was introduced
by https://gerrit.mcp.mirantis.net/19529.
The change is fully backward compatible, as new resources will be
used only when keystone:client:resources:v3:enabled is set explicitly
to True.
Change-Id: I0f0e53dda29572987f221438394083590bb6a6e5
Related-Prod: PROD-19148
diff --git a/keystone/client/v3/service/gnocchi.yml b/keystone/client/v3/service/gnocchi.yml
new file mode 100644
index 0000000..82c796a
--- /dev/null
+++ b/keystone/client/v3/service/gnocchi.yml
@@ -0,0 +1,34 @@
+parameters:
+ _param:
+ cluster_public_protocol: https
+ gnocchi_service_protocol: http
+ gnocchi_public_host: ${_param:cluster_public_host}
+ keystone:
+ client:
+ resources:
+ v3:
+ users:
+ gnocchi:
+ password: ${_param:keystone_gnocchi_password}
+ email: ${_param:admin_email}
+ roles:
+ service_admin:
+ name: admin
+ project_id: service
+ services:
+ gnocchi:
+ type: metric
+ description: OpenStack Metric Service
+ endpoints:
+ gnocchi_public:
+ interface: 'public'
+ url: ${_param:cluster_public_protocol}://${_param:gnocchi_public_host}:8041/
+ region: ${_param:openstack_region}
+ gnocchi_internal:
+ interface: 'internal'
+ url: ${_param:gnocchi_service_protocol}://${_param:gnocchi_service_host}:8041/
+ region: ${_param:openstack_region}
+ gnocchi_admin:
+ interface: 'admin'
+ url: ${_param:gnocchi_service_protocol}://${_param:gnocchi_service_host}:8041/
+ region: ${_param:openstack_region}