blob: 4fd2b6977433115dbe0bc3dd816a3105ca629330 [file] [log] [blame]
Matteo Scandoloeb0d11c2017-08-08 13:05:26 -07001
2# Copyright 2017-present Open Networking Foundation
3#
4# Licensed under the Apache License, Version 2.0 (the "License");
5# you may not use this file except in compliance with the License.
6# You may obtain a copy of the License at
7#
8# http://www.apache.org/licenses/LICENSE-2.0
9#
10# Unless required by applicable law or agreed to in writing, software
11# distributed under the License is distributed on an "AS IS" BASIS,
12# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13# See the License for the specific language governing permissions and
14# limitations under the License.
15
16
Srikanth Vavilapalli1dfc9c82016-12-20 02:58:32 +000017---
18- name: Validate Monitoring service is ready
19 uri:
20 url: "{{item}}"
21 user: "{{ auth.user }}"
22 password: "{{ auth.pass }}"
23 status_code: 200
24 body_format: json
25 force_basic_auth: yes
26 HEADER_Content-Type: "application/json"
27 register: monitoringservice
28 until: "monitoringservice.json and 'OK' in monitoringservice.json[0].backend_status"
29 retries: 5
30 delay: 60
31 with_items:
Srikanth Vavilapallib66304b2017-01-19 20:25:19 +000032 - http://localhost:9000/api/service/monitoring/
33 - http://localhost:9000/api/tenant/monitoring/monitoringchannel/