blob: fc42ef6e9c85eb65b82967747344fe8f108d57da [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 Kim1a1e3702017-10-27 13:26:34 -070024 - source_path: /root/ngic
Woojoong Kimf000eda2017-10-20 15:00:43 -070025 - zmq_sub_ip: {{ zmq_sub_ip }}
26 - zmq_pub_ip: {{ zmq_pub_ip }}
27 - dp_comm_ip: {{ dp_comm_ip }}
28 - cp_comm_ip: {{ cp_comm_ip }}
29 - fpc_ip: {{ fpc_ip }}
30 - cp_nb_server_ip: {{ cp_nb_server_ip }}
31 - s11_sgw_ip: {{ s11_sgw_ip }}
32 - s11_mme_ip: {{ s11_mme_ip }}
33 - s1u_sgw_ip: {{ s1u_sgw_ip }}
34 - scenario: {{ scenario }}
Woojoong Kime7d87722017-11-14 14:16:13 -080035 - cpu_hexacode: "0x0e"
Woojoong Kim4f09cbf2017-11-19 21:25:37 -080036 - sgi_as_ip: {{ sgi_as_ip }}
37 - sgi_spgwu_ip: {{ sgi_spgwu_ip }}
38 - ip_addr_pool: "16.0.0.0"
39 - ip_pool_mask: "255.0.0.0"
40 - ip_pool_mask_int: "8"
JianHao4a9550f2017-10-19 11:05:14 +080041 roles:
Woojoong Kimf000eda2017-10-20 15:00:43 -070042 - interface_config
Woojoong Kim0d7bf7d2017-11-17 09:05:48 -080043 - build_and_run
Woojoong Kim4f09cbf2017-11-19 21:25:37 -080044
45- hosts: localhost
46 vars:
47 - source_path: /root/ngic
48 - zmq_sub_ip: {{ zmq_sub_ip }}
49 - zmq_pub_ip: {{ zmq_pub_ip }}
50 - dp_comm_ip: {{ dp_comm_ip }}
51 - cp_comm_ip: {{ cp_comm_ip }}
52 - fpc_ip: {{ fpc_ip }}
53 - cp_nb_server_ip: {{ cp_nb_server_ip }}
54 - s11_sgw_ip: {{ s11_sgw_ip }}
55 - s11_mme_ip: {{ s11_mme_ip }}
56 - s1u_sgw_ip: {{ s1u_sgw_ip }}
57 - scenario: {{ scenario }}
58 - cpu_hexacode: "0x0e"
59 - sgi_as_ip: {{ sgi_as_ip }}
60 - sgi_spgwu_ip: {{ sgi_spgwu_ip }}
61 - ip_addr_pool: "16.0.0.0"
62 - ip_pool_mask: "255.0.0.0"
63 - ip_pool_mask_int: "8"
64 roles:
65 - onos_rule_setup