{ "__inputs": [ { "name": "DS_YARDSTICK", "label": "yardstick", "description": "", "type": "datasource", "pluginId": "influxdb", "pluginName": "InfluxDB" } ], "__requires": [ { "type": "panel", "id": "text", "name": "Text", "version": "" }, { "type": "panel", "id": "graph", "name": "Graph", "version": "" }, { "type": "grafana", "id": "grafana", "name": "Grafana", "version": "3.1.1" }, { "type": "datasource", "id": "influxdb", "name": "InfluxDB", "version": "1.0.0" } ], "id": null, "title": "Prox_Heat_L2FWD-2Port", "tags": [ "yardstick", "NSB", "Prox", "2Port", "Heat", "L2fwd" ], "style": "dark", "timezone": "browser", "editable": true, "hideControls": false, "sharedCrosshair": false, "rows": [ { "collapse": false, "editable": true, "height": "100px", "panels": [ { "content": "
OPNFV_Yardstick_NSB_PROX_Heat_L2FWD_2Port_Test
\n
\n

The application will take packets in from one port, update src and dst MACs and forward them to another port.\nThe KPI is the number of packets per second for 64 byte packets with an accepted minimal packet loss

\n
", "editable": true, "error": false, "id": 3, "isNew": true, "links": [], "mode": "html", "span": 12, "title": "", "type": "text" }, { "content": "
Prox L2Fwd VNF stats
\n", "editable": true, "error": false, "height": "40", "id": 7, "isNew": true, "links": [], "mode": "html", "span": 12, "title": "", "type": "text" } ], "title": "Row" }, { "collapse": false, "editable": true, "height": "300px", "panels": [ { "aliasColors": {}, "bars": false, "datasource": "${DS_YARDSTICK}", "editable": true, "error": false, "fill": 1, "grid": { "threshold1": 2, "threshold1Color": "rgba(216, 200, 27, 0.27)", "threshold2": 2, "threshold2Color": "rgba(234, 112, 112, 0.22)" }, "height": "300", "id": 4, "isNew": true, "legend": { "alignAsTable": true, "avg": true, "current": false, "max": true, "min": true, "rightSide": false, "show": true, "total": false, "values": true }, "lines": true, "linewidth": 2, "links": [], "nullPointMode": "connected", "percentage": false, "pointradius": 1, "points": false, "renderer": "flot", "seriesOverrides": [], "span": 12, "stack": false, "steppedLine": false, "targets": [ { "alias": "VNF packets Forward", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "tc_prox_heat_context_l2fwd-2", "policy": "default", "refId": "A", "resultFormat": "time_series", "select": [ [ { "params": [ "vnf__1.packets_fwd" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] }, { "alias": "VNF packets in", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "tc_prox_heat_context_l2fwd-2", "policy": "default", "refId": "C", "resultFormat": "time_series", "select": [ [ { "params": [ "vnf__1.packets_in" ], "type": "field" }, { "params": [], "type": "mean" } ] ], "tags": [] }, { "alias": "VNF packets dropped", "dsType": "influxdb", "groupBy": [ { "params": [ "$interval" ], "type": "time" }, { "params": [ "null" ], "type": "fill" } ], "measurement": "tc_prox_heat_context_l2fwd-2", "policy": "default", "refId": "B", "resultFormat": "time_series", "se
heat_template_version: ocata

description: >
  OpenStack Ceilometer Central Agent service configured with Puppet

parameters:
  ServiceNetMap:
    default: {}
    description: Mapping of service_name -> network name. Typically set
                 via parameter_defaults in the resource registry.  This
                 mapping overrides those in ServiceNetMapDefaults.
    type: json
  DefaultPasswords:
    default: {}
    type: json
  EndpointMap:
    default: {}
    description: Mapping of service endpoint -> protocol. Typically set
                 via parameter_defaults in the resource registry.
    type: json
  RedisPassword:
    description: The password for the redis service account.
    type: string
    hidden: true
  MonitoringSubscriptionCeilometerCentral:
    default: 'overcloud-ceilometer-agent-central'
    type: string
  CeilometerAgentCentralLoggingSource:
    type: json
    default:
      tag: openstack.ceilometer.agent.central
      path: /var/log/ceilometer/central.log

resources:
  CeilometerServiceBase:
    type: ./ceilometer-base.yaml
    properties:
      ServiceNetMap: {get_param: ServiceNetMap}
      DefaultPasswords: {get_param: DefaultPasswords}
      EndpointMap: {get_param: EndpointMap}

outputs:
  role_data:
    description: Role data for the Ceilometer Central Agent role.
    value:
      service_name: ceilometer_agent_central
      monitoring_subscription: {get_param: MonitoringSubscriptionCeilometerCentral}
      logging_source: {get_param: CeilometerAgentCentralLoggingSource}
      logging_groups:
        - ceilometer
      config_settings:
        map_merge:
          - get_attr: [CeilometerServiceBase, role_data, config_settings]
          - ceilometer_redis_password: {get_param: RedisPassword}
            central_namespace: true
      step_config: |
        include ::tripleo::profile::base::ceilometer::agent::polling
      upgrade_tasks:
        - name: Check if ceilometer_agent_central is deployed
          command: systemctl is-enabled openstack-ceilometer-central
          tags: common
          ignore_errors: True
          register: ceilometer_agent_central_enabled
        - name: "PreUpgrade step0,validation: Check service openstack-ceilometer-central is running"
          shell: /usr/bin/systemctl show 'openstack-ceilometer-central' --property ActiveState | grep '\bactive\b'
          when: ceilometer_agent_central_enabled.rc == 0
          tags: step0,validation
        -