JianHao | 4a9550f | 2017-10-19 11:05:14 +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 | 1a1e370 | 2017-10-27 13:26:34 -0700 | [diff] [blame] | 17 | gather_facts: False |
JianHao | 4a9550f | 2017-10-19 11:05:14 +0800 | [diff] [blame] | 18 | connection: ssh |
Woojoong Kim | 1a1e370 | 2017-10-27 13:26:34 -0700 | [diff] [blame] | 19 | remote_user: ubuntu |
| 20 | become: yes |
| 21 | become_user: root |
| 22 | become_method: sudo |
JianHao | 4a9550f | 2017-10-19 11:05:14 +0800 | [diff] [blame] | 23 | vars: |
Woojoong Kim | 103fba0 | 2018-01-18 20:01:06 -0800 | [diff] [blame] | 24 | - source_path_4_1: /root/ngic |
| 25 | - source_path_5_0: /home/ngic/ngic |
Woojoong Kim | f000eda | 2017-10-20 15:00:43 -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 | - s11_sgw_ip: {{ s11_sgw_ip }} |
| 33 | - s11_mme_ip: {{ s11_mme_ip }} |
| 34 | - s1u_sgw_ip: {{ s1u_sgw_ip }} |
Woojoong Kim | 6933c34 | 2018-01-29 15:19:00 -0800 | [diff] [blame] | 35 | - scenario: {{ blueprint }} |
Woojoong Kim | e7d8772 | 2017-11-14 14:16:13 -0800 | [diff] [blame] | 36 | - cpu_hexacode: "0x0e" |
Woojoong Kim | 4f09cbf | 2017-11-19 21:25:37 -0800 | [diff] [blame] | 37 | - sgi_as_ip: {{ sgi_as_ip }} |
| 38 | - sgi_spgwu_ip: {{ sgi_spgwu_ip }} |
| 39 | - ip_addr_pool: "16.0.0.0" |
| 40 | - ip_pool_mask: "255.0.0.0" |
| 41 | - ip_pool_mask_int: "8" |
Woojoong Kim | 103fba0 | 2018-01-18 20:01:06 -0800 | [diff] [blame] | 42 | - cord_version: {{ cord_version }} |
JianHao | 4a9550f | 2017-10-19 11:05:14 +0800 | [diff] [blame] | 43 | roles: |
Woojoong Kim | c96c24f | 2018-01-22 17:37:05 -0800 | [diff] [blame] | 44 | - { role: interface_config_4_1, when: cord_version == 4.1 } |
| 45 | - { role: build_and_run_4_1, when: cord_version == 4.1 } |
| 46 | - { role: interface_config_5_0, when: cord_version == 5.0 } |
| 47 | - { role: build_and_run_5_0, when: cord_version == 5.0 } |
Woojoong Kim | 4f09cbf | 2017-11-19 21:25:37 -0800 | [diff] [blame] | 48 | |
| 49 | - hosts: localhost |
| 50 | vars: |
Woojoong Kim | 4f09cbf | 2017-11-19 21:25:37 -0800 | [diff] [blame] | 51 | - sgi_as_ip: {{ sgi_as_ip }} |
| 52 | - sgi_spgwu_ip: {{ sgi_spgwu_ip }} |
| 53 | - ip_addr_pool: "16.0.0.0" |
| 54 | - ip_pool_mask: "255.0.0.0" |
| 55 | - ip_pool_mask_int: "8" |
Andy Bavier | 4af928d | 2018-02-01 09:25:07 -0700 | [diff] [blame^] | 56 | - scenario: {{ blueprint }} |
Woojoong Kim | 4f09cbf | 2017-11-19 21:25:37 -0800 | [diff] [blame] | 57 | roles: |
Andy Bavier | 4af928d | 2018-02-01 09:25:07 -0700 | [diff] [blame^] | 58 | - { role: onos_rule_setup, when: scenario != "manual" } |