blob: 4b0177f50bea300c8194c2deeaf0e0dc21166681 [file] [log] [blame]
Wei-Yu Chenba043592017-10-18 17:08:51 +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 Kimf002aec2017-10-25 14:43:37 -070017 gather_facts: False
Wei-Yu Chenba043592017-10-18 17:08:51 +080018 connection: ssh
Woojoong Kimf002aec2017-10-25 14:43:37 -070019 remote_user: ubuntu
20 become: yes
21 become_user: root
22 become_method: sudo
Wei-Yu Chenba043592017-10-18 17:08:51 +080023 vars:
Woojoong Kim2f03e442018-01-18 20:02:22 -080024 - source_path_4_1: /root/ngic
25 - source_path_5_0: /home/ngic/ngic
Woojoong Kimf002aec2017-10-25 14:43:37 -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 - s1u_ip: {{ s1u_ip }}
33 - sgi_ip: {{ sgi_ip }}
Woojoong Kim3c58c472018-01-29 15:17:30 -080034 - scenario: {{ blueprint }}
Woojoong Kim04d12162017-11-27 10:59:08 -080035 - 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 Kim2f03e442018-01-18 20:02:22 -080039 - cord_version: {{ cord_version }}
Woojoong Kimf002aec2017-10-25 14:43:37 -070040
41 roles:
Woojoong Kim4f3ea432018-01-22 17:35:52 -080042 - { 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 Kim04d12162017-11-27 10:59:08 -080046
Woojoong Kimf002aec2017-10-25 14:43:37 -070047