1 # Copyright (c) 2016 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.
24 xe0: # logical name from topology.yaml and vnfd.yaml
28 local_ip: "152.16.100.20"
29 netmask: "255.255.255.0"
30 local_mac: "90:e2:ba:77:ce:68"
31 xe1: # logical name from topology.yaml and vnfd.yaml
35 local_ip: "152.16.100.21"
36 netmask: "255.255.255.0"
37 local_mac: "90:e2:ba:77:ce:69"
52 phy_ports: # Physical ports to configure ovs
56 - ovs-ofctl add-flow br0 in_port=1,action=output:3
57 - ovs-ofctl add-flow br0 in_port=3,action=output:1
58 - ovs-ofctl add-flow br0 in_port=4,action=output:2
59 - ovs-ofctl add-flow br0 in_port=2,action=output:4
60 phy_driver: i40e # kernel driver
61 images: "/var/lib/libvirt/images/ubuntu1.img"
72 xe0: # logical name from topology.yaml and vnfd.yaml
76 local_ip: "152.16.100.19"
77 netmask: "255.255.255.0"
78 local_mac: "00:00:00:00:00:03"
80 xe1: # logical name from topology.yaml and vnfd.yaml
84 local_ip: "152.16.40.19"
85 netmask: "255.255.255.0"
86 local_mac: "00:00:00:00:00:04"
88 - network: "152.16.100.20"
89 netmask: "255.255.255.0"
90 gateway: "152.16.100.20"
92 - network: "152.16.40.20"
93 netmask: "255.255.255.0"
94 gateway: "152.16.40.20"
97 - network: "0064:ff9b:0:0:0:0:9810:6414"
99 gateway: "0064:ff9b:0:0:0:0:9810:6414"
101 - network: "0064:ff9b:0:0:0:0:9810:2814"
103 gateway: "0064:ff9b:0:0:0:0:9810:2814"