congress/etc/sample_json_ingesters/nova.yaml

24 lines
521 B
YAML

name: nova
poll_interval: 5
allow_exec_api: true
authentication: !ref keystone_admin_auth_config
api_endpoint_host: !ref primary_host
api_endpoint_path: compute/v2.1/
api_default_headers:
X-OpenStack-Nova-API-Version: "2.26"
tables:
flavors:
poll:
api_path: flavors/detail
api_method: get
jsonpath: $.flavors[:]
servers:
poll:
api_path: servers/detail
api_method: get
jsonpath: $.servers[:]
alarms:
webhook:
record_jsonpath: $.payload
id_jsonpath: $.id