1 # Copyright (c) 2016-2017 Intel Corporation
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
7 # http://www.apache.org/licenses/LICENSE-2.0
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.
16 # Sample config file about the POD information, including the
17 # name/IP/user/ssh key of Bare Metal and Controllers/Computes
19 # The options of this config file include:
20 # name: the name of this node
21 # role: node's role, support role: Master/Controller/Comupte/BareMetal
22 # ip: the node's IP address
23 # user: the username for login
24 # key_filename:the path of the private key file for login
34 xe0: # logical name from topology.yaml and vnfd.yaml
38 local_ip: "152.16.100.20"
39 netmask: "255.255.255.0"
40 local_mac: "00:00:00:00:00:01"
41 xe1: # logical name from topology.yaml and vnfd.yaml
45 local_ip: "152.16.100.21"
46 netmask: "255.255.255.0"
47 local_mac: "00:00:00:00:00:02"
61 phy_ports: # Physical ports to configure sriov
65 - ovs-ofctl add-flow br0 in_port=1,action=output:3
66 - ovs-ofctl add-flow br0 in_port=3,action=output:1
67 - ovs-ofctl add-flow br0 in_port=4,action=output:2
68 - ovs-ofctl add-flow br0 in_port=2,action=output:4
69 phy_driver: i40e # kernel driver
70 images: "/var/lib/libvirt/images/ubuntu.qcow2"
80 xe0: # logical name from topology.yaml and vnfd.yaml
84 local_ip: "152.16.100.19"
85 netmask: "255.255.255.0"
86 local_mac: "00:00:00:00:00:05"
88 xe1: # logical name from topology.yaml and vnfd.yaml
92 local_ip: "152.16.40.19"
93 netmask: "255.255.255.0"
94 local_mac: "00:00:00:00:00:06"
96 - network: "152.16.100.20"
97 netmask: "255.255.255.0"
98 gateway: "152.16.100.20"
100 - network: "152.16.40.20"
101 netmask: "255.255.255.0"
102 gateway: "152.16.40.20"
105 - network: "0064:ff9b:0:0:0:0:9810:6414"
107 gateway: "0064:ff9b:0:0:0:0:9810:6414"
109 - network: "0064:ff9b:0:0:0:0:9810:2814"
111 gateway: "0064:ff9b:0:0:0:0:9810:2814"