blob: 336db57e0aea6b2265f170a99b15a812f120d385 [file] [log] [blame]
Bhavesh72ead492018-07-19 16:29:18 +05301<!--
2~ Copyright 2018-present Open Networking Foundation
3~
4~ Licensed under the Apache License, Version 2.0 (the "License");
5~ you may not use this file except in compliance with the License.
6~ You may obtain a copy of the License at
7~
8~ http://www.apache.org/licenses/LICENSE-2.0
9~
10~ Unless required by applicable law or agreed to in writing, software
11~ distributed under the License is distributed on an "AS IS" BASIS,
12~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13~ See the License for the specific language governing permissions and
14~ limitations under the License.
15-->
16<div id="flow-details-panel" class="floatpanel" [@flowDetailsState]="flowId!=='' && !closed">
17 <div class="container">
18 <div class="top">
19 <div class="close-btn">
20 <onos-icon class="close-btn" classes="active-close" iconId="close" iconSize="20" (click)="close()"></onos-icon>
21 </div>
22 <div class="flow-icon">
23 <onos-icon classes="details-icon" iconId="flowTable" [iconSize]="42"></onos-icon>
24 </div>
25 <h2>{{ flowId }}</h2>
26 <div class="scroll">
27 <div class="top-content">
28 <table>
29 <tbody>
30 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010031 <td class="label">{{ lionFn('flowId') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053032 <td class="value">{{ flowId }}</td>
33 </tr>
34 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010035 <td class="label">{{ lionFn('state') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053036 <td class="value">{{ detailsData.state }}</td>
37 </tr>
38 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010039 <td class="label">{{ lionFn('bytes') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053040 <td class="value">{{ detailsData.bytes }}</td>
41 </tr>
42 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010043 <td class="label">{{ lionFn('packets') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053044 <td class="value">{{ detailsData.packets }}</td>
45 </tr>
46 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010047 <td class="label">{{ lionFn('duration') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053048 <td class="value">{{ detailsData.duration }}</td>
49 </tr>
50 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010051 <td class="label">{{ lionFn('priority') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053052 <td class="value">{{ detailsData.priority }}</td>
53 </tr>
54 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010055 <td class="label">{{ lionFn('tableName') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053056 <td class="value">{{ detailsData.tableName }}</td>
57 </tr>
58 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010059 <td class="label">{{ lionFn('appName') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053060 <td class="value">{{ detailsData.appName }}</td>
61 </tr>
62 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010063 <td class="label">{{ lionFn('appId') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053064 <td class="value">{{ detailsData.appId }}</td>
65 </tr>
66 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010067 <td class="label">{{ lionFn('groupId') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053068 <td class="value">{{ detailsData.groupId }}</td>
69 </tr>
70 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010071 <td class="label">{{ lionFn('idleTimeout') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053072 <td class="value">{{ detailsData.idleTimeout }}</td>
73 </tr>
74 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010075 <td class="label">{{ lionFn('hardTimeout') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053076 <td class="value">{{ detailsData.hardTimeout }}</td>
77 </tr>
78 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010079 <td class="label">{{ lionFn('permanent') }}</td>
Bhavesh72ead492018-07-19 16:29:18 +053080 <td class="value">{{ detailsData.permanent }}</td>
81 </tr>
82 </tbody>
83 </table>
84 </div>
85 <hr>
86 <h3>{{ lionFn('selector') }}</h3>
87 <div class="top-content">
88 <table>
89 <tbody>
90 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +010091 <td class="label">ETH_TYPE</td>
Bhavesh72ead492018-07-19 16:29:18 +053092 <td class="value">{{ detailsData.selector }}</td>
93 </tr>
94 </tbody>
95 </table>
96 </div>
97 <hr>
98 <h3>{{ lionFn('treatment') }}</h3>
99 <div class="top-content">
100 <table>
101 <tbody>
102 <tr>
Sean Condon8a8bc4b2020-05-21 16:14:54 +0100103 <td class="label">[imm]OUTPUT</td>
Bhavesh72ead492018-07-19 16:29:18 +0530104 <td class="value">{{ immed(detailsData.treatment) }}</td>
105 </tr>
106 <tr>
107 <td class="label">Clear deferred :</td>
108 <td class="value">{{ clearDef(detailsData.treatment) }}</td>
109 </tr>
110 </tbody>
111 </table>
112 </div>
113 </div>
114 </div>
115 </div>
116</div>