<html>
  <head>
    <meta charset="utf-8">
    <!-- Bootstrap core CSS -->
    <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet">
    <link href="../../js/default.css" rel="stylesheet">
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js"></script>
    <script type="text/javascript" src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.4/js/bootstrap.min.js"></script>
    <script type="text/javascript" src="http://d3js.org/d3.v2.min.js"></script>
    <script type="text/javascript" src="../../js/gauge.js"></script>
    <script type="text/javascript" src="../../js/trend.js"></script>
    <script>
    function onDocumentReady() {
    	// Gauge management
        var gaugeScenario1 = gauge('#gaugeScenario1');var gaugeScenario2 = gauge('#gaugeScenario2');var gaugeScenario3 = gauge('#gaugeScenario3');var gaugeScenario4 = gauge('#gaugeScenario4');var gaugeScenario5 = gauge('#gaugeScenario5');var gaugeScenario6 = gauge('#gaugeScenario6');

    	// assign success rate to the gauge
    	function updateReadings() {
    	    gaugeScenario1.update(83.3333333333);gaugeScenario2.update(10.0);gaugeScenario3.update(84.8484848485);gaugeScenario4.update(84.8484848485);gaugeScenario5.update(96.6666666667);gaugeScenario6.update(96.6666666667);
    	}
    	updateReadings();
        }

        // trend line management
        d3.csv("./scenario_history.txt", function(data) {
       // ***************************************
       // Create the trend line
      // for scenario os-odl_l3-nofeature-ha
       // Filter results
        var trend1 = data.filter(function(row) {
    	     return row["scenario"]=="os-odl_l3-nofeature-ha" && row["installer"]=="compass";
    	})
       // Parse the date
        trend1.forEach(function(d) {
    	    d.date = parseDate(d.date);
    	    d.score = +d.score
        });
        // Draw the trend line
        var mytrend = trend("#trend_svg1",trend1)
        // ****************************************// for scenario os-ocl-nofeature-ha
       // Filter results
        var trend2 = data.filter(function(row) {
    	     return row["scenario"]=="os-ocl-nofeature-ha" && row["installer"]=="compass";
    	})
       // Parse the date
        trend2.forEach(function(d) {
    	    d.date = parseDate(d.date);
    	    d.score = +d.score
        });
        // Draw the trend line
        var mytrend = trend("#trend_svg2",trend2)
        // ****************************************// for scenario os-onos-nofeature-ha
       // Filter results
        var trend3 = data.filter(function(row) {
    	     return row["scenario"]=="os-onos-nofeature-ha" && row["installer"]=="compass";
    	})
       // Parse the date
        trend3.forEach(function(d) {
    	    d.date = parseDate(d.date);
    	    d.score = +d.score
        });
        // Draw the trend line
        var mytrend = trend("#trend_svg3",trend3)
        // ****************************************// for scenario os-odl_l2-nofeature-ha
       // Filter results
        var trend4 = data.filter(function(row) {
    	     return row["scenario"]=="os-odl_l2-nofeature-ha" && row["installer"]=="compass";
    	})
       // Parse the date
        trend4.forEach(function(d) {
    	    d.date = parseDate(d.date);
    	    d.score = +d.score
        });
        // Draw the trend line
        var mytrend = trend("#trend_svg4",trend4)
        // ****************************************// for scenario os-nosdn-openo-ha
       // Filter results
        var trend5 = data.filter(function(row) {
    	     return row["scenario"]=="os-nosdn-openo-ha" && row["installer"]=="compass";
    	})
       // Parse the date
        trend5.forEach(function(d) {
    	    d.date = parseDate(d.date);
    	    d.score = +d.score
        });
        // Draw the trend line
        var mytrend = trend("#trend_svg5",trend5)
        // ****************************************// for scenario os-nosdn-nofeature-ha
       // Filter results
        var trend6 = data.filter(function(row) {
    	     return row["scenario"]=="os-nosdn-nofeature-ha" && row["installer"]=="compass";
    	})
       // Parse the date
        trend6.forEach(function(d) {
    	    d.date = parseDate(d.date);
    	    d.score = +d.score
        });
        // Draw the trend line
        var mytrend = trend("#trend_svg6",trend6)
        // ****************************************
    });
    if ( !window.isLoaded ) {
        window.addEventListener("load", function() {
    			onDocumentReady();
        }, false);
    } else {
    	onDocumentReady();
    }
