Wei-Yu Chen | ba04359 | 2017-10-18 17:08:51 +0800 | [diff] [blame] | 1 | # Copyright 2017-present Open Networking Foundation |
| 2 | # |
| 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
| 6 | # |
| 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 8 | # |
| 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
| 14 | |
| 15 | --- |
| 16 | - hosts: {{ instance_name }} |
Woojoong Kim | f002aec | 2017-10-25 14:43:37 -0700 | [diff] [blame] | 17 | gather_facts: False |
Wei-Yu Chen | ba04359 | 2017-10-18 17:08:51 +0800 | [diff] [blame] | 18 | connection: ssh |
Woojoong Kim | f002aec | 2017-10-25 14:43:37 -0700 | [diff] [blame] | 19 | remote_user: ubuntu |
| 20 | become: yes |
| 21 | become_user: root |
| 22 | become_method: sudo |
Wei-Yu Chen | ba04359 | 2017-10-18 17:08:51 +0800 | [diff] [blame] | 23 | vars: |
Woojoong Kim | 2f03e44 | 2018-01-18 20:02:22 -0800 | [diff] [blame] | 24 | - source_path_4_1: /root/ngic |
| 25 | - source_path_5_0: /home/ngic/ngic |
Woojoong Kim | f002aec | 2017-10-25 14:43:37 -0700 | [diff] [blame] | 26 | - zmq_sub_ip: {{ zmq_sub_ip }} |
| 27 | - zmq_pub_ip: {{ zmq_pub_ip }} |
| 28 | - dp_comm_ip: {{ dp_comm_ip }} |
| 29 | - cp_comm_ip: {{ cp_comm_ip }} |
| 30 | - fpc_ip: {{ fpc_ip }} |
| 31 | - cp_nb_server_ip: {{ cp_nb_server_ip }} |
| 32 | - s1u_ip: {{ s1u_ip }} |
| 33 | - sgi_ip: {{ sgi_ip }} |
Woojoong Kim | 3c58c47 | 2018-01-29 15:17:30 -0800 | [diff] [blame] | 34 | - scenario: {{ blueprint }} |
Woojoong Kim | 04d1216 | 2017-11-27 10:59:08 -0800 | [diff] [blame] | 35 | - as_sgi_ip: {{ as_sgi_ip }} |
| 36 | - as_sgi_mac: {{ as_sgi_mac }} |
| 37 | - enb_s1u_ip: {{ enb_s1u_ip }} |
| 38 | - enb_s1u_mac: {{ enb_s1u_mac }} |
Woojoong Kim | 2f03e44 | 2018-01-18 20:02:22 -0800 | [diff] [blame] | 39 | - cord_version: {{ cord_version }} |
Woojoong Kim | f002aec | 2017-10-25 14:43:37 -0700 | [diff] [blame] | 40 | |
| 41 | roles: |
Woojoong Kim | 4f3ea43 | 2018-01-22 17:35:52 -0800 | [diff] [blame] | 42 | - { role: interface_config_4_1, when: cord_version == 4.1 } |
| 43 | - { role: build_and_run_4_1, when: cord_version == 4.1 } |
| 44 | - { role: interface_config_5_0, when: cord_version == 5.0 } |
| 45 | - { role: build_and_run_5_0, when: cord_version == 5.0 } |
Woojoong Kim | 04d1216 | 2017-11-27 10:59:08 -0800 | [diff] [blame] | 46 | |
Woojoong Kim | f002aec | 2017-10-25 14:43:37 -0700 | [diff] [blame] | 47 | |