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"
84 phy_ports: # Physical ports to configure sriov
88 - ovs-ofctl add-flow br0 in_port=1,action=output:3
89 - ovs-ofctl add-flow br0 in_port=3,action=output:1
90 - ovs-ofctl add-flow br0 in_port=4,action=output:2
91 - ovs-ofctl add-flow br0 in_port=2,action=output:4
92 phy_driver: i40e # kernel driver
93 images: "/var/lib/libvirt/images/ubuntu.qcow2"
103 xe0: # logical name from topology.yaml and vnfd.yaml
107 local_ip: "152.16.100.19"
108 netmask: "255.255.255.0"
109 local_mac: "00:00:00:00:00:05"
111 xe1: # logical name from topology.yaml and vnfd.yaml
115 local_ip: "152.16.40.19"
116 netmask: "255.255.255.0"
117 local_mac: "00:00:00:00:00:06"
119 - network: "152.16.100.20"
120 netmask: "255.255.255.0"
121 gateway: "152.16.100.20"
123 - network: "152.16.40.20"
124 netmask: "255.255.255.0"
125 gateway: "152.16.40.20"
128 - network: "0064:ff9b:0:0:0:0:9810:6414"
130 gateway: "0064:ff9b:0:0:0:0:9810:6414"
132 - network: "0064:ff9b:0:0:0:0:9810:2814"
134 gateway: "0064:ff9b:0:0:0:0:9810:2814"