</script>
<script type="text/javascript">
$(document).ready(function (){
    $(".btn-more").click(function() {
    	$(this).hide();
    	$(this).parent().find(".panel-default").show();
    });
})
</script>

  </head>
    <body>
    <div class="container">
      <div class="masthead">
        <h3 class="text-muted">Functest status page (danube, 2017-05-05 01:45)</h3>
        <nav>
          <ul class="nav nav-justified">
            <li class="active"><a href="http://testresults.opnfv.org/reporting/index.html">Home</a></li>
            <li><a href="apex.html">Apex</a></li>
            <li><a href="compass.html">Compass</a></li>
            <li><a href="fuel.html">Fuel</a></li>
            <li><a href="joid.html">Joid</a></li>
          </ul>
        </nav>
      </div>
<div class="row">
    <div class="col-md-1"></div>
    <div class="col-md-10">
        <div class="page-header">
            <h2>compass</h2>
        </div>

        <div class="scenario-overview">
            <div class="panel-heading"><h4><b>List of last scenarios (danube) run over the last 10 days </b></h4></div>
                <table class="table">
                    <tr>
                        <th width="40%">Scenario</th>
                        <th width="20%">Status</th>
                        <th width="20%">Trend</th>
                        <th width="10%">Score</th>
                        <th width="10%">Iteration</th>
                    </tr>
                        <tr class="tr-ok">
                                <td><a href=https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-danube/217/console>os-odl_l3-nofeature-ha</a></td>
                                <td><div id="gaugeScenario1"></div></td>
                                <td><div id="trend_svg1"></div></td>
                                <td>25/30</td>
                                <td>18</td>
                            </tr><tr class="tr-ok">
                                <td><a href=https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-danube/222/console>os-ocl-nofeature-ha</a></td>
                                <td><div id="gaugeScenario2"></div></td>
                                <td><div id="trend_svg2"></div></td>
                                <td>3/30</td>
                                <td>7</td>
                            </tr><tr class="tr-ok">
                                <td><a href=https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-danube/213/console>os-onos-nofeature-ha</a></td>
                                <td><div id="gaugeScenario3"></div></td>
                                <td><div id="trend_svg3"></div></td>
                                <td>28/33</td>
                                <td>16</td>
                            </tr><tr class="tr-ok">
                                <td><a href=https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-danube/218/console>os-odl_l2-nofeature-ha</a></td>
                                <td><div id="gaugeScenario4"></div></td>
                                <td><div id="trend_svg4"></div></td>
                                <td>28/33</td>
                                <td>18</td>
                            </tr><tr class="tr-ok">
                                <td><a href=https://build.opnfv.org/ci/view/functest/job/functest-compass-virtual-daily-danube/212/console>os-nosdn-openo-ha</a></td>
                                <td><div id="gaugeScenario5"></div></td>
                                <td><div id="trend_svg5"></div></td>
                                <td>29/30</td>
                                <td>7</td>
                            </tr><tr class="tr-ok">
                                <td><a href=https://build.opnfv.org/ci/view/functest/job/functest-compass-baremetal-daily-danube/224/console>os-nosdn-nofeature-ha</a></td>
                                <td><div id="gaugeScenario6"></div></td>
                                <td><div id="trend_svg6"></div></td>
                                <td>29/30</td>
                                <td>18</td>
                            </tr>
                        </table>
        </div>


        <div class="scenario-part">
            <div class="page-header">
                <h3><span class="glyphicon glyphicon-chevron-right"> <b>os-odl_l3-nofeature-ha</b></h3>
            </div>
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <span class="panel-header-item">
                        </span>
                    </div>
                    <table class="table">
                        <tr>
                            <th>
                            Health (connection)

                             </th><th>
                            Health (api)

                             </th><th>
                            Health (dhcp)

                             </th><th>
                            vPing (userdata)

                             </th><th>
                            Tempest (smoke)

                             </th><th>
                            Rally (smoke)

                             </th><th>
                            Refstack

                             </th><th>
                            ODL

                             </th><th>
                            SNAPS

                             </th><th>
                            Domino

                             </th>
                        </tr>
                        <tr class="tr-weather-weather">
                            <td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td>
                        </tr>
                    </table>
                </div>
        </div><div class="scenario-part">
            <div class="page-header">
                <h3><span class="glyphicon glyphicon-chevron-right"> <b>os-ocl-nofeature-ha</b></h3>
            </div>
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <span class="panel-header-item">
                        </span>
                    </div>
                    <table class="table">
                        <tr>
                            <th>
                            Health (connection)

                             </th><th>
                            Health (api)

                             </th><th>
                            Health (dhcp)

                             </th><th>
                            vPing (ssh)

                             </th><th>
                            vPing (userdata)

                             </th><th>
                            Tempest (smoke)

                             </th><th>
                            Rally (smoke)

                             </th><th>
                            Refstack

                             </th><th>
                            SNAPS

                             </th><th>
                            Domino

                             </th>
                        </tr>
                        <tr class="tr-weather-weather">
                            <td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-storm.png"></td>
                        </tr>
                    </table>
                </div>
        </div><div class="scenario-part">
            <div class="page-header">
                <h3><span class="glyphicon glyphicon-chevron-right"> <b>os-onos-nofeature-ha</b></h3>
            </div>
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <span class="panel-header-item">
                        </span>
                    </div>
                    <table class="table">
                        <tr>
                            <th>
                            Health (connection)

                             </th><th>
                            Health (api)

                             </th><th>
                            Health (dhcp)

                             </th><th>
                            vPing (ssh)

                             </th><th>
                            vPing (userdata)

                             </th><th>
                            Tempest (smoke)

                             </th><th>
                            Rally (smoke)

                             </th><th>
                            Refstack

                             </th><th>
                            ONOS

                             </th><th>
                            SNAPS

                             </th><th>
                            Domino

                             </th>
                        </tr>
                        <tr class="tr-weather-weather">
                            <td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-storm.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td>
                        </tr>
                    </table>
                </div>
        </div><div class="scenario-part">
            <div class="page-header">
                <h3><span class="glyphicon glyphicon-chevron-right"> <b>os-odl_l2-nofeature-ha</b></h3>
            </div>
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <span class="panel-header-item">
                        </span>
                    </div>
                    <table class="table">
                        <tr>
                            <th>
                            Health (connection)

                             </th><th>
                            Health (api)

                             </th><th>
                            Health (dhcp)

                             </th><th>
                            vPing (ssh)

                             </th><th>
                            vPing (userdata)

                             </th><th>
                            Tempest (smoke)

                             </th><th>
                            Rally (smoke)

                             </th><th>
                            Refstack

                             </th><th>
                            ODL

                             </th><th>
                            SNAPS

                             </th><th>
                            Domino

                             </th>
                        </tr>
                        <tr class="tr-weather-weather">
                            <td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-overcast.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td>
                        </tr>
                    </table>
                </div>
        </div><div class="scenario-part">
            <div class="page-header">
                <h3><span class="glyphicon glyphicon-chevron-right"> <b>os-nosdn-openo-ha</b></h3>
            </div>
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <span class="panel-header-item">
                        </span>
                    </div>
                    <table class="table">
                        <tr>
                            <th>
                            Health (connection)

                             </th><th>
                            Health (api)

                             </th><th>
                            Health (dhcp)

                             </th><th>
                            vPing (ssh)

                             </th><th>
                            vPing (userdata)

                             </th><th>
                            Tempest (smoke)

                             </th><th>
                            Rally (smoke)

                             </th><th>
                            Refstack

                             </th><th>
                            SNAPS

                             </th><th>
                            Domino

                             </th>
                        </tr>
                        <tr class="tr-weather-weather">
                            <td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td>
                        </tr>
                    </table>
                </div>
        </div><div class="scenario-part">
            <div class="page-header">
                <h3><span class="glyphicon glyphicon-chevron-right"> <b>os-nosdn-nofeature-ha</b></h3>
            </div>
                    <div class="panel panel-default">
                    <div class="panel-heading">
                        <span class="panel-header-item">
                        </span>
                    </div>
                    <table class="table">
                        <tr>
                            <th>
                            Health (connection)

                             </th><th>
                            Health (api)

                             </th><th>
                            Health (dhcp)

                             </th><th>
                            vPing (ssh)

                             </th><th>
                            vPing (userdata)

                             </th><th>
                            Tempest (smoke)

                             </th><th>
                            Rally (smoke)

                             </th><th>
                            Refstack

                             </th><th>
                            SNAPS

                             </th><th>
                            Domino

                             </th>
                        </tr>
                        <tr class="tr-weather-weather">
                            <td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-few-clouds.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td><td><img src="../../img/weather-clear.png"></td>
                        </tr>
                    </table>
                </div>
        </div>
    see <a href="https://wiki.opnfv.org/pages/viewpage.action?pageId=6828617">Functest scoring wiki page</a> for details on scenario scoring
     <div> <br>
    <a href="./status-compass.pdf" class="myButtonPdf">Export to PDF</a>   <a href="./scenario_history_compass.txt" class="myButtonCSV">Export to CSV</a>
    </div>
    </div>
    <div class="col-md-1"></div>
</div>