summaryrefslogtreecommitdiffstats
path: root/framework/src/onos/web/gui/src/main/webapp/app/view/processor
diff options
context:
space:
mode:
Diffstat (limited to 'framework/src/onos/web/gui/src/main/webapp/app/view/processor')
-rw-r--r--framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.css49
-rw-r--r--framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.html63
-rw-r--r--framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.js58
3 files changed, 0 insertions, 170 deletions
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.css b/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.css
deleted file mode 100644
index 12cf6377..00000000
--- a/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.css
+++ /dev/null
@@ -1,49 +0,0 @@
-/*
- * Copyright 2015 Open Networking Laboratory
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- ONOS GUI -- Processor View -- CSS file
- */
-
-#ov-processor h2 {
- display: inline-block;
-}
-
-#ov-processor div.ctrl-btns {
- width: 40px;
-}
-
-.light #ov-processor .current-view use {
- fill: white;
-}
-.dark #ov-processor .current-view use {
- fill: #304860;
-}
-
-.light #ov-processor .current-view rect {
- fill: deepskyblue;
-}
-.dark #ov-processor .current-view rect {
- fill: #eee;
-}
-
-#ov-processor td.number {
- text-align: right;
-}
-
-#ov-processor tr.no-data td {
- text-align: center;
-}
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.html b/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.html
deleted file mode 100644
index 1c615041..00000000
--- a/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.html
+++ /dev/null
@@ -1,63 +0,0 @@
-<!-- processor partial HTML -->
-<div id="ov-processor">
- <div class="tabular-header">
- <h2>
- Packet Processors ({{tableData.length}} Processors total)
- </h2>
- <div class="ctrl-btns">
- <div class="refresh" ng-class="{active: autoRefresh}"
- icon icon-size="36" icon-id="refresh"
- tooltip tt-msg="autoRefreshTip"
- ng-click="toggleRefresh()"></div>
- <!--
- <div class="separator"></div>
-
- <div class="current-view"
- icon icon-id="processorTable" icon-size="36"></div>
-
- <div class="active"
- icon icon-id="requestTable" icon-size="36"git sta
- tooltip tt-msg="requestTip"
- ng-click="nav('request')"></div>
- -->
- </div>
- </div>
-
- <div class="summary-list" onos-table-resize>
- <div ng-show="loading" class="loading-wheel"
- icon icon-id="loading" icon-size="75"></div>
-
- <div class="table-header" onos-sortable-header>
- <table>
- <tr>
- <td class="number" colId="priority" sortable col-width="80px">Priority </td>
- <td colId="type" sortable col-width="80px">Type </td>
- <td colId="processor" sortable col-width="500px">Class </td>
- <td class="number" colId="packets" sortable col-width="100px">Packets </td>
- <td class="number" colId="avgMillis" sortable col-width="100px">Average (ms) </td>
- </tr>
- </table>
- </div>
-
- <div class="table-body">
- <table onos-flash-changes id-prop="id">
- <tr ng-if="!tableData.length" class="no-data">
- <td colspan="5">
- No Processors found
- </td>
- </tr>
-
- <tr ng-repeat="processor in tableData track by $index"
- ng-repeat-complete row-id="{{processor.id}}">
- <td class="number">{{processor.priority}}</td>
- <td>{{processor.type}}</td>
- <td>{{processor.processor}}</td>
- <td class="number">{{processor.packets}}</td>
- <td class="number">{{processor.avgMillis}}</td>
- </tr>
- </table>
- </div>
-
- </div>
-
-</div>
diff --git a/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.js b/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.js
deleted file mode 100644
index 89d717b6..00000000
--- a/framework/src/onos/web/gui/src/main/webapp/app/view/processor/processor.js
+++ /dev/null
@@ -1,58 +0,0 @@
-/*
- * Copyright 2015 Open Networking Laboratory
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-/*
- ONOS GUI -- Packet Processor View Module
- */
-
-(function () {
- 'use strict';
-
- // injected references
- var $log, $scope, $location, fs, tbs, ns;
-
- angular.module('ovProcessor', [])
- .controller('OvProcessorCtrl',
- ['$log', '$scope', '$location',
- 'FnService', 'TableBuilderService', 'NavService',
-
- function (_$log_, _$scope_, _$location_, _fs_, _tbs_, _ns_) {
- var params;
- $log = _$log_;
- $scope = _$scope_;
- $location = _$location_;
- fs = _fs_;
- tbs = _tbs_;
- ns = _ns_;
- $scope.requestTip = 'Show packet requests';
-
- params = $location.search();
-
- tbs.buildTable({
- scope: $scope,
- tag: 'processor',
- query: params
- });
-
- $scope.nav = function (path) {
- if ($scope.devId) {
- ns.navTo(path);
- }
- };
-
- $log.log('OvProcessorCtrl has been created');
- }]);
-}());