summaryrefslogtreecommitdiffstats
path: root/VNF_Catalogue/README.md
blob: 91179f5147ffb2cf03b21f3d75f975a646a82c78 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#VNF_Catalogue Nodejs + Jade + MySql server


## Quickstart

First install docker and docker-compose. This multicontainer app uses
docker-compose to organize the vnf_catalogue web_app

The use
    ```docker-compose up```

set time zone(optional)
        Set same timezone in both nodejs server and mysql server. Something
        similar to below can be used:
        ``` SET GLOBAL time_zone = '+00:00'; ```


The server would be accessible at ```ip_address:3000```
ight .gs { font-weight: bold } /* Generic.Strong */ .highlight .gu { color: #666666 } /* Generic.Subheading */ .highlight .gt { color: #aa0000 } /* Generic.Traceback */ .highlight .kc { color: #008800; font-weight: bold } /* Keyword.Constant */ .highlight .kd { color: #008800; font-weight: bold } /* Keyword.Declaration */ .highlight .kn { color: #008800; font-weight: bold } /* Keyword.Namespace */ .highlight .kp { color: #008800 } /* Keyword.Pseudo */ .highlight .kr { color: #008800; font-weight: bold } /* Keyword.Reserved */ .highlight .kt { color: #888888; font-weight: bold } /* Keyword.Type */ .highlight .m { color: #0000DD; font-weight: bold } /* Literal.Number */ .highlight .s { color: #dd2200; background-color: #fff0f0 } /* Literal.String */ .highlight .na { color: #336699 } /* Name.Attribute */ .highlight .nb { color: #003388 } /* Name.Builtin */ .highlight .nc { color: #bb0066; font-weight: bold } /* Name.Class */ .highlight .no { color: #003366; font-weight: bold } /* Name.Constant */ .highlight .nd { color: #555555 } /* Name.Decorator */ .highlight .ne { color: #bb0066; font-weight: bold } /* Name.Exception */ .highlight .nf { color: #0066bb; font-weight: bold } /* Name.Function */ .highlight .nl { color: #336699; font-style: italic } /* Name.Label */ .highlight .nn { color: #bb0066; font-weight: bold } /* Name.Namespace */ .highlight .py { color: #336699; font-weight: bold } /* Name.Property */ .highlight .nt { color: #bb0066; font-weight: bold } /* Name.Tag */ .highlight .nv { color: #336699 } /* Name.Variable */ .highlight .ow { color: #008800 } /* Operator.Word */ .highlight .w { color: #bbbbbb } /* Text.Whitespace */ .highlight .mb { color: #0000DD; font-weight: bold } /* Literal.Number.Bin */ .highlight .mf { color: #0000DD; font-weight: bold } /* Literal.Number.Float */ .highlight .mh { color: #0000DD; font-weight: bold } /* Literal.Number.Hex */ .highlight .mi { color: #0000DD; font-weight: bold } /* Literal.Number.Integer */ .highlight .mo { color: #0000DD; font-weight: bold } /* Literal.Number.Oct */ .highlight .sa { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Affix */ .highlight .sb { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Backtick */ .highlight .sc { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Char */ .highlight .dl { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Delimiter */ .highlight .sd { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Doc */ .highlight .s2 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Double */ .highlight .se { color: #0044dd; background-color: #fff0f0 } /* Literal.String.Escape */ .highlight .sh { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Heredoc */ .highlight .si { color: #3333bb; background-color: #fff0f0 } /* Literal.String.Interpol */ .highlight .sx { color: #22bb22; background-color: #f0fff0 } /* Literal.String.Other */ .highlight .sr { color: #008800; background-color: #fff0ff } /* Literal.String.Regex */ .highlight .s1 { color: #dd2200; background-color: #fff0f0 } /* Literal.String.Single */ .highlight .ss { color: #aa6600; background-color: #fff0f0 } /* Literal.String.Symbol */ .highlight .bp { color: #003388 } /* Name.Builtin.Pseudo */ .highlight .fm { color: #0066bb; font-weight: bold } /* Name.Function.Magic */ .highlight .vc { color: #336699 } /* Name.Variable.Class */ .highlight .vg { color: #dd7700 } /* Name.Variable.Global */ .highlight .vi { color: #3333bb } /* Name.Variable.Instance */ .highlight .vm { color: #336699 } /* Name.Variable.Magic */ .highlight .il { color: #0000DD; font-weight: bold } /* Literal.Number.Integer.Long */
##############################################################################
# Copyright (c) 2017 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
##############################################################################
---
# os-nosdn-nofeature-ha daily task suite

schema: "yardstick:suite:0.1"

name: "os-nosdn-nofeature-ha"
test_cases_dir: "tests/opnfv/test_cases/"
test_cases:
-
    file_name: opnfv_yardstick_tc002.yaml
-
    file_name: opnfv_yardstick_tc005.yaml
-
    file_name: opnfv_yardstick_tc010.yaml
-
    file_name: opnfv_yardstick_tc011.yaml
-
    file_name: opnfv_yardstick_tc012.yaml
-
    file_name: opnfv_yardstick_tc014.yaml
-
    file_name: opnfv_yardstick_tc037.yaml
-
    file_name: opnfv_yardstick_tc043.yaml
    constraint:
        installer: compass
        pod: huawei-pod1
    task_args:
        huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
        "host": "node4.LF","target": "node5.LF"}'
