blob: 2beb69967b526f2e9c4063ad0431607ff6b52500 [file] [log] [blame]
JianHao4a9550f2017-10-19 11:05:14 +08001# 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 Kim1a1e3702017-10-27 13:26:34 -070017 gather_facts: False
JianHao4a9550f2017-10-19 11:05:14 +080018 connection: ssh
Woojoong Kim1a1e3702017-10-27 13:26:34 -070019 remote_user: ubuntu
20 become: yes
21 become_user: root
22 become_method: sudo
JianHao4a9550f2017-10-19 11:05:14 +080023 vars:
Woojoong Kim103fba02018-01-18 20:01:06 -080024 - source_path_4_1: /root/ngic
25 - source_path_5_0: /home/ngic/ngic
Woojoong Kimf000eda2017-10-20 15:00:43 -070026 - 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 }}
35 - scenario: {{ scenario }}
Woojoong Kime7d87722017-11-14 14:16:13 -080036 - cpu_hexacode: "0x0e"
Woojoong Kim4f09cbf2017-11-19 21:25:37 -080037 - 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 Kim103fba02018-01-18 20:01:06 -080042 - cord_version: {{ cord_version }}
JianHao4a9550f2017-10-19 11:05:14 +080043 roles:
Woojoong Kim103fba02018-01-18 20:01:06 -080044 - { 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 Kim4f09cbf2017-11-19 21:25:37 -080048
49- hosts: localhost
50 vars:
Woojoong Kim4f09cbf2017-11-19 21:25:37 -080051 - 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"
56 roles:
57 - onos_rule_setup