blob: b3bc9e21810511d4f77724745759ce4f046fb132 [file] [log] [blame]
Zack Williams6dc2d452017-12-20 17:50:49 -07001---
Matteo Scandolo3896c472017-08-01 13:31:42 -07002# 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 Williams6dc2d452017-12-20 17:50:49 -070015#
Zack Williamsba5549c2017-03-25 15:04:45 -070016# interface-config/defaults/main.yml
17
Zack Williams6dc2d452017-12-20 17:50:49 -070018# list of physical nodes in the scenario
Zack Williamsba5549c2017-03-25 15:04:45 -070019physical_node_list: []
20
Zack Williams2f5f2bd2017-12-01 15:04:22 -070021# headnode internet-facing interface to NAT traffic out of
Zack Williams6dc2d452017-12-20 17:50:49 -070022headnode_nat_interface: eth0
23
Zack Williams2f5f2bd2017-12-01 15:04:22 -070024# physical network interfaces on physical nodes, added to bond interfaces
Zack Williams6dc2d452017-12-20 17:50:49 -070025management_net_interfaces: []
26fabric_net_interfaces: []
27
Zack Williams553f1402018-02-06 17:59:34 -070028# The following value is hardcoded and should be identical to here:
29# https://github.com/opencord/maas/blob/master/config-generator/netconfig.tpl#L29
30fabric_gateway_hwaddr: "a4:23:05:06:01:01"
31
Zack Williams6dc2d452017-12-20 17:50:49 -070032# management network configuration
Zack Williams2f5f2bd2017-12-01 15:04:22 -070033management_net_cidr: "10.1.0.0/24"
Zack Williamsb61ca262018-01-29 17:01:21 -070034management_net_bridge: "mgmtbridge"
Zack Williams2f5f2bd2017-12-01 15:04:22 -070035
Zack Williams6dc2d452017-12-20 17:50:49 -070036dns_servers:
37 - "{{ management_net_cidr | ipaddr('1') | ipaddr('address') }}"
38
39# VTN MANAGEMENT_HOST network
40use_vtn_net_management_host: False
41vtn_net_management_host_cidr: "{{ management_net_cidr }}"
42vtn_net_management_host_hwaddr_prefix: "06A6"
43
44# VTN PUBLIC network, used with fabric
45use_vtn_net_fabric: False
Zack Williams6dc2d452017-12-20 17:50:49 -070046vtn_net_public_cidr: "10.6.1.0/24"
47vtn_net_public_hwaddr_prefix: "0242"
48
49# VSG and public address pools
50use_addresspool_vsg: False
51addresspool_vsg_cidr: "10.7.1.0/24"
52addresspool_vsg_hwaddr_prefix: "0ACA"
53
54use_addresspool_public: False
55addresspool_public_cidr: "10.8.1.0/24"
56addresspool_public_hwaddr_prefix: "0EFE"
57