-
    file_name: opnfv_yardstick_tc019.yaml
    constraint:
        installer: compass,fuel
        pod: huawei-pod2,ericsson-pod1
    task_args:
        huawei-pod2: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
        ericsson-pod1: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc045.yaml
    constraint:
        installer: compass,fuel
        pod: huawei-pod2,ericsson-pod1
    task_args:
        huawei-pod2: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
        ericsson-pod1: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc046.yaml
    constraint:
        installer: fuel
    task_args:
        default: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc047.yaml
    constraint:
        installer: compass,fuel
        pod: huawei-pod2,ericsson-pod1
    task_args:
        huawei-pod2: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
        ericsson-pod1: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc048.yaml
    constraint:
        installer: compass,fuel
        pod: huawei-pod2,ericsson-pod1
    task_args:
        huawei-pod2: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
        ericsson-pod1: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc049.yaml
    constraint:
        installer: fuel
    task_args:
        default: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc050.yaml
    constraint:
        installer: fuel
    task_args:
        default: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc051.yaml
    constraint:
        installer: compass,fuel
        pod: huawei-pod2,ericsson-pod1
    task_args:
        huawei-pod2: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
        ericsson-pod1: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc052.yaml
    constraint:
        installer: fuel
    task_args:
        default: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc053.yaml
    constraint:
        installer: fuel
    task_args:
        default: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml"}'
-
    file_name: opnfv_yardstick_tc055.yaml
    constraint:
        installer: compass
        pod: huawei-pod1
    task_args:
        huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
        "host": "node5.yardstick-TC055"}'
-
    file_name: opnfv_yardstick_tc063.yaml
    constraint:
        installer: compass
        pod: huawei-pod1
    task_args:
        huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
        "host": "node5.yardstick-TC063"}'
-
    file_name: opnfv_yardstick_tc069.yaml
-
    file_name: opnfv_yardstick_tc070.yaml
-
    file_name: opnfv_yardstick_tc071.yaml
-
    file_name: opnfv_yardstick_tc072.yaml
-
    file_name: opnfv_yardstick_tc074.yaml
    constraint:
        installer: compass
        pod: huawei-pod1, huawei-pod2
    task_args:
        huawei-pod1: '{"public_network": "ext-net",
        "StorPerf_ip": "192.168.10.6"}'
        huawei-pod2: '{"public_network": "ext-net",
        "StorPerf_ip": "192.168.11.2"}'
-
    file_name: opnfv_yardstick_tc075.yaml
    constraint:
        installer: compass
        pod: huawei-pod1
    task_args:
        huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml",
        "host": "node1.LF"}'
-
    file_name: opnfv_yardstick_tc027.yaml
    constraint:
        installer: compass,fuel
        pod: huawei-pod1,lf-pod2,ericsson-pod3,ericsson-pod4
    task_args:
        huawei-pod1: '{"file": "etc/yardstick/nodes/compass_sclab_physical/pod.yaml"}'
        lf-pod2: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml", "openrc":"/root/openrc", "external_network":"admin_floating_net"}'
        ericsson-pod3: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml", "openrc":"/root/openrc", "external_network":"admin_floating_net"}'
        ericsson-pod4: '{"file": "etc/yardstick/nodes/fuel_baremetal/pod.yaml", "openrc":"/root/openrc", "external_network":"admin_floating_net"}'