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 | 1a1e370 | 2017-10-27 13:26:34 -0700 | [diff] [blame] | 24 | - source_path: /root/ngic |
Woojoong Kim | f000eda | 2017-10-20 15:00:43 -0700 | [diff] [blame] | 25 | - 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 Kim | e7d8772 | 2017-11-14 14:16:13 -0800 | [diff] [blame] | 35 | - cpu_hexacode: "0x0e" |
Woojoong Kim | 4f09cbf | 2017-11-19 21:25:37 -0800 | [diff] [blame] | 36 | - 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" |
JianHao | 4a9550f | 2017-10-19 11:05:14 +0800 | [diff] [blame] | 41 | roles: |
Woojoong Kim | f000eda | 2017-10-20 15:00:43 -0700 | [diff] [blame] | 42 | - interface_config |
Woojoong Kim | 0d7bf7d | 2017-11-17 09:05:48 -0800 | [diff] [blame] | 43 | - build_and_run |
Woojoong Kim | 4f09cbf | 2017-11-19 21:25:37 -0800 | [diff] [blame] | 44 | |
| 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 |