Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 1 | --- |
Matteo Scandolo | 3896c47 | 2017-08-01 13:31:42 -0700 | [diff] [blame] | 2 | # Copyright 2017-present Open Networking Foundation |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 15 | # |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 16 | # interface-config/defaults/main.yml |
| 17 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 18 | # list of physical nodes in the scenario |
Zack Williams | ba5549c | 2017-03-25 15:04:45 -0700 | [diff] [blame] | 19 | physical_node_list: [] |
| 20 | |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 21 | # headnode internet-facing interface to NAT traffic out of |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 22 | headnode_nat_interface: eth0 |
| 23 | |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 24 | # physical network interfaces on physical nodes, added to bond interfaces |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 25 | management_net_interfaces: [] |
| 26 | fabric_net_interfaces: [] |
| 27 | |
| 28 | # management network configuration |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 29 | management_net_cidr: "10.1.0.0/24" |
| 30 | management_net_bridge: "mgmtbr" |
| 31 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 32 | dns_servers: |
| 33 | - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}" |
| 34 | |
| 35 | # VTN MANAGEMENT_HOST network |
| 36 | use_vtn_net_management_host: False |
| 37 | vtn_net_management_host_cidr: "{{ management_net_cidr }}" |
| 38 | vtn_net_management_host_hwaddr_prefix: "06A6" |
| 39 | |
| 40 | # VTN PUBLIC network, used with fabric |
| 41 | use_vtn_net_fabric: False |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 42 | vtn_net_public_cidr: "10.6.1.0/24" |
| 43 | vtn_net_public_hwaddr_prefix: "0242" |
| 44 | |
| 45 | # VSG and public address pools |
| 46 | use_addresspool_vsg: False |
| 47 | addresspool_vsg_cidr: "10.7.1.0/24" |
| 48 | addresspool_vsg_hwaddr_prefix: "0ACA" |
| 49 | |
| 50 | use_addresspool_public: False |
| 51 | addresspool_public_cidr: "10.8.1.0/24" |
| 52 | addresspool_public_hwaddr_prefix: "0EFE" |
| 53 | |