summaryrefslogtreecommitdiffstats
path: root/dashboard
AgeCommit message (Expand)AuthorFilesLines
2017-01-11dovetail tool: switch logging to proper usageMatthewLi3-6/+6
2016-12-21dovetail tool: flake8 support in toxMatthewLi1-0/+1
2016-11-20Backend rest api mechanismLeo Wang18-0/+1665
'>52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69
##############################################################################
# Copyright (c) 2015 Huawei Technologies Co.,Ltd and others.
#
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Apache License, Version 2.0
# which accompanies this distribution, and is available at
# http://www.apache.org/licenses/LICENSE-2.0
##############################################################################
---
# Sample config file about the POD information, including the
# name/IP/user/ssh key of Bare Metal and Controllers/Computes
#
# The options of this config file include:
# name: the name of this node
# role: node's role, support role: Master/Controller/Comupte/BareMetal
# ip: the node's IP address
# user: the username for login
# key_filename:the path of the private key file for login

nodes:
-
    name: trafficgen_1
    role: TrafficGen
    ip: 10.10.10.10
    auth_type: ssh_key
    user: root
    ssh_port: 22
    key_filename: /root/.ssh/id_rsa
    interfaces:
        xe0:  # logical name from topology.yaml and vnfd.yaml
            vpci:      "0000:03:00.0"
            driver:    ixgbe
            dpdk_port_num: 0
            local_ip: "152.16.100.20"
            netmask:   "255.255.255.0"
            local_mac:   "90:e2:ba:77:ce:68"
        xe1:  # logical name from topology.yaml and vnfd.yaml
            vpci:      "0000:03:00.1"
            driver:    ixgbe
            dpdk_port_num: 1
            local_ip: "152.16.100.21"
            netmask:   "255.255.255.0"
            local_mac:   "90:e2:ba:77:ce:69"
-
    name: ovs
    role: Ovsdpdk
    ip: 10.223.197.222
    auth_type: ssh_key
    user: root
    ssh_port: 22
    key_filename: /root/.ssh/id_rsa
    vpath: "/usr/local/"
    vports:
     - dpdkvhostuser0
     - dpdkvhostuser1
    vports_mac:
     - "00:00:00:00:00:03"
     - "00:00:00:00:00:04"
    phy_ports: # Physical ports to configure ovs
     - "0000:06:00.0"
     - "0000:06:00.1"
    flow:
     - ovs-ofctl add-flow br0 in_port=1,action=output:3
     - ovs-ofctl add-flow br0 in_port=3,action=output:1
     - ovs-ofctl add-flow br0 in_port=4,action=output:2
     - ovs-ofctl add-flow br0 in_port=2,action=output:4
    phy_driver:    i40e # kernel driver
    images: "/var/lib/libvirt/images/ubuntu1.img"