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 | |
Zack Williams | 553f140 | 2018-02-06 17:59:34 -0700 | [diff] [blame] | 28 | # The following value is hardcoded and should be identical to here: |
| 29 | # https://github.com/opencord/maas/blob/master/config-generator/netconfig.tpl#L29 |
| 30 | fabric_gateway_hwaddr: "a4:23:05:06:01:01" |
| 31 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 32 | # management network configuration |
Zack Williams | 2f5f2bd | 2017-12-01 15:04:22 -0700 | [diff] [blame] | 33 | management_net_cidr: "10.1.0.0/24" |
| 34 | management_net_bridge: "mgmtbr" |
| 35 | |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 36 | dns_servers: |
| 37 | - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}" |
| 38 | |
| 39 | # VTN MANAGEMENT_HOST network |
| 40 | use_vtn_net_management_host: False |
| 41 | vtn_net_management_host_cidr: "{{ management_net_cidr }}" |
| 42 | vtn_net_management_host_hwaddr_prefix: "06A6" |
| 43 | |
| 44 | # VTN PUBLIC network, used with fabric |
| 45 | use_vtn_net_fabric: False |
Zack Williams | 6dc2d45 | 2017-12-20 17:50:49 -0700 | [diff] [blame] | 46 | vtn_net_public_cidr: "10.6.1.0/24" |
| 47 | vtn_net_public_hwaddr_prefix: "0242" |
| 48 | |
| 49 | # VSG and public address pools |
| 50 | use_addresspool_vsg: False |
| 51 | addresspool_vsg_cidr: "10.7.1.0/24" |
| 52 | addresspool_vsg_hwaddr_prefix: "0ACA" |
| 53 | |
| 54 | use_addresspool_public: False |
| 55 | addresspool_public_cidr: "10.8.1.0/24" |
| 56 | addresspool_public_hwaddr_prefix: "0EFE" |
| 57 | |