Add data plane and agents to the Grafana dashboard

This patch adds a new dashboard if Neutron is deployed with OpenvSwitch
support. It also ensures that only the Neutron server is providing a
dashboard because otherwise you can have other kinds of nodes that
don't run Neutron and that will push the wrong dashboard.
Change-Id: I55e7b84e7d7fd06619f5671c15964b39d5943514
This commit is contained in:
Guillaume Thouvenin 2017-01-03 15:30:17 +01:00
parent 6ac69486c1
commit abb96a8da5
2 changed files with 3815 additions and 0 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1,4 +1,11 @@
{%- if pillar.neutron.get('server', {}).get('backend', {}).engine is defined and pillar.neutron.server.backend.engine == "ml2" %}
dashboard:
neutron:
format: json
template: neutron/files/grafana_dashboards/neutron_openvswitch_influxdb.json
{%- elif pillar.neutron.server is defined %}
dashboard:
neutron:
format: json
template: neutron/files/grafana_dashboards/neutron_influxdb.json
{%- endif %}