1 ##############################################################################
2 # Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
4 # All rights reserved. This program and the accompanying materials
5 # are made available under the terms of the Apache License, Version 2.0
6 # which accompanies this distribution, and is available at
7 # http://www.apache.org/licenses/LICENSE-2.0
8 ##############################################################################
10 # Sample config file about the POD information, including the
11 # name/IP/user/ssh key of Bare Metal and Controllers/Computes
13 # The options of this config file include:
14 # name: the name of this node
15 # role: node's role, support role: Master/Controller/Comupte/BareMetal
16 # ip: the node's IP address
17 # user: the username for login
18 # key_filename:the path of the private key file for login
28 key_filename: /root/.ssh/id_rsa
30 xe0: # logical name from topology.yaml and vnfd.yaml
34 local_ip: "152.16.100.20"
35 netmask: "255.255.255.0"
36 local_mac: "90:e2:ba:77:ce:68"
37 xe1: # logical name from topology.yaml and vnfd.yaml
41 local_ip: "152.16.100.21"
42 netmask: "255.255.255.0"
43 local_mac: "90:e2:ba:77:ce:69"
51 key_filename: /root/.ssh/id_rsa
59 phy_ports: # Physical ports to configure ovs
63 - ovs-ofctl add-flow br0 in_port=1,action=output:3
64 - ovs-ofctl add-flow br0 in_port=3,action=output:1
65 - ovs-ofctl add-flow br0 in_port=4,action=output:2
66 - ovs-ofctl add-flow br0 in_port=2,action=output:4
67 phy_driver: i40e # kernel driver
68 images: "/var/lib/libvirt/images/ubuntu1.img"