Andy Bavier | a4cf1a7 | 2017-10-16 16:10:12 -0700 | [diff] [blame] | 1 | |
| 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 | |
| 17 | --- |
| 18 | # test-mcord-base/tasks/main.yml |
| 19 | # Run tests to check that the base elements of M-CORD are present |
| 20 | |
| 21 | - name: Wait for networks to be synchronized |
| 22 | shell: bash -c "source /opt/cord_profile/admin-openrc.sh; neutron net-list|grep '{{ item }}' > /dev/null" |
| 23 | register: result |
| 24 | until: result | success |
| 25 | retries: 10 |
| 26 | delay: 60 |
| 27 | with_items: |
| 28 | - management |
| 29 | - sgi_network |
Andy Bavier | 15f8756 | 2017-10-17 10:14:57 -0700 | [diff] [blame] | 30 | - s11_network |
| 31 | - s1mme_network |
Andy Bavier | ee0c91b | 2017-10-19 13:05:39 -0700 | [diff] [blame] | 32 | - sbi_network |
| 33 | - nbi_network |
Andy Bavier | a4cf1a7 | 2017-10-16 16:10:12 -0700 | [diff] [blame] | 34 | tags: |
| 35 | - skip_ansible_lint # running a sub job |
| 36 | |
| 37 | - name: Wait for VMs to come up |
| 38 | shell: bash -c "source /opt/cord_profile/admin-openrc.sh; nova list --all-tenants|grep '{{ item }}.*ACTIVE' > /dev/null" |
| 39 | register: result |
| 40 | until: result | success |
| 41 | retries: 10 |
| 42 | delay: 60 |
| 43 | with_items: |
| 44 | - internetemulator |
Andy Bavier | 15f8756 | 2017-10-17 10:14:57 -0700 | [diff] [blame] | 45 | - vmme |
Andy Bavier | ee0c91b | 2017-10-19 13:05:39 -0700 | [diff] [blame] | 46 | - sdncontroller |
Andy Bavier | a4cf1a7 | 2017-10-16 16:10:12 -0700 | [diff] [blame] | 47 | tags: |
| 48 | - skip_ansible_lint # running a sub job |